Gentoo Archives: gentoo-commits

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