summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2010-04-27 19:07:14 +0000
committerAlexis Ballier <aballier@gentoo.org>2010-04-27 19:07:14 +0000
commit254a5da6ad2efe0e713074d00ecc6bf541cc977a (patch)
tree5f9a05219814f9dfbe7cf0a250c5f69e13eb10ec
parentVersion bump (diff)
downloadhistorical-254a5da6ad2efe0e713074d00ecc6bf541cc977a.tar.gz
historical-254a5da6ad2efe0e713074d00ecc6bf541cc977a.tar.bz2
historical-254a5da6ad2efe0e713074d00ecc6bf541cc977a.zip
version bump
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
-rw-r--r--media-sound/qsynth/ChangeLog9
-rw-r--r--media-sound/qsynth/Manifest12
-rw-r--r--media-sound/qsynth/qsynth-0.3.5.ebuild64
3 files changed, 78 insertions, 7 deletions
diff --git a/media-sound/qsynth/ChangeLog b/media-sound/qsynth/ChangeLog
index 942d1675ec5b..c3b1dd43546e 100644
--- a/media-sound/qsynth/ChangeLog
+++ b/media-sound/qsynth/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/qsynth
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/qsynth/ChangeLog,v 1.48 2009/10/06 17:12:34 ayoy Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qsynth/ChangeLog,v 1.49 2010/04/27 19:07:14 aballier Exp $
+
+*qsynth-0.3.5 (27 Apr 2010)
+
+ 27 Apr 2010; Alexis Ballier <aballier@gentoo.org> +qsynth-0.3.5.ebuild:
+ version bump
06 Oct 2009; Dominik Kapusta <ayoy@gentoo.org> qsynth-0.3.4.ebuild:
Removed alternative dependency on Qt metapackage
diff --git a/media-sound/qsynth/Manifest b/media-sound/qsynth/Manifest
index 79804a033a00..e10dc039113e 100644
--- a/media-sound/qsynth/Manifest
+++ b/media-sound/qsynth/Manifest
@@ -3,14 +3,16 @@ Hash: SHA1
DIST qsynth-0.3.2.tar.gz 139129 RMD160 982fec5db78bb6fce1bb13326b8ba4f414513a7d SHA1 9344c72eb0a10497e2c42ba176eb2668b4b5a4ca SHA256 d747e6a3a1437580416a218df213624c2020a82bb261ac59d7bcfb821146d236
DIST qsynth-0.3.4.tar.gz 190655 RMD160 cf3b9327348dbfedc2bca14ad3a7458859870f83 SHA1 ce794fe0efd75b2130049ffbab4268df2dedff39 SHA256 87542acdd2d238d60d1fd26a61157fcdd34c1ce667543f564f31fd027ced8b07
+DIST qsynth-0.3.5.tar.gz 217618 RMD160 4d51dc3b0f82da9534e4e5f1ad469ea30ee7370e SHA1 482960612dbc1ff921ff4e3dc6c61f82b9fb9d83 SHA256 1b120d9ae87f8b4bdab8792e2991ade424b6544a22cf807c22cde5e89c8fa507
EBUILD qsynth-0.3.2.ebuild 1417 RMD160 3b5ce58073fe4dd8e6c9476cd3f9b6239b51308a SHA1 0dd20ad2a794c3751a37a67aaa872a5885814e12 SHA256 a0988b6e87b9b76091f84491b96a7b3eb53d2926c1decdb5cf82ad912dcc81a7
EBUILD qsynth-0.3.4.ebuild 1635 RMD160 37e2d427a24deee4c44a0c30b94621a70d1d6f2f SHA1 50f77083b5057bcfbdafbcdafc0035a063a9d3b4 SHA256 a344edd7a6bfd698565c2f91b1f13735462f7b7d28de6d6ec6df34c9a446779e
-MISC ChangeLog 8829 RMD160 404ac31018f3a486a3bcf28b2f335f4a2cf7eb91 SHA1 d759ba0bb819078782e086ef3c4988eb3b682b48 SHA256 51a6722523a3063abc57d173ae1e6e94d58dc3a8ac3b43dd332048a159fb0ab8
+EBUILD qsynth-0.3.5.ebuild 1701 RMD160 f8ce75cc6664815571fc36ce1cd8cf049f36030d SHA1 9e231b110b13e889408b078cc0bb943f11cbd5ef SHA256 b2ef1f504e05ab1a0687a196cff7f2f0e33377e3e9f5be92ba2bef1d1ca5c639
+MISC ChangeLog 8952 RMD160 7de28dc9cf2c695b23c19acedaa3e1ebd626d331 SHA1 f1fdabd252bee4b60e01e97720fc203c892e8040 SHA256 33cdbac7e99e1f02d198f3e319825a9e4be86979abc907ce7db937138f951463
MISC metadata.xml 643 RMD160 392f46e6a9607c1f90805225b4afaf21ec2e3c95 SHA1 6147c4982e9d5d57539c65571dd27c892483a960 SHA256 7bb3ca974f3b9456197c4298a283fbb2aa28061cd932a29ea234efe1c61876eb
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
+Version: GnuPG v2.0.15 (GNU/Linux)
-iEYEARECAAYFAkrLeo8ACgkQ+CZEqwt+F6YdMwCfW62P0UhkMr/oOBYbm11Hji3t
-FPAAn3rWj5cwwDG2wp8qu9WdZpOT6rWZ
-=aLoi
+iEYEARECAAYFAkvXNegACgkQvFcC4BYPU0oo3gCfWWE6wE9QT8Pt9KfQw9d2iVZ6
+vQAAoJVlPpmtUvao99etBGxRhtQrLtHO
+=EAe1
-----END PGP SIGNATURE-----
diff --git a/media-sound/qsynth/qsynth-0.3.5.ebuild b/media-sound/qsynth/qsynth-0.3.5.ebuild
new file mode 100644
index 000000000000..ba42b7abbbc3
--- /dev/null
+++ b/media-sound/qsynth/qsynth-0.3.5.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qsynth/qsynth-0.3.5.ebuild,v 1.1 2010/04/27 19:07:14 aballier Exp $
+
+EAPI=2
+
+inherit qt4 eutils flag-o-matic
+
+DESCRIPTION="A Qt application to control FluidSynth"
+HOMEPAGE="http://qsynth.sourceforge.net/"
+SRC_URI="mirror://sourceforge/qsynth/${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+IUSE="debug jack alsa pulseaudio"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+DEPEND="x11-libs/qt-core:4
+ x11-libs/qt-gui:4
+ >=media-sound/fluidsynth-1.0.7a[jack?,alsa?,pulseaudio?]
+ !pulseaudio? ( !jack? ( !alsa? ( >=media-sound/fluidsynth-1.0.7a[oss] ) ) )"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ # Stupidly, qsynth's configure does *not* use pkg-config to
+ # discover the presence of Qt4, but uses fixed paths; as they
+ # don't really work that well for our case, let's just use this
+ # nasty hack and be done with it. *NOTE*: this hinders
+ # cross-compile.
+ append-flags -I/usr/include/qt4
+ append-ldflags -L/usr/$(get_libdir)/qt4
+
+ econf \
+ $(use_enable debug) \
+ || die "econf failed"
+ eqmake4 "${PN}.pro" -o "${PN}.mak"
+}
+
+src_compile() {
+ lupdate "${PN}.pro" || die
+ emake || die
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS ChangeLog README TODO
+
+ # The desktop file is invalid, and we also change the command
+ # depending on useflags
+ rm -rf "${D}/usr/share/applications/qsynth.desktop"
+
+ local cmd
+ if use jack; then
+ cmd="qsynth"
+ elif use pulseaudio; then
+ cmd="qsynth -a pulseaudio"
+ elif use alsa; then
+ cmd="qsynth -a alsa"
+ else
+ cmd="qsynth -a oss"
+ fi
+
+ make_desktop_entry "${cmd}" Qsynth qsynth
+}