diff options
author | Impyy <alex@impy.me> | 2017-04-02 17:38:11 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-05-18 21:11:11 +0200 |
commit | 550be91e2094f10f38c336c6fe7b5cb63e5984bd (patch) | |
tree | 269b9f791717c57808143cf9f90ae509359b7e8d /media-sound/pasystray/pasystray-0.6.0-r1.ebuild | |
parent | app-cdr/b5i2iso: segfault patch, HOMEPAGE, Gentoo Prefix (diff) | |
download | gentoo-550be91e2094f10f38c336c6fe7b5cb63e5984bd.tar.gz gentoo-550be91e2094f10f38c336c6fe7b5cb63e5984bd.tar.bz2 gentoo-550be91e2094f10f38c336c6fe7b5cb63e5984bd.zip |
media-sound/pasystray: add zeroconf USE flag
Closes: https://github.com/gentoo/gentoo/pull/4345
Diffstat (limited to 'media-sound/pasystray/pasystray-0.6.0-r1.ebuild')
-rw-r--r-- | media-sound/pasystray/pasystray-0.6.0-r1.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/media-sound/pasystray/pasystray-0.6.0-r1.ebuild b/media-sound/pasystray/pasystray-0.6.0-r1.ebuild new file mode 100644 index 000000000000..2730461f08c8 --- /dev/null +++ b/media-sound/pasystray/pasystray-0.6.0-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit gnome2-utils autotools vcs-snapshot xdg + +DESCRIPTION="PulseAudio system tray" +HOMEPAGE="https://github.com/christophgysin/pasystray" +SRC_URI="https://github.com/christophgysin/${PN}/archive/${P}.tar.gz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="libnotify zeroconf" + +RDEPEND=" + >=dev-libs/glib-2.48.2 + >=media-sound/pulseaudio-5.0-r3[glib,zeroconf?] + zeroconf? ( >=net-dns/avahi-0.6 ) + x11-libs/gtk+:3 + x11-libs/libX11 + libnotify? ( >=x11-libs/libnotify-0.7 ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + $(use_enable libnotify notify) \ + $(use_enable zeroconf avahi) +} + +pkg_preinst() { + xdg_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + gnome2_icon_cache_update +} |