summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-04-15 20:02:37 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-04-15 20:02:37 +0000
commit15954ea4e8cc06070069ddc1b111de354af94ed0 (patch)
tree4f6e76ad40f9c9ce685ca94d01db6efa3d262a11 /media-sound/qsynth
parentMarking DirectFB-1.2.7 ppc64 for bug 265042 (diff)
downloadhistorical-15954ea4e8cc06070069ddc1b111de354af94ed0.tar.gz
historical-15954ea4e8cc06070069ddc1b111de354af94ed0.tar.bz2
historical-15954ea4e8cc06070069ddc1b111de354af94ed0.zip
Add a new qsynth ebuild that allows to specify the pulseaudio output as default, to go with the new fluidsynth.
Package-Manager: portage-2.2_rc30/cvs/Linux x86_64
Diffstat (limited to 'media-sound/qsynth')
-rw-r--r--media-sound/qsynth/ChangeLog11
-rw-r--r--media-sound/qsynth/Manifest11
-rw-r--r--media-sound/qsynth/qsynth-0.3.3-r2.ebuild61
3 files changed, 76 insertions, 7 deletions
diff --git a/media-sound/qsynth/ChangeLog b/media-sound/qsynth/ChangeLog
index ae6f2e1e5dd6..a8871d1c0d1e 100644
--- a/media-sound/qsynth/ChangeLog
+++ b/media-sound/qsynth/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-sound/qsynth
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/qsynth/ChangeLog,v 1.44 2008/10/10 12:29:34 flameeyes Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qsynth/ChangeLog,v 1.45 2009/04/15 20:02:37 flameeyes Exp $
+
+*qsynth-0.3.3-r2 (15 Apr 2009)
+
+ 15 Apr 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ +qsynth-0.3.3-r2.ebuild:
+ Add a new qsynth ebuild that allows to specify the pulseaudio output as
+ default, to go with the new fluidsynth.
*qsynth-0.3.3-r1 (10 Oct 2008)
diff --git a/media-sound/qsynth/Manifest b/media-sound/qsynth/Manifest
index fb6420190427..f89711b9442d 100644
--- a/media-sound/qsynth/Manifest
+++ b/media-sound/qsynth/Manifest
@@ -7,13 +7,14 @@ DIST qsynth-0.3.3.tar.gz 183050 RMD160 c79911e32ff0d17e1b217f14a4b495def5d69ed1
EBUILD qsynth-0.3.1-r1.ebuild 2349 RMD160 ef729d9cd44bbe3d8bb86965e3cd92cabe540759 SHA1 a73f385cd18a093b12f70f49bfd7fe2dc2ce3b98 SHA256 8e4649f0019fcd55d62e60426bda98285cd3fb534825661d05049946f84251b6
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 8265 RMD160 e754262c7b950cd571b12380c6c4cb3863498267 SHA1 4abc7c441786ae789151062608f5d72ee7db7002 SHA256 4ebfe9b1bf8d89bf94e05eef2031ac8ef964549026c09691ff5a90d2edec05d0
+MISC ChangeLog 8497 RMD160 941fc6ba80f34f00f41080b65f6066262ab2e5e7 SHA1 c46b3efd6be63c013be6f1202a06372e266776f8 SHA256 5f78abfb1f30c0246793fbbf7d122432d24cc1e37071ebc307c3dcc8877501e3
MISC metadata.xml 643 RMD160 392f46e6a9607c1f90805225b4afaf21ec2e3c95 SHA1 6147c4982e9d5d57539c65571dd27c892483a960 SHA256 7bb3ca974f3b9456197c4298a283fbb2aa28061cd932a29ea234efe1c61876eb
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
+Version: GnuPG v2.0.11 (GNU/Linux)
-iEYEARECAAYFAkjvSrQACgkQAiZjviIA2XimPgCgnv+9NLqX7GtZGEF4tMKi8O/b
-boIAoMi97kfVMX2i2kJuhXj4aN60dB0W
-=Q4ZC
+iEYEARECAAYFAknmPWMACgkQAiZjviIA2XiwJQCfax8CWLBoZ8Zcyo8dYIxqGtlr
+qdsAoNei2tObnkMrmMbJAIwI4sV7U8Q7
+=vKiR
-----END PGP SIGNATURE-----
diff --git a/media-sound/qsynth/qsynth-0.3.3-r2.ebuild b/media-sound/qsynth/qsynth-0.3.3-r2.ebuild
new file mode 100644
index 000000000000..6f829df44865
--- /dev/null
+++ b/media-sound/qsynth/qsynth-0.3.3-r2.ebuild
@@ -0,0 +1,61 @@
+# 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.3-r2.ebuild,v 1.1 2009/04/15 20:02:37 flameeyes 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"
+}
+
+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
+}