blob: aba42cf8acadbeb01ab11633bbec962766b0e7d1 (
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-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
PYTHON_DEPEND="2"
CMAKE_REQUIRED="never"
inherit python 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"
DEPEND="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_pkg_setup
kde4-base_pkg_setup
}
src_prepare() {
python_convert_shebangs -r 2 "${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
}
|