Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: xfce-extra/xfce4-pulseaudio-plugin/
Date: Sat, 30 Sep 2017 07:27:43
Message-Id: 1506756444.6e971b55de370e19ada47bca12f8d477ef93588c.mgorny@gentoo
1 commit: 6e971b55de370e19ada47bca12f8d477ef93588c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 29 19:32:56 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 30 07:27:24 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e971b55
7
8 xfce-extra/xfce4-pulseaudio-plugin: Bump to 0.3.1
9
10 xfce-extra/xfce4-pulseaudio-plugin/Manifest | 1 +
11 .../xfce4-pulseaudio-plugin-0.3.1.ebuild | 60 ++++++++++++++++++++++
12 2 files changed, 61 insertions(+)
13
14 diff --git a/xfce-extra/xfce4-pulseaudio-plugin/Manifest b/xfce-extra/xfce4-pulseaudio-plugin/Manifest
15 index afa0871f17e..88adc9e2107 100644
16 --- a/xfce-extra/xfce4-pulseaudio-plugin/Manifest
17 +++ b/xfce-extra/xfce4-pulseaudio-plugin/Manifest
18 @@ -1,2 +1,3 @@
19 DIST xfce4-pulseaudio-plugin-0.2.4.tar.bz2 307315 SHA256 8d9330ddf1d44a864a36d566cce4b76d4f859c5984bba7653d7dc39aa24d5c3e SHA512 b53ab48e282a506fc7fe91fa70520f0db32f2f73653a0210681bf7389f13441d5af8f855604b59817b1fe7a3f41e2d4fe52b052ac0c3479f3f4e37b2afedb193 WHIRLPOOL 8763a9422a7519b5603703306d968f9e020c1bd4b304be0d21bd6353c54e8fa979ef68c513d6e1c398ce6857ad88807a7cb7eefc29d6fba4f12a243eb7205e26
20 DIST xfce4-pulseaudio-plugin-0.2.5.tar.bz2 351062 SHA256 087441331240f8fca6cbcc2839251ad7e8d624fed7b4b7b4cd4e6938cb26c0b2 SHA512 e56b9a6b33e5c82b8f665eee60a9b9ebcac3815cd60a2e576dd4c9a5a592fa4adc00c56be9ac5de07e13053455d7236759e468da8eca25a3c4638680f9474194 WHIRLPOOL c8f510ddbcabe9346d01c0dee6ceeb910e656637e4c5ca8a12ac4e3067a71596883a7654b8bfd4efa96404bd16f30180ba99988d0478b2d48504c686f720a520
21 +DIST xfce4-pulseaudio-plugin-0.3.1.tar.bz2 395689 SHA256 61a39f892e5e06723a08f919682362ebaf54792ed1076f5be828d0209a52f482 SHA512 27802df660cfa9be43f10e8314259704bc0045c58d920553eb3eca665f2da35ec9055a616f2ad23f805c30c141b79bdfc955d0f1818db0d62be25d37965d5b09 WHIRLPOOL ec5c3a15c9afdaf2e789af93e6b0aac6ad060ff823be5953335cec25874b37a79ee0651525fcf27f8781b779fd0465e38ce2828393ca73371c16a7cd69ac7d8a
22
23 diff --git a/xfce-extra/xfce4-pulseaudio-plugin/xfce4-pulseaudio-plugin-0.3.1.ebuild b/xfce-extra/xfce4-pulseaudio-plugin/xfce4-pulseaudio-plugin-0.3.1.ebuild
24 new file mode 100644
25 index 00000000000..4369047f01f
26 --- /dev/null
27 +++ b/xfce-extra/xfce4-pulseaudio-plugin/xfce4-pulseaudio-plugin-0.3.1.ebuild
28 @@ -0,0 +1,60 @@
29 +# Copyright 1999-2017 Gentoo Foundation
30 +# Distributed under the terms of the GNU General Public License v2
31 +
32 +EAPI=6
33 +
34 +inherit gnome2-utils
35 +
36 +DESCRIPTION="A panel plug-in for PulseAudio volume control"
37 +HOMEPAGE="https://git.xfce.org/panel-plugins/xfce4-pulseaudio-plugin/"
38 +SRC_URI="mirror://xfce/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.bz2"
39 +
40 +LICENSE="GPL-2"
41 +SLOT="0"
42 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86"
43 +IUSE="debug keybinder libnotify"
44 +
45 +RDEPEND=">=dev-libs/glib-2.42.0:=
46 + media-sound/pulseaudio:=
47 + >=x11-libs/gtk+-3.20.0:3=
48 + >=xfce-base/libxfce4ui-4.11.0:=[gtk3(+)]
49 + >=xfce-base/libxfce4util-4.9.0:=
50 + >=xfce-base/xfce4-panel-4.11.0:=
51 + >=xfce-base/xfconf-4.6.0:=
52 + keybinder? ( dev-libs/keybinder:3= )
53 + libnotify? ( x11-libs/libnotify:= )"
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 + )
63 +
64 + econf "${myconf[@]}"
65 +}
66 +
67 +src_install() {
68 + default
69 +
70 + find "${D}" -name '*.la' -delete || die
71 +}
72 +
73 +pkg_postinst() {
74 + gnome2_icon_cache_update
75 +
76 + if ! has_version media-sound/pavucontrol; then
77 + elog "For the 'audio mixer...' shortcut to work, you need to install"
78 + elog "an external mixer application. Please either install:"
79 + elog
80 + elog " media-sound/pavucontrol"
81 + elog
82 + elog "or specify another application to use in the 'Properties' dialog."
83 + fi
84 +}
85 +
86 +pkg_postrm() {
87 + gnome2_icon_cache_update
88 +}