1 |
ssuominen 09/06/05 10:08:22 |
2 |
|
3 |
Modified: gnome-alsamixer-0.9.6.ebuild |
4 |
Log: |
5 |
Fix repoman warnings |
6 |
(Portage version: 2.1.6.13/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.16 media-sound/gnome-alsamixer/gnome-alsamixer-0.9.6.ebuild |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/gnome-alsamixer/gnome-alsamixer-0.9.6.ebuild?rev=1.16&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/gnome-alsamixer/gnome-alsamixer-0.9.6.ebuild?rev=1.16&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/gnome-alsamixer/gnome-alsamixer-0.9.6.ebuild?r1=1.15&r2=1.16 |
14 |
|
15 |
Index: gnome-alsamixer-0.9.6.ebuild |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/gnome-alsamixer/gnome-alsamixer-0.9.6.ebuild,v |
18 |
retrieving revision 1.15 |
19 |
retrieving revision 1.16 |
20 |
diff -u -r1.15 -r1.16 |
21 |
--- gnome-alsamixer-0.9.6.ebuild 24 Mar 2007 16:29:57 -0000 1.15 |
22 |
+++ gnome-alsamixer-0.9.6.ebuild 5 Jun 2009 10:08:22 -0000 1.16 |
23 |
@@ -1,7 +1,8 @@ |
24 |
-# Copyright 1999-2007 Gentoo Foundation |
25 |
+# Copyright 1999-2009 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/gnome-alsamixer/gnome-alsamixer-0.9.6.ebuild,v 1.15 2007/03/24 16:29:57 drac Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gnome-alsamixer/gnome-alsamixer-0.9.6.ebuild,v 1.16 2009/06/05 10:08:22 ssuominen Exp $ |
29 |
|
30 |
+EAPI=2 |
31 |
inherit eutils fdo-mime |
32 |
|
33 |
DESCRIPTION="Gnome based ALSA Mixer" |
34 |
@@ -10,26 +11,24 @@ |
35 |
|
36 |
LICENSE="GPL-2" |
37 |
SLOT="0" |
38 |
-KEYWORDS="x86 ppc amd64" |
39 |
+KEYWORDS="amd64 ppc x86" |
40 |
IUSE="" |
41 |
|
42 |
-RDEPEND=">=media-libs/alsa-lib-0.9.0_rc1 |
43 |
+RDEPEND="media-libs/alsa-lib |
44 |
>=x11-libs/gtk+-2 |
45 |
- >=gnome-base/libgnomeui-2.0.5" |
46 |
+ >=gnome-base/libgnomeui-2" |
47 |
DEPEND="${RDEPEND} |
48 |
- dev-util/pkgconfig |
49 |
- dev-util/desktop-file-utils" |
50 |
+ dev-util/pkgconfig" |
51 |
|
52 |
-src_unpack() { |
53 |
- unpack ${A} |
54 |
- epatch ${FILESDIR}/${P}-gtk24.patch |
55 |
- epatch ${FILESDIR}/${P}-fixpath.patch |
56 |
+src_prepare() { |
57 |
+ epatch "${FILESDIR}"/${P}-gtk24.patch \ |
58 |
+ "${FILESDIR}"/${P}-fixpath.patch |
59 |
} |
60 |
|
61 |
src_install() { |
62 |
- emake DESTDIR=${D} install || die |
63 |
+ emake DESTDIR="${D}" install || die "emake install failed" |
64 |
|
65 |
- make_desktop_entry gnome-alsamixer "Gnome Alsa Mixer"\ |
66 |
+ make_desktop_entry gnome-alsamixer "Gnome Alsa Mixer" \ |
67 |
/usr/share/pixmaps/${PN}/${PN}-icon.png |
68 |
|
69 |
dodoc AUTHORS ChangeLog |
70 |
@@ -39,3 +38,8 @@ |
71 |
fdo-mime_mime_database_update |
72 |
fdo-mime_desktop_database_update |
73 |
} |
74 |
+ |
75 |
+pkg_postrm() { |
76 |
+ fdo-mime_mime_database_update |
77 |
+ fdo-mime_desktop_database_update |
78 |
+} |