summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-09-16 07:34:37 +0200
committerMichał Górny <mgorny@gentoo.org>2022-09-16 07:34:59 +0200
commit9f75ad81b6e462c9c51da76cda806b38b696d936 (patch)
tree26e91732efa23ebb46a19e2ba249a1033fde2ada /xfce-extra
parentdev-lang/eisl: drop old 2.50 (diff)
downloadgentoo-9f75ad81b6e462c9c51da76cda806b38b696d936.tar.gz
gentoo-9f75ad81b6e462c9c51da76cda806b38b696d936.tar.bz2
gentoo-9f75ad81b6e462c9c51da76cda806b38b696d936.zip
xfce-extra/xfce4-pulseaudio-plugin: Bump to 0.4.5
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'xfce-extra')
-rw-r--r--xfce-extra/xfce4-pulseaudio-plugin/Manifest1
-rw-r--r--xfce-extra/xfce4-pulseaudio-plugin/metadata.xml2
-rw-r--r--xfce-extra/xfce4-pulseaudio-plugin/xfce4-pulseaudio-plugin-0.4.5.ebuild70
3 files changed, 73 insertions, 0 deletions
diff --git a/xfce-extra/xfce4-pulseaudio-plugin/Manifest b/xfce-extra/xfce4-pulseaudio-plugin/Manifest
index f238c0057930..43ec845edba1 100644
--- a/xfce-extra/xfce4-pulseaudio-plugin/Manifest
+++ b/xfce-extra/xfce4-pulseaudio-plugin/Manifest
@@ -1,2 +1,3 @@
DIST xfce4-pulseaudio-plugin-0.4.3.tar.bz2 431773 BLAKE2B 2c0de4ea0ab9304b737fe4ce570bcd8427f983845fe898dbe7e053a5fe79793223df6882a931b186664d8c95d4c767daf39ba36a98dc58595ba77e8a18c13a6c SHA512 d3214b2b7c35a0a87ea60a5d843f5027d1b09f320d4d24c6bf89a8936de92226223cb4dc5368edf4c0a1aedb3b8796510981eeadee8e836e764569d9284f0efa
DIST xfce4-pulseaudio-plugin-0.4.4.tar.bz2 389978 BLAKE2B 36f990aeac3fb07c19fe421ebe5172bfc5d87b4281d6dc921b7173a0cee70693f9ecfed6675b128bb617d78d4920694aac44d8846bcd1f49d5c4cf415a513074 SHA512 5e7f024be6283523d0a0c0c3e7ba1d632b1521c442d9468980e0811a6b4c7bbcdcaff27999410b83a967d16105f6c09f6e0718719654ccc9f1109066d8964b59
+DIST xfce4-pulseaudio-plugin-0.4.5.tar.bz2 394671 BLAKE2B facd79419b36741791b91d76da0212a99dfd2e807eedac691a5978b85365052702797cf67d2f0f8af294e9c0141fcedad49a92595acd4bbeadbf470889d7e16b SHA512 9250189af2d40f9b87687ef15e37983a95f797c2ba0aaa18cb8e510b7b1caff7f762a18db4e5a3780001b5cd46e00849d427801e14854c45e849c5d014a1375b
diff --git a/xfce-extra/xfce4-pulseaudio-plugin/metadata.xml b/xfce-extra/xfce4-pulseaudio-plugin/metadata.xml
index 1129925202d2..964573c9885b 100644
--- a/xfce-extra/xfce4-pulseaudio-plugin/metadata.xml
+++ b/xfce-extra/xfce4-pulseaudio-plugin/metadata.xml
@@ -8,6 +8,8 @@
<use>
<flag name="keybinder">Enable support for global hotkeys using
<pkg>dev-libs/keybinder</pkg>.</flag>
+ <flag name="libcanberra">Enable sound event support using
+ <pkg>media-libs/libcanberra</pkg></flag>
<flag name="wnck">Enable experimental support for raising media
player windows using <pkg>x11-libs/libwnck</pkg>.</flag>
</use>
diff --git a/xfce-extra/xfce4-pulseaudio-plugin/xfce4-pulseaudio-plugin-0.4.5.ebuild b/xfce-extra/xfce4-pulseaudio-plugin/xfce4-pulseaudio-plugin-0.4.5.ebuild
new file mode 100644
index 000000000000..b4edcbb33e64
--- /dev/null
+++ b/xfce-extra/xfce4-pulseaudio-plugin/xfce4-pulseaudio-plugin-0.4.5.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit xdg-utils
+
+DESCRIPTION="A panel plug-in for PulseAudio volume control"
+HOMEPAGE="https://git.xfce.org/panel-plugins/xfce4-pulseaudio-plugin/"
+SRC_URI="https://archive.xfce.org/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+IUSE="+keybinder libcanberra libnotify wnck"
+
+DEPEND="
+ >=dev-libs/glib-2.42.0
+ media-sound/pulseaudio:=[glib]
+ >=x11-libs/gtk+-3.20.0:3
+ >=xfce-base/exo-0.11:=
+ >=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 )
+ libcanberra? ( media-libs/libcanberra )
+ libnotify? ( x11-libs/libnotify )
+ wnck? ( x11-libs/libwnck:3 )
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ dev-util/intltool
+ virtual/pkgconfig
+"
+
+src_configure() {
+ local myconf=(
+ $(use_enable keybinder)
+ $(use_enable libcanberra)
+ $(use_enable libnotify)
+ $(use_enable wnck)
+ )
+
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -delete || die
+}
+
+pkg_postinst() {
+ xdg_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() {
+ xdg_icon_cache_update
+}