summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-sound/qsynth/ChangeLog9
-rw-r--r--media-sound/qsynth/Manifest14
-rw-r--r--media-sound/qsynth/qsynth-0.3.4.ebuild62
3 files changed, 82 insertions, 3 deletions
diff --git a/media-sound/qsynth/ChangeLog b/media-sound/qsynth/ChangeLog
index d09b3c3c88ae..5539bed56077 100644
--- a/media-sound/qsynth/ChangeLog
+++ b/media-sound/qsynth/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/qsynth
-# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/qsynth/ChangeLog,v 1.46 2009/05/08 22:06:40 gentoofan23 Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qsynth/ChangeLog,v 1.47 2009/05/10 19:01:23 aballier Exp $
+
+*qsynth-0.3.4 (10 May 2009)
+
+ 10 May 2009; Alexis Ballier <aballier@gentoo.org> +qsynth-0.3.4.ebuild:
+ version bump
08 May 2009; Thomas Anderson <gentoofan23@gentoo.org>
-qsynth-0.3.1-r1.ebuild:
diff --git a/media-sound/qsynth/Manifest b/media-sound/qsynth/Manifest
index 3a2538a44ca6..8a0e175083c8 100644
--- a/media-sound/qsynth/Manifest
+++ b/media-sound/qsynth/Manifest
@@ -1,8 +1,20 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
DIST qsynth-0.3.2.tar.gz 139129 RMD160 982fec5db78bb6fce1bb13326b8ba4f414513a7d SHA1 9344c72eb0a10497e2c42ba176eb2668b4b5a4ca SHA256 d747e6a3a1437580416a218df213624c2020a82bb261ac59d7bcfb821146d236
DIST qsynth-0.3.3.tar.gz 183050 RMD160 c79911e32ff0d17e1b217f14a4b495def5d69ed1 SHA1 57f61084aeef6c5af40327bd7f5749325c7b7811 SHA256 5465a5a3b47b8c48ad1d85cf08396a350b16a924667751b3f75a32eaaec7d5ea
+DIST qsynth-0.3.4.tar.gz 190655 RMD160 cf3b9327348dbfedc2bca14ad3a7458859870f83 SHA1 ce794fe0efd75b2130049ffbab4268df2dedff39 SHA256 87542acdd2d238d60d1fd26a61157fcdd34c1ce667543f564f31fd027ced8b07
EBUILD qsynth-0.3.2.ebuild 2404 RMD160 3f6182e5987d945160d9a19648338377258263b3 SHA1 8ce83d96c39055cc45fb5ce4f1f204332fdfd687 SHA256 20b8b2206749ac668a802076f6d164e9cecde5c59fe6ccef6aae6115993effd7
EBUILD qsynth-0.3.3-r1.ebuild 1531 RMD160 90b2fdd998888a839e1e4ecf327482a0bc289e19 SHA1 8952ba89bbbddc79318591993029c5f850d4d2de SHA256 659e9864212022bad0677bd399016f87c411db04872883a4f2939036134636c1
EBUILD qsynth-0.3.3-r2.ebuild 1647 RMD160 b144de6c655c9be099c0a9033ed8729b2cb3320b SHA1 b46e417ba355f8dec62a6b5e03aa221165c036d1 SHA256 04fd6920b6355de80711de9554487967933051dcf4789a54c56155dc45fc8822
EBUILD qsynth-0.3.3.ebuild 2409 RMD160 c3a3ace83c6a17d8c697d91e63126aef52fff53f SHA1 cca597a7ba7e78614c31200a82d75440f21b60eb SHA256 06208126daf8069ae08bd42c17da13c6099d4e1f96d62cd3712e70be6ab792a1
-MISC ChangeLog 8595 RMD160 e8f714d2af35a03248ced111ddf7611ae0f278e5 SHA1 5044bd456fb602ca95d418f12a5f37970ad1d263 SHA256 08fbf34704d4e6bbcdda91e4fc0678b842f543c7147d4ddf668f1d08bf588d5b
+EBUILD qsynth-0.3.4.ebuild 1679 RMD160 6fdaadaa84093a1401881ce885e3371af54a69cd SHA1 825f90794ce982741660d59f7e1edf66d8cf2c1d SHA256 83cbdc2c136da14f9593e1fffc4a2d84837e7c1d096bae1d5e426f00033a767c
+MISC ChangeLog 8711 RMD160 7977c0ae30fbf7882974f74cd3040dbb88a62d09 SHA1 0a2bf4b48c2a8635e806ec6e681c4adb2526fdf9 SHA256 ab527b4befa892e1dfe8df64e8acfed7481e639c1a5235b00741fd2a7f63ed1f
MISC metadata.xml 643 RMD160 392f46e6a9607c1f90805225b4afaf21ec2e3c95 SHA1 6147c4982e9d5d57539c65571dd27c892483a960 SHA256 7bb3ca974f3b9456197c4298a283fbb2aa28061cd932a29ea234efe1c61876eb
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAkoHJIsACgkQvFcC4BYPU0rgQgCfT6eT5JaUIwv7QfjhANOuyu21
+8wgAnjdQH9mviJDE9vdkQMXHTbQ3Zvjy
+=myq+
+-----END PGP SIGNATURE-----
diff --git a/media-sound/qsynth/qsynth-0.3.4.ebuild b/media-sound/qsynth/qsynth-0.3.4.ebuild
new file mode 100644
index 000000000000..67a1afb037d4
--- /dev/null
+++ b/media-sound/qsynth/qsynth-0.3.4.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qsynth/qsynth-0.3.4.ebuild,v 1.1 2009/05/10 19:01:23 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
+ ) =x11-libs/qt-4.3*: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_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
+}