summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-07-11 17:20:53 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-07-11 17:20:53 +0000
commitc983ca784b888c4494bc4a5638e4e360a7022179 (patch)
tree1383a7934fddd4ee9fdbcdc191e48ec9c42f6264 /media-sound/qsynth
parentremove old/broken openssl-blacklist versions (diff)
downloadhistorical-c983ca784b888c4494bc4a5638e4e360a7022179.tar.gz
historical-c983ca784b888c4494bc4a5638e4e360a7022179.tar.bz2
historical-c983ca784b888c4494bc4a5638e4e360a7022179.zip
version bump
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.25.7 x86_64
Diffstat (limited to 'media-sound/qsynth')
-rw-r--r--media-sound/qsynth/ChangeLog7
-rw-r--r--media-sound/qsynth/Manifest14
-rw-r--r--media-sound/qsynth/qsynth-0.3.3.ebuild83
3 files changed, 102 insertions, 2 deletions
diff --git a/media-sound/qsynth/ChangeLog b/media-sound/qsynth/ChangeLog
index 2fb462b1a78c..902fbbc00760 100644
--- a/media-sound/qsynth/ChangeLog
+++ b/media-sound/qsynth/ChangeLog
@@ -1,6 +1,11 @@
# 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.40 2008/04/28 18:07:44 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qsynth/ChangeLog,v 1.41 2008/07/11 17:20:53 aballier Exp $
+
+*qsynth-0.3.3 (11 Jul 2008)
+
+ 11 Jul 2008; Alexis Ballier <aballier@gentoo.org> +qsynth-0.3.3.ebuild:
+ version bump
28 Apr 2008; Raúl Porcel <armin76@gentoo.org> qsynth-0.3.2.ebuild:
sparc stable wrt #217727
diff --git a/media-sound/qsynth/Manifest b/media-sound/qsynth/Manifest
index 940417e94c3a..1a2e61659840 100644
--- a/media-sound/qsynth/Manifest
+++ b/media-sound/qsynth/Manifest
@@ -1,6 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
DIST qsynth-0.3.1.tar.gz 137632 RMD160 276937ef5d118bd651556332290780cc9a48ecdc SHA1 db43f22faf5bc9345572935e9e03cf48d0e9bd0d SHA256 56d0c14f85a9469df97df2d813860a471a71e2206e7e11365e37a3be028a2aa6
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
EBUILD qsynth-0.3.1-r1.ebuild 2346 RMD160 2204a955ef882ef92d52eddebd6210d07e2b1609 SHA1 7a30d787b78e3f57b66424a3a33543b264fc75c8 SHA256 c551a2013e1d6cdd72f09f8f7193dd2101b64a2acfc53bcccb0b1ec18b99ecde
EBUILD qsynth-0.3.2.ebuild 2406 RMD160 c0d6166b520cf228061f3edd54530b383b6ae200 SHA1 ca8c4949b905ad06101602826fd389c4847682dc SHA256 7ec0414fad511cfdf8ca184b02a8dd095ee756eac381158475cb8fde2ee1825e
-MISC ChangeLog 7716 RMD160 0473ac38db697ff7ce412ea4ab42258d95d15fb9 SHA1 d94a0bd5f9f592f85b6839c2796beb3c5ed82acb SHA256 aaec6e106cb65045df3cfec74f2bb80e252d655736cc3f44251049246e9eeaba
+EBUILD qsynth-0.3.3.ebuild 2412 RMD160 dd26ab600aae1958d6e6003c5f68c394efaa6bee SHA1 7d22803c7ca39dfb609c675822cf7b353a35dff7 SHA256 92ab8025a5a2cc2cf27023c1dbaefd5414bbf5de7e28fa54439c03a0c105f6ce
+MISC ChangeLog 7836 RMD160 7e8650686891bd5a9cc15270ee5f3e5d138407b2 SHA1 fc02b59f9e630fd835996602a591487d84340114 SHA256 a519e59290636bcaff4af86de983411eef848272e1609778873150cc0e133370
MISC metadata.xml 643 RMD160 392f46e6a9607c1f90805225b4afaf21ec2e3c95 SHA1 6147c4982e9d5d57539c65571dd27c892483a960 SHA256 7bb3ca974f3b9456197c4298a283fbb2aa28061cd932a29ea234efe1c61876eb
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkh3lnsACgkQvFcC4BYPU0oh0ACbBTgP6gL+fGZLI8kK1yihInFJ
+O4IAoL8usAdFhZfyxqkuC1QXaXCBbngy
+=iD4i
+-----END PGP SIGNATURE-----
diff --git a/media-sound/qsynth/qsynth-0.3.3.ebuild b/media-sound/qsynth/qsynth-0.3.3.ebuild
new file mode 100644
index 000000000000..63b27053ce28
--- /dev/null
+++ b/media-sound/qsynth/qsynth-0.3.3.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2008 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.ebuild,v 1.1 2008/07/11 17:20:53 aballier Exp $
+
+EAPI=1
+
+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"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+DEPEND="
+ || ( (
+ x11-libs/qt-core:4
+ x11-libs/qt-gui:4
+ ) >=x11-libs/qt-4.2:4 )
+ >=media-sound/fluidsynth-1.0.7a"
+
+pkg_setup() {
+ if use jack; then
+ if ! built_with_use media-sound/fluidsynth jack; then
+ eerror "To use Qsynth with JACK, you need to build media-sound/fluidsynth"
+ eerror "with the jack USE flag enabled."
+ die "Missing jack USE flag on media-sound/fluidsynth"
+ fi
+ einfo "Enabling default JACK output."
+ elif use alsa; then
+ if ! built_with_use media-sound/fluidsynth alsa; then
+ eerror "To use Qsynth with ALSA, you need to build media-sound/fluidsynth"
+ eerror "with the alsa USE flag enabled."
+ die "Missing alsa USE flag on media-sound/fluidsynth"
+ fi
+ einfo "Enabling non-default ALSA output."
+ else
+ if ! built_with_use media-sound/fluidsynth oss; then
+ eerror "If you don't want to use either JACK or ALSA on Qsynth"
+ eerror "you need to enable the oss USE flag on media-sound/fluidsynth"
+ die "Missing oss USE flag on media-sound/fluidsynth"
+ fi
+ einfo "Enabling non-default OSS output."
+ fi
+}
+
+src_compile() {
+ # 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"
+ emake || die "emake 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 alsa; then
+ cmd="qsynth -a alsa"
+ else
+ cmd="qsynth -a oss"
+ fi
+
+ make_desktop_entry "${cmd}" Qsynth qsynth
+}