commit:     f1516d6a02dede39e9ebbc09d0b6bc7997e57f68
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 25 04:42:57 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Apr 25 04:42:57 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1516d6a

xfce-extra/xfce4-pulseaudio-plugin: Bump to 0.5.1

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 xfce-extra/xfce4-pulseaudio-plugin/Manifest        |  1 +
 .../xfce4-pulseaudio-plugin-0.5.1.ebuild           | 70 ++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/xfce-extra/xfce4-pulseaudio-plugin/Manifest 
b/xfce-extra/xfce4-pulseaudio-plugin/Manifest
index 03402d48fb34..a81d7b89f76e 100644
--- a/xfce-extra/xfce4-pulseaudio-plugin/Manifest
+++ b/xfce-extra/xfce4-pulseaudio-plugin/Manifest
@@ -1,3 +1,4 @@
 DIST xfce4-pulseaudio-plugin-0.4.8.tar.bz2 434257 BLAKE2B 
0ba1336fae01199996cd56b26393eecbf1276a645cdc8129ba4a4d817699282e0b84a1c060513fbffee1c84ed2e863b2a82eb5875ef5ea42c53332d6aae5de7f
 SHA512 
8f6f06a65295ff53bd18a32dc302b2d12fb722bcfacd549c79dbc88e8ab6890888f158ea02ce5a21b261fa681068d68f18eb076f1dc2cb9135b7fc1e77fa7ce8
 DIST xfce4-pulseaudio-plugin-0.4.9.tar.bz2 483722 BLAKE2B 
d2ca77b8072feddf80557c693f37fa4806726701bc7542201bd47193220e1bc2b64559b4a4faaf5abae284bca61c63f12999e7d9c3bcd72b8af422123998b0b9
 SHA512 
7fa29e85146e8cbbd420aed11050924fbb9c1a93657da1a4d3e207f5a7cc7fc99acdc41b467420a8948535a7f45e2a8e6d63f79df3cef228ada810566f15c263
 DIST xfce4-pulseaudio-plugin-0.5.0.tar.xz 117632 BLAKE2B 
753125aae2627a8f256213ee3d1fef2ddc06d59877f7ab2d3798791badde654c559930b8507505f43a9620ed07c3bdef63be42bab498c4adc28a539797b6adc1
 SHA512 
19e4520e8a16c6d505f33748ff6612f5d9abe213bfe28a3818ba6f95cdccfcf3cda336a397ecef51ca53c2b846758b468a9e7d5690ae6dd1c00395e516f9e101
+DIST xfce4-pulseaudio-plugin-0.5.1.tar.xz 118988 BLAKE2B 
1948cad2e84e7ba03d3bf23f0192efe6a7d126329c3489483122f6455cbbd2ecfcb73374c83c8fa5eba02382dddbc89a588123ab9d9532d3a55f768278634494
 SHA512 
2041afa32ed971a8f725d5bb7c4364bb55a33127afc11681a3fb009a6b614d760c7c9466d1fed6530564695f4579a9cc881d21d994b5fba67a5f4dc5239a4cdd

diff --git 
a/xfce-extra/xfce4-pulseaudio-plugin/xfce4-pulseaudio-plugin-0.5.1.ebuild 
b/xfce-extra/xfce4-pulseaudio-plugin/xfce4-pulseaudio-plugin-0.5.1.ebuild
new file mode 100644
index 000000000000..87251132fb86
--- /dev/null
+++ b/xfce-extra/xfce4-pulseaudio-plugin/xfce4-pulseaudio-plugin-0.5.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson xdg-utils
+
+DESCRIPTION="A panel plug-in for PulseAudio volume control"
+HOMEPAGE="
+       https://docs.xfce.org/panel-plugins/xfce4-pulseaudio-plugin/start
+       https://gitlab.xfce.org/panel-plugins/xfce4-pulseaudio-plugin/
+"
+SRC_URI="https://archive.xfce.org/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.xz";
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="+keybinder libcanberra libnotify"
+
+# TODO: remove exo when we dep on >=libxfce4ui-4.21.0
+DEPEND="
+       >=dev-libs/glib-2.50.0
+       >=media-libs/libpulse-0.9.19:=[glib]
+       >=x11-libs/gtk+-3.22.0:3
+       >=xfce-base/exo-4.16.0:=
+       >=xfce-base/libxfce4ui-4.16.0:=[gtk3(+)]
+       >=xfce-base/libxfce4util-4.16.0:=
+       >=xfce-base/libxfce4windowing-4.19.6:=
+       >=xfce-base/xfce4-panel-4.16.0:=
+       >=xfce-base/xfconf-4.16.0:=
+       keybinder? ( >=dev-libs/keybinder-0.2.2:3 )
+       libcanberra? ( >=media-libs/libcanberra-0.30 )
+       libnotify? ( >=x11-libs/libnotify-0.7.0 )
+"
+RDEPEND="
+       ${DEPEND}
+"
+BDEPEND="
+       sys-devel/gettext
+       virtual/pkgconfig
+"
+
+src_configure() {
+       local emesonargs=(
+               $(meson_feature keybinder)
+               $(meson_feature libcanberra)
+               $(meson_feature libnotify)
+               -Dlibxfce4windowing=enabled
+               -Dmpris2=enabled
+       )
+
+       meson_src_configure
+}
+
+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
+}

Reply via email to