blob: 16d26d0f198f263330b51e6ad54a3bd6cb474ad9 (
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
52
53
54
55
56
57
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
CMAKE_REQUIRED="never"
inherit python-single-r1 kde4-base
DESCRIPTION="Plasmoid mixer for the Pulseaudio sound server"
HOMEPAGE="http://kde-look.org/content/show.php?content=116676"
SRC_URI="http://kde-look.org/CONTENT/content-files/116676-2012-04-25_${PV}_${PN}.plasmoid -> ${P}.zip"
LICENSE="GPL-3"
SLOT="4"
KEYWORDS="~amd64"
IUSE="debug"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="
${PYTHON_DEPS}
app-arch/unzip
"
RDEPEND="
$(add_kdebase_dep plasma-workspace python)
dev-python/PyQt4[dbus]
dev-python/pyxdg
media-libs/ladspa-sdk
media-plugins/swh-plugins
media-sound/pulseaudio
"
S=${WORKDIR}
DOCS=( Changelog )
pkg_setup() {
python-single-r1_pkg_setup
kde4-base_pkg_setup
}
src_prepare() {
python_fix_shebang "${S}"
sed -e '/^all:/s/build//' -i Makefile || die
sed -e 's|/usr/share/kde4/apps/|/usr/share/apps/|' -i Makefile \
-i org.veromix.pulseaudio.service || die
}
src_install() {
default
insinto /usr/share/apps/${PN}-plasmoid/
doins -r presets
insinto /usr/share/kde4/services/
newins metadata.desktop plasma-widget-veromix.desktop
}
|