diff options
author | Igor V. Kovalenko <igor.v.kovalenko@gmail.com> | 2022-02-27 09:27:05 +0300 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-03-08 13:30:41 +0000 |
commit | 2c8911117aba40e144c8077f2c356b06dd93d427 (patch) | |
tree | 894687e408b01710989499faefcb49ce41ffd2ff /media-sound/pasystray/pasystray-0.8.0-r1.ebuild | |
parent | media-libs/libmatemixer: Clean up alsa use from pulseaudio dep (diff) | |
download | gentoo-2c8911117aba40e144c8077f2c356b06dd93d427.tar.gz gentoo-2c8911117aba40e144c8077f2c356b06dd93d427.tar.bz2 gentoo-2c8911117aba40e144c8077f2c356b06dd93d427.zip |
media-sound/pasystray: Allow pulseaudio-daemon dependency.
Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-sound/pasystray/pasystray-0.8.0-r1.ebuild')
-rw-r--r-- | media-sound/pasystray/pasystray-0.8.0-r1.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/media-sound/pasystray/pasystray-0.8.0-r1.ebuild b/media-sound/pasystray/pasystray-0.8.0-r1.ebuild new file mode 100644 index 000000000000..a58c48834bef --- /dev/null +++ b/media-sound/pasystray/pasystray-0.8.0-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools xdg + +DESCRIPTION="PulseAudio system tray" +HOMEPAGE="https://github.com/christophgysin/pasystray" +SRC_URI="https://github.com/christophgysin/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="amd64 ~arm ~x86" +IUSE="libnotify zeroconf" + +RDEPEND=" + dev-libs/glib + || ( media-sound/pulseaudio-daemon[glib,zeroconf?] <media-sound/pulseaudio-15.99.1[glib,zeroconf?] ) + x11-libs/gtk+:3 + x11-libs/libX11 + zeroconf? ( net-dns/avahi ) + libnotify? ( x11-libs/libnotify ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig +" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + $(use_enable libnotify notify) \ + $(use_enable zeroconf avahi) +} |