1 |
ssuominen 09/06/06 11:04:52 |
2 |
|
3 |
Modified: metadata.xml trommler-3.8.ebuild |
4 |
Log: |
5 |
Some EAPI2 love before opening stable bug. |
6 |
(Portage version: 2.1.6.13/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 media-sound/trommler/metadata.xml |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/trommler/metadata.xml?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/trommler/metadata.xml?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/trommler/metadata.xml?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: metadata.xml |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/trommler/metadata.xml,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- metadata.xml 1 Mar 2004 04:45:09 -0000 1.1 |
22 |
+++ metadata.xml 6 Jun 2009 11:04:52 -0000 1.2 |
23 |
@@ -1,5 +1,5 @@ |
24 |
<?xml version="1.0" encoding="UTF-8"?> |
25 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
26 |
<pkgmetadata> |
27 |
-<herd>sound</herd> |
28 |
+ <herd>sound</herd> |
29 |
</pkgmetadata> |
30 |
|
31 |
|
32 |
|
33 |
1.3 media-sound/trommler/trommler-3.8.ebuild |
34 |
|
35 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/trommler/trommler-3.8.ebuild?rev=1.3&view=markup |
36 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/trommler/trommler-3.8.ebuild?rev=1.3&content-type=text/plain |
37 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/trommler/trommler-3.8.ebuild?r1=1.2&r2=1.3 |
38 |
|
39 |
Index: trommler-3.8.ebuild |
40 |
=================================================================== |
41 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/trommler/trommler-3.8.ebuild,v |
42 |
retrieving revision 1.2 |
43 |
retrieving revision 1.3 |
44 |
diff -u -r1.2 -r1.3 |
45 |
--- trommler-3.8.ebuild 1 Feb 2008 20:57:17 -0000 1.2 |
46 |
+++ trommler-3.8.ebuild 6 Jun 2009 11:04:52 -0000 1.3 |
47 |
@@ -1,9 +1,8 @@ |
48 |
-# Copyright 1999-2008 Gentoo Foundation |
49 |
+# Copyright 1999-2009 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/trommler/trommler-3.8.ebuild,v 1.2 2008/02/01 20:57:17 drac Exp $ |
52 |
- |
53 |
-EAPI=1 |
54 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/trommler/trommler-3.8.ebuild,v 1.3 2009/06/06 11:04:52 ssuominen Exp $ |
55 |
|
56 |
+EAPI=2 |
57 |
inherit eutils toolchain-funcs |
58 |
|
59 |
DESCRIPTION="GTK+ based drum machine." |
60 |
@@ -15,7 +14,7 @@ |
61 |
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" |
62 |
IUSE="+sox" |
63 |
|
64 |
-RDEPEND=">=x11-libs/gtk+-2 |
65 |
+RDEPEND="x11-libs/gtk+:2 |
66 |
sox? ( media-sound/sox )" |
67 |
DEPEND="${RDEPEND} |
68 |
x11-misc/makedepend |
69 |
@@ -24,21 +23,23 @@ |
70 |
S=${WORKDIR}/${PN/t/T} |
71 |
|
72 |
src_compile() { |
73 |
- emake export.h || die "emake export.h failed." |
74 |
+ emake export.h || die "emake export.h failed" |
75 |
emake CFLAGS="${CFLAGS} $(pkg-config --cflags gtk+-2.0)" \ |
76 |
- CC="$(tc-getCC)" || die "emake failed." |
77 |
+ CC="$(tc-getCC)" || die "emake failed" |
78 |
} |
79 |
|
80 |
src_install() { |
81 |
exeinto /usr/libexec |
82 |
- doexe ${PN} |
83 |
- newbin "${FILESDIR}"/${PN}.wrapper ${PN} |
84 |
- dobin wav2smp playsample |
85 |
- use sox && dobin smp2wav |
86 |
+ doexe ${PN} || die "doexe failed" |
87 |
+ newbin "${FILESDIR}"/${PN}.wrapper ${PN} || die "newbin failed" |
88 |
+ dobin wav2smp playsample || die "dobin failed" |
89 |
+ if use sox; then |
90 |
+ dobin smp2wav || die "dobin failed" |
91 |
+ fi |
92 |
insinto /usr/share/${PN}/Drums |
93 |
- doins Drums/*.smp |
94 |
+ doins Drums/*.smp || die "doins failed" |
95 |
insinto /usr/share/${PN}/Songs |
96 |
- doins Songs/*.sng |
97 |
+ doins Songs/*.sng || die "doins failed" |
98 |
dodoc CHANGES README |
99 |
dohtml index.html style.css |
100 |
make_desktop_entry ${PN} Trommler |