1 |
ssuominen 09/08/01 06:21:29 |
2 |
|
3 |
Modified: amsynth-1.2.0.ebuild ChangeLog |
4 |
Log: |
5 |
Remove built_with_use check for media-libs/alsa-lib[midi]. |
6 |
(Portage version: 2.2_rc33/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.9 media-sound/amsynth/amsynth-1.2.0.ebuild |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/amsynth/amsynth-1.2.0.ebuild?rev=1.9&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/amsynth/amsynth-1.2.0.ebuild?rev=1.9&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/amsynth/amsynth-1.2.0.ebuild?r1=1.8&r2=1.9 |
14 |
|
15 |
Index: amsynth-1.2.0.ebuild |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/amsynth/amsynth-1.2.0.ebuild,v |
18 |
retrieving revision 1.8 |
19 |
retrieving revision 1.9 |
20 |
diff -u -r1.8 -r1.9 |
21 |
--- amsynth-1.2.0.ebuild 29 Apr 2008 14:28:18 -0000 1.8 |
22 |
+++ amsynth-1.2.0.ebuild 1 Aug 2009 06:21:29 -0000 1.9 |
23 |
@@ -1,10 +1,9 @@ |
24 |
-# Copyright 1999-2008 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/amsynth/amsynth-1.2.0.ebuild,v 1.8 2008/04/29 14:28:18 armin76 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/amsynth/amsynth-1.2.0.ebuild,v 1.9 2009/08/01 06:21:29 ssuominen Exp $ |
29 |
|
30 |
-IUSE="debug alsa jack sndfile oss" |
31 |
- |
32 |
-inherit eutils autotools |
33 |
+EAPI=2 |
34 |
+inherit autotools eutils |
35 |
|
36 |
MY_P=${P/_rc/-rc} |
37 |
MY_P=${MY_P/amsynth/amSynth} |
38 |
@@ -16,6 +15,7 @@ |
39 |
LICENSE="GPL-2" |
40 |
SLOT="0" |
41 |
KEYWORDS="amd64 ~ppc sparc x86" |
42 |
+IUSE="alsa debug jack oss sndfile" |
43 |
|
44 |
RDEPEND=">=dev-cpp/gtkmm-2.4 |
45 |
sndfile? ( >=media-libs/libsndfile-1.0 ) |
46 |
@@ -24,50 +24,35 @@ |
47 |
DEPEND="${RDEPEND} |
48 |
dev-util/pkgconfig" |
49 |
|
50 |
-S="${WORKDIR}/${MY_P}" |
51 |
- |
52 |
-pkg_setup() { |
53 |
- if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then |
54 |
- eerror "" |
55 |
- eerror "To be able to build amSynth with ALSA support you need" |
56 |
- eerror "to have built media-libs/alsa-lib with midi USE flag." |
57 |
- die "Missing midi USE flag on media-libs/alsa-lib" |
58 |
- fi |
59 |
-} |
60 |
+S=${WORKDIR}/${MY_P} |
61 |
|
62 |
-src_unpack() { |
63 |
- unpack ${A} |
64 |
- cd "${S}" |
65 |
- |
66 |
- epatch "${FILESDIR}/${P}-asneeded.patch" |
67 |
- epatch "${FILESDIR}/${P}-cflags.patch" |
68 |
- epatch "${FILESDIR}/${P}-debug.patch" |
69 |
- epatch "${FILESDIR}/${P}+gcc-4.3.patch" |
70 |
+src_prepare() { |
71 |
+ epatch "${FILESDIR}"/${P}-asneeded.patch |
72 |
+ epatch "${FILESDIR}"/${P}-cflags.patch |
73 |
+ epatch "${FILESDIR}"/${P}-debug.patch |
74 |
+ epatch "${FILESDIR}"/${P}+gcc-4.3.patch |
75 |
eautoreconf |
76 |
} |
77 |
|
78 |
-src_compile() { |
79 |
- econf $(use_with oss) \ |
80 |
+src_configure() { |
81 |
+ econf \ |
82 |
+ $(use_with oss) \ |
83 |
$(use_with alsa) \ |
84 |
$(use_with jack) \ |
85 |
$(use_with sndfile) \ |
86 |
- $(use_enable debug) \ |
87 |
- || die "configure failed" |
88 |
- emake || die |
89 |
+ $(use_enable debug) |
90 |
} |
91 |
|
92 |
src_install() { |
93 |
- emake DESTDIR="${D}" install || die "make install failed" |
94 |
+ emake DESTDIR="${D}" install || die "emake install failed" |
95 |
dodoc AUTHORS README |
96 |
} |
97 |
|
98 |
pkg_postinst() { |
99 |
elog |
100 |
- elog "amSynth has been installed normally." |
101 |
- elog "If you would like to use the virtual" |
102 |
- elog "keyboard option, then do" |
103 |
- elog "emerge vkeybd" |
104 |
- elog "and make sure you emerged amSynth" |
105 |
- elog "with alsa support (USE=alsa)" |
106 |
+ elog "amSynth has been installed normally. If you would like to use" |
107 |
+ elog "the virtual keyboard option, then do:" |
108 |
+ elog "# emerge vkeybd" |
109 |
+ elog "and make sure you emerged amSynth with alsa support (USE=alsa)" |
110 |
elog |
111 |
} |
112 |
|
113 |
|
114 |
|
115 |
1.32 media-sound/amsynth/ChangeLog |
116 |
|
117 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/amsynth/ChangeLog?rev=1.32&view=markup |
118 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/amsynth/ChangeLog?rev=1.32&content-type=text/plain |
119 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/amsynth/ChangeLog?r1=1.31&r2=1.32 |
120 |
|
121 |
Index: ChangeLog |
122 |
=================================================================== |
123 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/amsynth/ChangeLog,v |
124 |
retrieving revision 1.31 |
125 |
retrieving revision 1.32 |
126 |
diff -u -r1.31 -r1.32 |
127 |
--- ChangeLog 29 Apr 2008 14:28:18 -0000 1.31 |
128 |
+++ ChangeLog 1 Aug 2009 06:21:29 -0000 1.32 |
129 |
@@ -1,6 +1,9 @@ |
130 |
# ChangeLog for media-sound/amsynth |
131 |
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
132 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/amsynth/ChangeLog,v 1.31 2008/04/29 14:28:18 armin76 Exp $ |
133 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
134 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/amsynth/ChangeLog,v 1.32 2009/08/01 06:21:29 ssuominen Exp $ |
135 |
+ |
136 |
+ 01 Aug 2009; Samuli Suominen <ssuominen@g.o> amsynth-1.2.0.ebuild: |
137 |
+ Remove built_with_use check for media-libs/alsa-lib[midi]. |
138 |
|
139 |
29 Apr 2008; Raúl Porcel <armin76@g.o> amsynth-1.2.0.ebuild: |
140 |
sparc stable wrt #218622 |