# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="5" EGIT_REPO_URI="git://github.com/mcallegari/${PN}.git" if [[ ${PV} = 9999* ]]; then GIT_ECLASS="git-2" fi inherit qmake-utils qt4-r2 eutils $GIT_ECLASS DESCRIPTION="QLC+ - Q Light Controller Plus to control DMX interfaces" HOMEPAGE="https://github.com/mcallegari/qlcplus" if [[ ${PV} = 9999* ]]; then SRC_URI="" else SRC_URI="https://github.com/mcallegari/${PN}/archive/QLC+_${PV}.tar.gz" S="${WORKDIR}/${PN}-QLC-_${PV}" fi LICENSE="GPL" SLOT="0" KEYWORDS="" IUSE="debug qt4 qt5" REQUIRED_USE="?? ( qt4 qt5 )" DEPEND="qt4? ( dev-qt/qtgui:4 dev-qt/qttest:4 ) qt5? ( dev-qt/qtgui:5 dev-qt/qttest:5 ) media-libs/alsa-lib dev-libs/glib:2" DOCS="README COPYING TODO" src_configure() { if use qt5; then eqmake5 else eqmake4 fi }