diff options
-rw-r--r-- | xfce-extra/xfce4-pulseaudio-plugin/Manifest | 1 | ||||
-rw-r--r-- | xfce-extra/xfce4-pulseaudio-plugin/metadata.xml | 5 | ||||
-rw-r--r-- | xfce-extra/xfce4-pulseaudio-plugin/xfce4-pulseaudio-plugin-0.3.4.ebuild | 62 |
3 files changed, 67 insertions, 1 deletions
diff --git a/xfce-extra/xfce4-pulseaudio-plugin/Manifest b/xfce-extra/xfce4-pulseaudio-plugin/Manifest index 8099c24515ff..543532dc7a32 100644 --- a/xfce-extra/xfce4-pulseaudio-plugin/Manifest +++ b/xfce-extra/xfce4-pulseaudio-plugin/Manifest @@ -1,2 +1,3 @@ DIST xfce4-pulseaudio-plugin-0.2.4.tar.bz2 307315 SHA256 8d9330ddf1d44a864a36d566cce4b76d4f859c5984bba7653d7dc39aa24d5c3e SHA512 b53ab48e282a506fc7fe91fa70520f0db32f2f73653a0210681bf7389f13441d5af8f855604b59817b1fe7a3f41e2d4fe52b052ac0c3479f3f4e37b2afedb193 WHIRLPOOL 8763a9422a7519b5603703306d968f9e020c1bd4b304be0d21bd6353c54e8fa979ef68c513d6e1c398ce6857ad88807a7cb7eefc29d6fba4f12a243eb7205e26 DIST xfce4-pulseaudio-plugin-0.3.3.tar.bz2 397373 BLAKE2B 088847dfb7ce661340c5adc03e9aa11b235c58b829c0b0808cff00c92ef57c4f140c4955db613b341f8c78d6c71a694d2110e36c1df3f176d148fd1bb87917ea SHA512 1312a99e609897c446a980307b5c95941fa21b4dc62e920072212492d235e6a75fcf432656d2c035b18a58053cc943f5c680c314f78f5af1a7ae88586b39d1f9 +DIST xfce4-pulseaudio-plugin-0.3.4.tar.bz2 400380 BLAKE2B b8cd4df84f3119d90a7671d8217eaeb83025206d9bfdc5aaae2281cd7c9b13ab03fa8a99ff1eb352f2fa01e889bcd3a505b558ce9884c46b1136bc75a6fb22e7 SHA512 2dfa6a4567caeb2f336b1d9e32cedb5f03e363253549810e768bb51746cd1db362ebd0990098e461a71b8206d81ff877291860a3568a288fe2010498ad486c78 diff --git a/xfce-extra/xfce4-pulseaudio-plugin/metadata.xml b/xfce-extra/xfce4-pulseaudio-plugin/metadata.xml index eed12438a975..5df76b730dcf 100644 --- a/xfce-extra/xfce4-pulseaudio-plugin/metadata.xml +++ b/xfce-extra/xfce4-pulseaudio-plugin/metadata.xml @@ -6,7 +6,10 @@ <name>XFCE Team</name> </maintainer> <use> - <flag name="keybinder">Enable support for global hotkeys using <pkg>dev-libs/keybinder</pkg>.</flag> + <flag name="keybinder">Enable support for global hotkeys using + <pkg>dev-libs/keybinder</pkg>.</flag> + <flag name="wnck">Enable experimental support for raising media + player windows using <pkg>x11-libs/libwnck</pkg>.</flag> </use> <upstream> <remote-id type="github">andrzej-r/xfce4-pulseaudio-plugin</remote-id> diff --git a/xfce-extra/xfce4-pulseaudio-plugin/xfce4-pulseaudio-plugin-0.3.4.ebuild b/xfce-extra/xfce4-pulseaudio-plugin/xfce4-pulseaudio-plugin-0.3.4.ebuild new file mode 100644 index 000000000000..f324e8250d5e --- /dev/null +++ b/xfce-extra/xfce4-pulseaudio-plugin/xfce4-pulseaudio-plugin-0.3.4.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome2-utils + +DESCRIPTION="A panel plug-in for PulseAudio volume control" +HOMEPAGE="https://git.xfce.org/panel-plugins/xfce4-pulseaudio-plugin/" +SRC_URI="mirror://xfce/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86" +IUSE="debug keybinder libnotify wnck" + +RDEPEND=">=dev-libs/glib-2.42.0:= + media-sound/pulseaudio:= + >=x11-libs/gtk+-3.20.0:3= + >=xfce-base/libxfce4ui-4.11.0:=[gtk3(+)] + >=xfce-base/libxfce4util-4.9.0:= + >=xfce-base/xfce4-panel-4.11.0:= + >=xfce-base/xfconf-4.6.0:= + keybinder? ( dev-libs/keybinder:3= ) + libnotify? ( x11-libs/libnotify:= ) + wnck? ( x11-libs/libwnck:3= )" +DEPEND="${RDEPEND} + dev-util/intltool + virtual/pkgconfig" + +src_configure() { + local myconf=( + $(use_enable keybinder) + $(use_enable libnotify) + $(use_enable wnck) + ) + + econf "${myconf[@]}" +} + +src_install() { + default + + find "${D}" -name '*.la' -delete || die +} + +pkg_postinst() { + gnome2_icon_cache_update + + if ! has_version media-sound/pavucontrol; then + elog "For the 'audio mixer...' shortcut to work, you need to install" + elog "an external mixer application. Please either install:" + elog + elog " media-sound/pavucontrol" + elog + elog "or specify another application to use in the 'Properties' dialog." + fi +} + +pkg_postrm() { + gnome2_icon_cache_update +} |