Lines 1-13
Link Here
|
1 |
# Copyright 1999-2014 Gentoo Foundation |
1 |
# Copyright 1999-2015 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/pasystray/pasystray-0.2.1.ebuild,v 1.2 2014/10/12 17:28:06 pacho Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
EAPI=4 |
5 |
EAPI=5 |
6 |
inherit gnome2-utils |
6 |
inherit gnome2-utils autotools |
7 |
|
7 |
|
8 |
DESCRIPTION="A system tray for pulseaudio controls (replacement for the deprecated padevchooser)" |
8 |
DESCRIPTION="PulseAudio system tray" |
9 |
HOMEPAGE="http://github.com/christophgysin/pasystray" |
9 |
HOMEPAGE="http://github.com/christophgysin/pasystray" |
10 |
SRC_URI="mirror://github/christophgysin/${PN}/${P}.tar.bz2" |
10 |
SRC_URI="https://github.com/christophgysin/${PN}/archive/${P}.tar.gz" |
11 |
|
11 |
|
12 |
LICENSE="LGPL-2.1" |
12 |
LICENSE="LGPL-2.1" |
13 |
SLOT="0" |
13 |
SLOT="0" |
Lines 15-21
Link Here
|
15 |
IUSE="libnotify" |
15 |
IUSE="libnotify" |
16 |
|
16 |
|
17 |
RDEPEND=" |
17 |
RDEPEND=" |
18 |
|| ( >=media-sound/pulseaudio-1.0[glib,avahi] >=media-sound/pulseaudio-5.0-r3[glib,zeroconf] ) |
18 |
>=media-sound/pulseaudio-5.0-r3[glib,zeroconf] |
19 |
>=net-dns/avahi-0.6 |
19 |
>=net-dns/avahi-0.6 |
20 |
x11-libs/gtk+:3 |
20 |
x11-libs/gtk+:3 |
21 |
x11-libs/libX11 |
21 |
x11-libs/libX11 |
Lines 24-33
Link Here
|
24 |
DEPEND="${RDEPEND} |
24 |
DEPEND="${RDEPEND} |
25 |
virtual/pkgconfig" |
25 |
virtual/pkgconfig" |
26 |
|
26 |
|
27 |
DOCS="AUTHORS README TODO" |
27 |
DOCS="AUTHORS README.md TODO" |
|
|
28 |
|
29 |
S=${WORKDIR}/${PN}-${P} |
30 |
|
31 |
src_prepare() { |
32 |
eautoreconf |
33 |
} |
28 |
|
34 |
|
29 |
src_configure() { |
35 |
src_configure() { |
30 |
econf $(use_enable libnotify notify) |
36 |
econf $(use_enable libnotify notify) |
|
|
37 |
sed -i -e 's:volume:volume;:' "data/pasystray.desktop" |
38 |
} |
39 |
|
40 |
src_install() { |
41 |
emake DESTDIR="${D}" install |
42 |
dodoc ${DOCS} |
43 |
doman man/pasystray.1 |
31 |
} |
44 |
} |
32 |
|
45 |
|
33 |
pkg_preinst() { gnome2_icon_savelist; } |
46 |
pkg_preinst() { gnome2_icon_savelist; } |