diff options
Diffstat (limited to 'media-sound/qastools/qastools-0.18.1.ebuild')
-rw-r--r-- | media-sound/qastools/qastools-0.18.1.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/media-sound/qastools/qastools-0.18.1.ebuild b/media-sound/qastools/qastools-0.18.1.ebuild new file mode 100644 index 000000000000..d7901efb20a5 --- /dev/null +++ b/media-sound/qastools/qastools-0.18.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/qastools/qastools-0.18.1.ebuild,v 1.1 2015/03/26 12:52:54 yngwin Exp $ + +EAPI=5 + +inherit cmake-utils + +MY_P=${PN}_${PV} + +DESCRIPTION="Qt4 GUI ALSA tools: mixer, configuration browser" +HOMEPAGE="http://xwmw.org/qastools/" +SRC_URI="mirror://sourceforge/${PN}/${PV}/${MY_P}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +LANGS="cs de es ru" +for X in ${LANGS} ; do + IUSE="${IUSE} linguas_${X}" +done + +RDEPEND="media-libs/alsa-lib + >=dev-qt/qtcore-4.6:4 + >=dev-qt/qtgui-4.6:4 + >=dev-qt/qtsvg-4.6:4" +DEPEND="${RDEPEND} + app-arch/xz-utils" + +S=${WORKDIR}/${MY_P} + +DOCS=( CHANGELOG README TODO ) + +src_prepare() { + cmake-utils_src_prepare + + local lang + for lang in ${LANGS} ; do + if ! use linguas_${lang} ; then + rm i18n/ts/app_${lang}.ts + fi + done +} |