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