You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1003 B
52 lines
1003 B
6 years ago
|
# Copyright 1999-2018 Gentoo Foundation
|
||
9 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
7 years ago
|
EAPI=6
|
||
6 years ago
|
|
||
|
inherit gnome2-utils autotools xdg
|
||
9 years ago
|
|
||
|
DESCRIPTION="PulseAudio system tray"
|
||
|
HOMEPAGE="https://github.com/christophgysin/pasystray"
|
||
|
SRC_URI="https://github.com/christophgysin/${PN}/archive/${P}.tar.gz"
|
||
|
|
||
7 years ago
|
LICENSE="LGPL-2.1+"
|
||
9 years ago
|
SLOT="0"
|
||
6 years ago
|
KEYWORDS="~amd64 ~arm ~x86"
|
||
7 years ago
|
IUSE="libnotify zeroconf"
|
||
9 years ago
|
|
||
|
RDEPEND="
|
||
7 years ago
|
>=dev-libs/glib-2.48.2
|
||
7 years ago
|
>=media-sound/pulseaudio-5.0-r3[glib,zeroconf?]
|
||
9 years ago
|
x11-libs/gtk+:3
|
||
|
x11-libs/libX11
|
||
6 years ago
|
zeroconf? ( >=net-dns/avahi-0.6 )
|
||
9 years ago
|
libnotify? ( >=x11-libs/libnotify-0.7 )
|
||
|
"
|
||
|
DEPEND="${RDEPEND}
|
||
|
virtual/pkgconfig"
|
||
|
|
||
6 years ago
|
S=${WORKDIR}/${PN}-${P}
|
||
|
|
||
9 years ago
|
src_prepare() {
|
||
7 years ago
|
default
|
||
9 years ago
|
eautoreconf
|
||
|
}
|
||
7 years ago
|
|
||
9 years ago
|
src_configure() {
|
||
7 years ago
|
econf \
|
||
|
$(use_enable libnotify notify) \
|
||
|
$(use_enable zeroconf avahi)
|
||
9 years ago
|
}
|
||
|
|
||
7 years ago
|
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
|
||
|
}
|