blob: 754f247320c30d800ac1ecae5779bd931a10f5d1 (
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
46
47
48
49
50
51
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/xfce-extra/xfce4-mixer/xfce4-mixer-4.4.3.ebuild,v 1.9 2008/12/17 17:40:51 ssuominen Exp $
EAPI=1
inherit eutils xfce44
XFCE_VERSION=4.4.3
xfce44
xfce44_core_package
# Bugs 166167 and 174296. Parallel make is dead in xfce4-mixer.
xfce44_single_make
DESCRIPTION="Volume control application (ALSA or OSS)"
HOMEPAGE="http://www.xfce.org/projects/xfce4-mixer"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="alsa debug nls"
RDEPEND=">=dev-libs/glib-2.6:2
dev-libs/libxml2
>=x11-libs/gtk+-2.6:2
>=xfce-base/xfce-mcs-manager-${XFCE_MASTER_VERSION}
>=xfce-base/xfce4-panel-${XFCE_MASTER_VERSION}
alsa? ( media-libs/alsa-lib )"
DEPEND="${RDEPEND}
dev-util/intltool"
pkg_setup() {
if use alsa; then
XFCE_CONFIG+=" --with-sound=alsa"
fi
XFCE_CONFIG+=" $(use_enable nls)"
}
src_unpack() {
unpack ${A}
cd "${S}"
rm panel-plugin/${PN}.desktop
}
src_install() {
xfce44_src_install
make_desktop_entry ${PN} "Volume Control" ${PN} AudioVideo
}
DOCS="AUTHORS ChangeLog NEWS NOTES README TODO"
|