1 |
commit: 3c6257b6542d76045cbd94886e6c9af96aa8306d |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 27 08:21:32 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 27 08:25:05 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c6257b6 |
7 |
|
8 |
xfce-extra/xfce4-pulseaudio-plugin: Bump to 0.3.5 |
9 |
|
10 |
xfce-extra/xfce4-pulseaudio-plugin/Manifest | 1 + |
11 |
.../xfce4-pulseaudio-plugin-0.3.5.ebuild | 62 ++++++++++++++++++++++ |
12 |
2 files changed, 63 insertions(+) |
13 |
|
14 |
diff --git a/xfce-extra/xfce4-pulseaudio-plugin/Manifest b/xfce-extra/xfce4-pulseaudio-plugin/Manifest |
15 |
index 82af06ac8f9..08fe815582f 100644 |
16 |
--- a/xfce-extra/xfce4-pulseaudio-plugin/Manifest |
17 |
+++ b/xfce-extra/xfce4-pulseaudio-plugin/Manifest |
18 |
@@ -1 +1,2 @@ |
19 |
DIST xfce4-pulseaudio-plugin-0.3.4.tar.bz2 400380 BLAKE2B b8cd4df84f3119d90a7671d8217eaeb83025206d9bfdc5aaae2281cd7c9b13ab03fa8a99ff1eb352f2fa01e889bcd3a505b558ce9884c46b1136bc75a6fb22e7 SHA512 2dfa6a4567caeb2f336b1d9e32cedb5f03e363253549810e768bb51746cd1db362ebd0990098e461a71b8206d81ff877291860a3568a288fe2010498ad486c78 |
20 |
+DIST xfce4-pulseaudio-plugin-0.3.5.tar.bz2 390084 BLAKE2B a43ac67d83cfa113a3429c2fd0e2de1879f9fb9856e136606140ce08d0e70b44ec2cd17a588240edab5609ff8735ee05f7da2314f925205c4aff1b8f574eb767 SHA512 6cfef82b7ca0b2301638c2756f71f7ac03d83c92f3dc40fd24896d1e7879dbab2bd828a66dab1c659a5d93dc63bf505d9ef75094c2588cafd85ba66d202434a5 |
21 |
|
22 |
diff --git a/xfce-extra/xfce4-pulseaudio-plugin/xfce4-pulseaudio-plugin-0.3.5.ebuild b/xfce-extra/xfce4-pulseaudio-plugin/xfce4-pulseaudio-plugin-0.3.5.ebuild |
23 |
new file mode 100644 |
24 |
index 00000000000..4dcbd980caa |
25 |
--- /dev/null |
26 |
+++ b/xfce-extra/xfce4-pulseaudio-plugin/xfce4-pulseaudio-plugin-0.3.5.ebuild |
27 |
@@ -0,0 +1,62 @@ |
28 |
+# Copyright 1999-2018 Gentoo Foundation |
29 |
+# Distributed under the terms of the GNU General Public License v2 |
30 |
+ |
31 |
+EAPI=6 |
32 |
+ |
33 |
+inherit gnome2-utils |
34 |
+ |
35 |
+DESCRIPTION="A panel plug-in for PulseAudio volume control" |
36 |
+HOMEPAGE="https://git.xfce.org/panel-plugins/xfce4-pulseaudio-plugin/" |
37 |
+SRC_URI="mirror://xfce/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.bz2" |
38 |
+ |
39 |
+LICENSE="GPL-2" |
40 |
+SLOT="0" |
41 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86" |
42 |
+IUSE="debug keybinder libnotify wnck" |
43 |
+ |
44 |
+RDEPEND=">=dev-libs/glib-2.42.0:= |
45 |
+ media-sound/pulseaudio:= |
46 |
+ >=x11-libs/gtk+-3.20.0:3= |
47 |
+ >=xfce-base/libxfce4ui-4.11.0:=[gtk3(+)] |
48 |
+ >=xfce-base/libxfce4util-4.9.0:= |
49 |
+ >=xfce-base/xfce4-panel-4.11.0:= |
50 |
+ >=xfce-base/xfconf-4.6.0:= |
51 |
+ keybinder? ( dev-libs/keybinder:3= ) |
52 |
+ libnotify? ( x11-libs/libnotify:= ) |
53 |
+ wnck? ( x11-libs/libwnck:3= )" |
54 |
+DEPEND="${RDEPEND} |
55 |
+ dev-util/intltool |
56 |
+ virtual/pkgconfig" |
57 |
+ |
58 |
+src_configure() { |
59 |
+ local myconf=( |
60 |
+ $(use_enable keybinder) |
61 |
+ $(use_enable libnotify) |
62 |
+ $(use_enable wnck) |
63 |
+ ) |
64 |
+ |
65 |
+ econf "${myconf[@]}" |
66 |
+} |
67 |
+ |
68 |
+src_install() { |
69 |
+ default |
70 |
+ |
71 |
+ find "${D}" -name '*.la' -delete || die |
72 |
+} |
73 |
+ |
74 |
+pkg_postinst() { |
75 |
+ gnome2_icon_cache_update |
76 |
+ |
77 |
+ if ! has_version media-sound/pavucontrol; then |
78 |
+ elog "For the 'audio mixer...' shortcut to work, you need to install" |
79 |
+ elog "an external mixer application. Please either install:" |
80 |
+ elog |
81 |
+ elog " media-sound/pavucontrol" |
82 |
+ elog |
83 |
+ elog "or specify another application to use in the 'Properties' dialog." |
84 |
+ fi |
85 |
+} |
86 |
+ |
87 |
+pkg_postrm() { |
88 |
+ gnome2_icon_cache_update |
89 |
+} |