blob: 8a3faff7f1561814a747037f9c5c129650a7eb84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/qastools/qastools-0.17.2.ebuild,v 1.1 2012/05/09 16:17:38 kensington Exp $
EAPI=4
inherit base 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
>=x11-libs/qt-core-4.6:4
>=x11-libs/qt-gui-4.6:4
>=x11-libs/qt-svg-4.6:4"
DEPEND="${RDEPEND}
app-arch/xz-utils"
S=${WORKDIR}/${MY_P}
DOCS="CHANGELOG README TODO"
src_prepare() {
base_src_prepare
local lang
for lang in ${LANGS} ; do
if ! use linguas_${lang} ; then
rm i18n/ts/app_${lang}.ts
fi
done
}
|