diff options
Diffstat (limited to 'xfce-extra')
-rw-r--r-- | xfce-extra/xfce4-pulseaudio-plugin/Manifest | 1 | ||||
-rw-r--r-- | xfce-extra/xfce4-pulseaudio-plugin/xfce4-pulseaudio-plugin-0.4.8.ebuild | 77 |
2 files changed, 78 insertions, 0 deletions
diff --git a/xfce-extra/xfce4-pulseaudio-plugin/Manifest b/xfce-extra/xfce4-pulseaudio-plugin/Manifest index d31efbcbcb90..c3cc6aab612c 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.5.tar.bz2 394671 BLAKE2B facd79419b36741791b91d76da0212a99dfd2e807eedac691a5978b85365052702797cf67d2f0f8af294e9c0141fcedad49a92595acd4bbeadbf470889d7e16b SHA512 9250189af2d40f9b87687ef15e37983a95f797c2ba0aaa18cb8e510b7b1caff7f762a18db4e5a3780001b5cd46e00849d427801e14854c45e849c5d014a1375b DIST xfce4-pulseaudio-plugin-0.4.6.tar.bz2 422590 BLAKE2B 966dcc87c99888fb4b83901a4059ffa05bbc24707de0d32efd3c8f902f3f92277d13d9d9e8ae7475259b84f9a9a585336ab2f26d97ebf01f5031ede101335ad8 SHA512 b50193837a89c9adf8bfdd6c51cb872f8153448d71326ecd38171774164890436402d0041f98a79dc35a4523bfbd63dc4694f7ea13d4f8e38e98626280dd5127 DIST xfce4-pulseaudio-plugin-0.4.7.tar.bz2 432495 BLAKE2B 17314464a8643950334dcae2a8e2c106b4f0b3f76d2807c75db23f8e86a3fde8526cd4356932f33339a4b185b6c3e33e825d9008b11b5f3ed026fb0aec27e770 SHA512 a20c2250e36a9ac4308b07a937377dd8098b1609f01e86a35da9496a1c111ecafd85cd6b26945ee64e0be6d4a637d4e4d8950e6f09def6f8c869e32f4b3d69e3 +DIST xfce4-pulseaudio-plugin-0.4.8.tar.bz2 434257 BLAKE2B 0ba1336fae01199996cd56b26393eecbf1276a645cdc8129ba4a4d817699282e0b84a1c060513fbffee1c84ed2e863b2a82eb5875ef5ea42c53332d6aae5de7f SHA512 8f6f06a65295ff53bd18a32dc302b2d12fb722bcfacd549c79dbc88e8ab6890888f158ea02ce5a21b261fa681068d68f18eb076f1dc2cb9135b7fc1e77fa7ce8 diff --git a/xfce-extra/xfce4-pulseaudio-plugin/xfce4-pulseaudio-plugin-0.4.8.ebuild b/xfce-extra/xfce4-pulseaudio-plugin/xfce4-pulseaudio-plugin-0.4.8.ebuild new file mode 100644 index 000000000000..9d77a105e5b5 --- /dev/null +++ b/xfce-extra/xfce4-pulseaudio-plugin/xfce4-pulseaudio-plugin-0.4.8.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2023 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://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.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~x86" +# TODO: remove wnck when libxfce4windowing is ready to go stable +IUSE="+keybinder libcanberra libnotify libxfce4windowing wnck" +REQUIRED_USE="?? ( libxfce4windowing wnck )" + +DEPEND=" + >=dev-libs/glib-2.44.0 + media-libs/libpulse:=[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 ) + libxfce4windowing? ( xfce-base/libxfce4windowing:= ) + 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 libxfce4windowing) + $(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 +} |