diff options
Diffstat (limited to 'media-sound/qastools/qastools-0.18.1-r1.ebuild')
-rw-r--r-- | media-sound/qastools/qastools-0.18.1-r1.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/media-sound/qastools/qastools-0.18.1-r1.ebuild b/media-sound/qastools/qastools-0.18.1-r1.ebuild new file mode 100644 index 000000000000..e299776ec358 --- /dev/null +++ b/media-sound/qastools/qastools-0.18.1-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PLOCALES="cs de es he ru" +inherit cmake-utils l10n + +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="" + +RDEPEND="media-libs/alsa-lib + >=dev-qt/qtcore-4.6:4 + >=dev-qt/qtgui-4.6:4 + >=dev-qt/qtsvg-4.6:4 + virtual/libudev" +DEPEND="${RDEPEND} + app-arch/xz-utils" + +S=${WORKDIR}/${MY_P} +DOCS=( CHANGELOG README TODO ) + +rm_loc() { + rm i18n/ts/app_${1}.ts || die "removing ${1} locale failed" +} + +src_prepare() { + cmake-utils_src_prepare + l10n_for_each_disabled_locale_do rm_loc +} + +src_configure() { + local mycmakeargs=( -DSKIP_LICENSE_INSTALL=TRUE ) + cmake-utils_src_configure +} |