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 |
RESTRICT="mirror" |
11 |
|
12 |
|
12 |
LICENSE="LGPL-2.1" |
13 |
LICENSE="LGPL-2.1" |
13 |
SLOT="0" |
14 |
SLOT="0" |
Lines 15-21
Link Here
|
15 |
IUSE="libnotify" |
16 |
IUSE="libnotify" |
16 |
|
17 |
|
17 |
RDEPEND=" |
18 |
RDEPEND=" |
18 |
|| ( >=media-sound/pulseaudio-1.0[glib,avahi] >=media-sound/pulseaudio-5.0-r3[glib,zeroconf] ) |
19 |
>=media-sound/pulseaudio-5.0-r3[glib,zeroconf] |
19 |
>=net-dns/avahi-0.6 |
20 |
>=net-dns/avahi-0.6 |
20 |
x11-libs/gtk+:3 |
21 |
x11-libs/gtk+:3 |
21 |
x11-libs/libX11 |
22 |
x11-libs/libX11 |
Lines 24-33
Link Here
|
24 |
DEPEND="${RDEPEND} |
25 |
DEPEND="${RDEPEND} |
25 |
virtual/pkgconfig" |
26 |
virtual/pkgconfig" |
26 |
|
27 |
|
27 |
DOCS="AUTHORS README TODO" |
28 |
DOCS="AUTHORS README.md TODO" |
|
|
29 |
|
30 |
S=${WORKDIR}/${PN}-${P} |
31 |
|
32 |
src_prepare() { |
33 |
eautoreconf |
34 |
} |
28 |
|
35 |
|
29 |
src_configure() { |
36 |
src_configure() { |
30 |
econf $(use_enable libnotify notify) |
37 |
econf $(use_enable libnotify notify) |
|
|
38 |
sed -i -e 's:volume:volume;:' "data/pasystray.desktop" |
31 |
} |
39 |
} |
32 |
|
40 |
|
33 |
pkg_preinst() { gnome2_icon_savelist; } |
41 |
pkg_preinst() { gnome2_icon_savelist; } |