1 |
flameeyes 08/10/10 12:29:34 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: qsynth-0.3.3-r1.ebuild |
5 |
Log: |
6 |
Update to EAPI=2 and USE deps. |
7 |
(Portage version: 2.2_rc12/cvs/Linux 2.6.26-gentoo-r1 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.44 media-sound/qsynth/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/qsynth/ChangeLog?rev=1.44&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/qsynth/ChangeLog?rev=1.44&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/qsynth/ChangeLog?r1=1.43&r2=1.44 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/qsynth/ChangeLog,v |
19 |
retrieving revision 1.43 |
20 |
retrieving revision 1.44 |
21 |
diff -u -r1.43 -r1.44 |
22 |
--- ChangeLog 28 Jul 2008 21:24:17 -0000 1.43 |
23 |
+++ ChangeLog 10 Oct 2008 12:29:34 -0000 1.44 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for media-sound/qsynth |
26 |
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/qsynth/ChangeLog,v 1.43 2008/07/28 21:24:17 carlo Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qsynth/ChangeLog,v 1.44 2008/10/10 12:29:34 flameeyes Exp $ |
29 |
+ |
30 |
+*qsynth-0.3.3-r1 (10 Oct 2008) |
31 |
+ |
32 |
+ 10 Oct 2008; Diego Pettenò <flameeyes@g.o> |
33 |
+ +qsynth-0.3.3-r1.ebuild: |
34 |
+ Update to EAPI=2 and USE deps. |
35 |
|
36 |
28 Jul 2008; Carsten Lohrke <carlo@g.o> qsynth-0.3.1-r1.ebuild: |
37 |
QA: Get rid of deprecated qt4_min_version(). |
38 |
|
39 |
|
40 |
|
41 |
1.1 media-sound/qsynth/qsynth-0.3.3-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/qsynth/qsynth-0.3.3-r1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/qsynth/qsynth-0.3.3-r1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: qsynth-0.3.3-r1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2008 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/qsynth/qsynth-0.3.3-r1.ebuild,v 1.1 2008/10/10 12:29:34 flameeyes Exp $ |
51 |
|
52 |
EAPI=2 |
53 |
|
54 |
inherit qt4 eutils flag-o-matic |
55 |
|
56 |
DESCRIPTION="A Qt application to control FluidSynth" |
57 |
HOMEPAGE="http://qsynth.sourceforge.net/" |
58 |
SRC_URI="mirror://sourceforge/qsynth/${P}.tar.gz" |
59 |
LICENSE="GPL-2" |
60 |
|
61 |
SLOT="0" |
62 |
IUSE="debug jack alsa" |
63 |
KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
64 |
|
65 |
DEPEND=" |
66 |
|| ( ( |
67 |
x11-libs/qt-core:4 |
68 |
x11-libs/qt-gui:4 |
69 |
) =x11-libs/qt-4.3*:4 ) |
70 |
>=media-sound/fluidsynth-1.0.7a[jack?,alsa?] |
71 |
!jack? ( !alsa? ( >=media-sound/fluidsynth-1.0.7a[oss] ) )" |
72 |
|
73 |
src_configure() { |
74 |
# Stupidly, qsynth's configure does *not* use pkg-config to |
75 |
# discover the presence of Qt4, but uses fixed paths; as they |
76 |
# don't really work that well for our case, let's just use this |
77 |
# nasty hack and be done with it. *NOTE*: this hinders |
78 |
# cross-compile. |
79 |
append-flags -I/usr/include/qt4 |
80 |
append-ldflags -L/usr/$(get_libdir)/qt4 |
81 |
|
82 |
econf \ |
83 |
$(use_enable debug) \ |
84 |
|| die "econf failed" |
85 |
} |
86 |
|
87 |
src_install () { |
88 |
emake DESTDIR="${D}" install || die "make install failed" |
89 |
dodoc AUTHORS ChangeLog README TODO |
90 |
|
91 |
# The desktop file is invalid, and we also change the command |
92 |
# depending on useflags |
93 |
rm -rf "${D}/usr/share/applications/qsynth.desktop" |
94 |
|
95 |
local cmd |
96 |
if use jack; then |
97 |
cmd="qsynth" |
98 |
elif use alsa; then |
99 |
cmd="qsynth -a alsa" |
100 |
else |
101 |
cmd="qsynth -a oss" |
102 |
fi |
103 |
|
104 |
make_desktop_entry "${cmd}" Qsynth qsynth |
105 |
} |