1 |
commit: 4f173f252d4412814cdcc94dfd35c93cfc26d6ff |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 3 06:53:10 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 3 08:40:09 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f173f25 |
7 |
|
8 |
xfce-extra/xfce4-pulseaudio-plugin: Bump to 0.4.4 |
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.4.ebuild | 68 ++++++++++++++++++++++ |
14 |
2 files changed, 69 insertions(+) |
15 |
|
16 |
diff --git a/xfce-extra/xfce4-pulseaudio-plugin/Manifest b/xfce-extra/xfce4-pulseaudio-plugin/Manifest |
17 |
index 52b3c87fead3..f238c0057930 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.3.tar.bz2 431773 BLAKE2B 2c0de4ea0ab9304b737fe4ce570bcd8427f983845fe898dbe7e053a5fe79793223df6882a931b186664d8c95d4c767daf39ba36a98dc58595ba77e8a18c13a6c SHA512 d3214b2b7c35a0a87ea60a5d843f5027d1b09f320d4d24c6bf89a8936de92226223cb4dc5368edf4c0a1aedb3b8796510981eeadee8e836e764569d9284f0efa |
22 |
+DIST xfce4-pulseaudio-plugin-0.4.4.tar.bz2 389978 BLAKE2B 36f990aeac3fb07c19fe421ebe5172bfc5d87b4281d6dc921b7173a0cee70693f9ecfed6675b128bb617d78d4920694aac44d8846bcd1f49d5c4cf415a513074 SHA512 5e7f024be6283523d0a0c0c3e7ba1d632b1521c442d9468980e0811a6b4c7bbcdcaff27999410b83a967d16105f6c09f6e0718719654ccc9f1109066d8964b59 |
23 |
|
24 |
diff --git a/xfce-extra/xfce4-pulseaudio-plugin/xfce4-pulseaudio-plugin-0.4.4.ebuild b/xfce-extra/xfce4-pulseaudio-plugin/xfce4-pulseaudio-plugin-0.4.4.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..e2888ad9c902 |
27 |
--- /dev/null |
28 |
+++ b/xfce-extra/xfce4-pulseaudio-plugin/xfce4-pulseaudio-plugin-0.4.4.ebuild |
29 |
@@ -0,0 +1,68 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
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 ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~x86" |
44 |
+IUSE="+keybinder libnotify wnck" |
45 |
+ |
46 |
+DEPEND=" |
47 |
+ >=dev-libs/glib-2.42.0 |
48 |
+ media-sound/pulseaudio:=[glib] |
49 |
+ >=x11-libs/gtk+-3.20.0:3 |
50 |
+ >=xfce-base/exo-0.11:= |
51 |
+ >=xfce-base/libxfce4ui-4.11.0:=[gtk3(+)] |
52 |
+ >=xfce-base/libxfce4util-4.9.0:= |
53 |
+ >=xfce-base/xfce4-panel-4.11.0:= |
54 |
+ >=xfce-base/xfconf-4.6.0:= |
55 |
+ keybinder? ( dev-libs/keybinder:3 ) |
56 |
+ libnotify? ( x11-libs/libnotify ) |
57 |
+ wnck? ( x11-libs/libwnck:3 ) |
58 |
+" |
59 |
+RDEPEND=" |
60 |
+ ${DEPEND} |
61 |
+" |
62 |
+BDEPEND=" |
63 |
+ dev-util/intltool |
64 |
+ virtual/pkgconfig |
65 |
+" |
66 |
+ |
67 |
+src_configure() { |
68 |
+ local myconf=( |
69 |
+ $(use_enable keybinder) |
70 |
+ $(use_enable libnotify) |
71 |
+ $(use_enable wnck) |
72 |
+ ) |
73 |
+ |
74 |
+ econf "${myconf[@]}" |
75 |
+} |
76 |
+ |
77 |
+src_install() { |
78 |
+ default |
79 |
+ find "${D}" -name '*.la' -delete || die |
80 |
+} |
81 |
+ |
82 |
+pkg_postinst() { |
83 |
+ xdg_icon_cache_update |
84 |
+ |
85 |
+ if ! has_version media-sound/pavucontrol; then |
86 |
+ elog "For the 'audio mixer...' shortcut to work, you need to install" |
87 |
+ elog "an external mixer application. Please either install:" |
88 |
+ elog |
89 |
+ elog " media-sound/pavucontrol" |
90 |
+ elog |
91 |
+ elog "or specify another application to use in the 'Properties' dialog." |
92 |
+ fi |
93 |
+} |
94 |
+ |
95 |
+pkg_postrm() { |
96 |
+ xdg_icon_cache_update |
97 |
+} |