1 |
flameeyes 07/12/20 12:14:43 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: qsynth-0.3.2.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 2.1.4_rc10) |
8 |
|
9 |
Revision Changes Path |
10 |
1.36 media-sound/qsynth/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/qsynth/ChangeLog?rev=1.36&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/qsynth/ChangeLog?rev=1.36&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/qsynth/ChangeLog?r1=1.35&r2=1.36 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/qsynth/ChangeLog,v |
19 |
retrieving revision 1.35 |
20 |
retrieving revision 1.36 |
21 |
diff -u -r1.35 -r1.36 |
22 |
--- ChangeLog 23 Nov 2007 13:58:19 -0000 1.35 |
23 |
+++ ChangeLog 20 Dec 2007 12:14:43 -0000 1.36 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for media-sound/qsynth |
26 |
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/qsynth/ChangeLog,v 1.35 2007/11/23 13:58:19 flameeyes Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qsynth/ChangeLog,v 1.36 2007/12/20 12:14:43 flameeyes Exp $ |
29 |
+ |
30 |
+*qsynth-0.3.2 (20 Dec 2007) |
31 |
+ |
32 |
+ 20 Dec 2007; Diego Pettenò <flameeyes@g.o> +qsynth-0.3.2.ebuild: |
33 |
+ Version bump. |
34 |
|
35 |
23 Nov 2007; Diego Pettenò <flameeyes@g.o> -qsynth-0.2.6.ebuild: |
36 |
Remove old version. |
37 |
|
38 |
|
39 |
|
40 |
1.1 media-sound/qsynth/qsynth-0.3.2.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/qsynth/qsynth-0.3.2.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/qsynth/qsynth-0.3.2.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: qsynth-0.3.2.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2007 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/qsynth/qsynth-0.3.2.ebuild,v 1.1 2007/12/20 12:14:43 flameeyes Exp $ |
50 |
|
51 |
inherit qt4 eutils flag-o-matic |
52 |
|
53 |
DESCRIPTION="A Qt application to control FluidSynth" |
54 |
HOMEPAGE="http://qsynth.sourceforge.net/" |
55 |
SRC_URI="mirror://sourceforge/qsynth/${P}.tar.gz" |
56 |
LICENSE="GPL-2" |
57 |
|
58 |
SLOT="0" |
59 |
IUSE="debug jack alsa" |
60 |
KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
61 |
|
62 |
DEPEND="$(qt4_min_version 4.2) |
63 |
>=media-sound/fluidsynth-1.0.7a" |
64 |
|
65 |
pkg_setup() { |
66 |
if use jack; then |
67 |
if ! built_with_use media-sound/fluidsynth jack; then |
68 |
eerror "To use Qsynth with JACK, you need to build media-sound/fluidsynth" |
69 |
eerror "with the jack USE flag enabled." |
70 |
die "Missing jack USE flag on media-sound/fluidsynth" |
71 |
fi |
72 |
einfo "Enabling default JACK output." |
73 |
elif use alsa; then |
74 |
if ! built_with_use media-sound/fluidsynth alsa; then |
75 |
eerror "To use Qsynth with ALSA, you need to build media-sound/fluidsynth" |
76 |
eerror "with the alsa USE flag enabled." |
77 |
die "Missing alsa USE flag on media-sound/fluidsynth" |
78 |
fi |
79 |
einfo "Enabling non-default ALSA output." |
80 |
else |
81 |
if ! built_with_use media-sound/fluidsynth oss; then |
82 |
eerror "If you don't want to use either JACK or ALSA on Qsynth" |
83 |
eerror "you need to enable the oss USE flag on media-sound/fluidsynth" |
84 |
die "Missing oss USE flag on media-sound/fluidsynth" |
85 |
fi |
86 |
einfo "Enabling non-default OSS output." |
87 |
fi |
88 |
} |
89 |
|
90 |
src_compile() { |
91 |
# Stupidly, qsynth's configure does *not* use pkg-config to |
92 |
# discover the presence of Qt4, but uses fixed paths; as they |
93 |
# don't really work that well for our case, let's just use this |
94 |
# nasty hack and be done with it. *NOTE*: this hinders |
95 |
# cross-compile. |
96 |
append-flags -I/usr/include/qt4 |
97 |
append-ldflags -L/usr/$(get_libdir)/qt4 |
98 |
|
99 |
econf \ |
100 |
$(use_enable debug) \ |
101 |
|| die "econf failed" |
102 |
emake || die "emake failed" |
103 |
} |
104 |
|
105 |
src_install () { |
106 |
make DESTDIR="${D}" install || die "make install failed" |
107 |
dodoc AUTHORS ChangeLog README TODO |
108 |
|
109 |
# The desktop file is invalid, and we also change the command |
110 |
# depending on useflags |
111 |
rm -rf "${D}/usr/share/applications/qsynth.desktop" |
112 |
|
113 |
local cmd |
114 |
if use jack; then |
115 |
cmd="qsynth" |
116 |
elif use alsa; then |
117 |
cmd="qsynth -a alsa" |
118 |
else |
119 |
cmd="qsynth -a oss" |
120 |
fi |
121 |
|
122 |
make_desktop_entry "${cmd}" Qsynth qsynth |
123 |
} |
124 |
|
125 |
|
126 |
|
127 |
-- |
128 |
gentoo-commits@g.o mailing list |