[proaudio] [1780] media-plugins/gst-buzztard-0.5.0 try fixing it

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Revision: 1780
Author:   gavlee
Date:     2010-10-23 15:32:26 +0200 (Sat, 23 Oct 2010)
Log Message:
-----------
media-plugins/gst-buzztard-0.5.0 try fixing it

Modified Paths:
--------------
    trunk/overlays/proaudio/media-plugins/gst-buzztard/ChangeLog
    trunk/overlays/proaudio/media-plugins/gst-buzztard/Manifest
    trunk/overlays/proaudio/media-plugins/gst-buzztard/gst-buzztard-0.5.0.ebuild
    trunk/overlays/proaudio/media-plugins/gst-buzztard/metadata.xml

Added Paths:
-----------
    trunk/overlays/proaudio/media-plugins/gst-buzztard/files/
    trunk/overlays/proaudio/media-plugins/gst-buzztard/files/gst-buzztard-0.5.0-no-automagic-deps.patch

Modified: trunk/overlays/proaudio/media-plugins/gst-buzztard/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-plugins/gst-buzztard/ChangeLog	2010-10-23 06:23:17 UTC (rev 1779)
+++ trunk/overlays/proaudio/media-plugins/gst-buzztard/ChangeLog	2010-10-23 13:32:26 UTC (rev 1780)
@@ -1,7 +1,13 @@
 # ChangeLog for media-plugins/gst-buzztard
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  23 Oct 2010; Gavin Pryke <gavinlee303@xxxxxxxxxxxxxx>
+  gst-buzztard-0.5.0.ebuild,
+  +files/gst-buzztard-0.5.0-no-automagic-deps.patch, metadata.xml:
+  add bml and fluidsynth USE flags, media-libs/bml is optional for loading
+  buzz machines. remove mad USE flag.
+
   30 Mar 2010; Stephane Angot <sa@xxxxxxxxx> +gst-buzztard-0.5.0.ebuild:
   version bump
   spring cleanup

Modified: trunk/overlays/proaudio/media-plugins/gst-buzztard/Manifest
===================================================================
--- trunk/overlays/proaudio/media-plugins/gst-buzztard/Manifest	2010-10-23 06:23:17 UTC (rev 1779)
+++ trunk/overlays/proaudio/media-plugins/gst-buzztard/Manifest	2010-10-23 13:32:26 UTC (rev 1780)
@@ -1,3 +1,4 @@
+AUX gst-buzztard-0.5.0-no-automagic-deps.patch 2324 RMD160 9b5a4236587410a4f37970258c4e2ef77b90760d SHA1 6fa6b427f7e7ff5fa473aff115a1ba8c8739524e SHA256 ccc080f82586dfa38ad569ec24136be66d53c28141378715a83c89728ba2b0c8
 DIST gst-buzztard-0.3.0.tar.gz 442716 RMD160 e9b1cac3e83b59502cbdb6b04f3d3400bbb348d7 SHA1 7ccc6fba35e370d62984382757fe9b76f03e837f SHA256 000a71dba3ca515d670642a56ad5e3dc99ff64d95e5c7ebef4f7b4ab37d86950
 DIST gst-buzztard-0.4.0.tar.gz 481896 RMD160 9980d625963af984679905fc4c57cf94a708359b SHA1 7094f08c4380e9574d4022873cb83ccde8cddd0a SHA256 13135ed6f91c12ed80c747d9105f35ce7e3a2803914f549531fc61a1705a302a
 DIST gst-buzztard-0.5.0.tar.gz 481852 RMD160 f5a8b4639ccb184a03f97c14ba122dfb2eb00312 SHA1 2b2ee15f7efaf33a5b9f84af16e638054af24ae2 SHA256 d321061b7f000e589de7c0e8c5e6ea9abd72e76a000ef79464130e47d0a93b9a
@@ -3,5 +4,5 @@
 EBUILD gst-buzztard-0.3.0.ebuild 628 RMD160 8ea7775f4f3e7a51420bcb1553b66fbd0fdecc00 SHA1 ed4bbed1591ee48297adcca2be2b8b6fdf710171 SHA256 fca292ab286ddb591fa45a0b1ad32da6875844fdd721aa784f5e759d77340539
 EBUILD gst-buzztard-0.4.0.ebuild 628 RMD160 8ea7775f4f3e7a51420bcb1553b66fbd0fdecc00 SHA1 ed4bbed1591ee48297adcca2be2b8b6fdf710171 SHA256 fca292ab286ddb591fa45a0b1ad32da6875844fdd721aa784f5e759d77340539
-EBUILD gst-buzztard-0.5.0.ebuild 628 RMD160 8ea7775f4f3e7a51420bcb1553b66fbd0fdecc00 SHA1 ed4bbed1591ee48297adcca2be2b8b6fdf710171 SHA256 fca292ab286ddb591fa45a0b1ad32da6875844fdd721aa784f5e759d77340539
-MISC ChangeLog 418 RMD160 86623f052fc085399f369005936d451cf9ce72b4 SHA1 3ddc77bcf45f4dd5f94c61069da1bee5505a4e36 SHA256 80e9fea1b07732e29892c2fa6ead959b02eada02367dc57f90eb2dafa74c5e00
-MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89
+EBUILD gst-buzztard-0.5.0.ebuild 858 RMD160 3b37e66a88ae0b40f8b95645bceebe22dd02fb8e SHA1 79960482f96ad427a79d43176f284e0f0193256e SHA256 dfd07e530845e6eb0c08b55601507e2e1f94fade54e20904240449aa01d6d450
+MISC ChangeLog 684 RMD160 7857738fea744f5ca706ba5f98ee2f57f4334e84 SHA1 44da4ea83571a794f943f8e1d6764ee881f29de7 SHA256 d5fb4a287848443b9e4ec8d13701d4569dfef58edf5de45a29ed059b139f7de5
+MISC metadata.xml 422 RMD160 add45697a2dc40cfab97ab2ee6771a32173f7dc6 SHA1 6c6f3833a5309b861e0f620409c08527925bcc42 SHA256 2cefcd60697113ebddd4886442c30e0a03a7a5998f0ae1c3941274d710c8ce54

Added: trunk/overlays/proaudio/media-plugins/gst-buzztard/files/gst-buzztard-0.5.0-no-automagic-deps.patch
===================================================================
--- trunk/overlays/proaudio/media-plugins/gst-buzztard/files/gst-buzztard-0.5.0-no-automagic-deps.patch	                        (rev 0)
+++ trunk/overlays/proaudio/media-plugins/gst-buzztard/files/gst-buzztard-0.5.0-no-automagic-deps.patch	2010-10-23 13:32:26 UTC (rev 1780)
@@ -0,0 +1,65 @@
+--- gst-buzztard-0.5.0/configure.ac.old	2010-10-23 13:49:23.000000000 +0100
++++ gst-buzztard-0.5.0/configure.ac	2010-10-23 14:05:37.000000000 +0100
+@@ -229,12 +229,15 @@
+ 
+ 
+ dnl - Check for buzzmachineloader (bml)
+-PKG_CHECK_MODULES(BML, libbml >= 0.5.0 liboil-0.3 >= 0.3.8,
+-    have_bml=yes, have_bml=no)
+-AC_SUBST(BML_CFLAGS)
+-AC_SUBST(BML_LIBS)
+-AM_CONDITIONAL(BML_SUPPORT, test "x$have_bml" = "xyes")
+-if test "x$have_bml" = "xyes"
++AC_ARG_WITH([bml], AS_HELP_STRING([--without-bml],
++	    [Build without bml library (default: test)]))
++if test "x$with_bml" != "xno" ; then
++  PKG_CHECK_MODULES(BML, libbml >= 0.5.0 liboil-0.3 >= 0.3.8)
++  AC_SUBST(BML_CFLAGS)
++  AC_SUBST(BML_LIBS)
++fi
++AM_CONDITIONAL(BML_SUPPORT, test "x$with_bml" = "xyes")
++if test "x$with_bml" = "xyes"
+ then
+   BML_DOC_TYPES=
+ else
+@@ -259,12 +262,15 @@
+ 
+ 
+ dnl - Check for FluidSynth
+-PKG_CHECK_MODULES(FLUIDSYNTH, fluidsynth >= 1.0,
+-    have_fluidsynth=yes, have_fluidsynth=no)
+-AC_SUBST(FLUIDSYNTH_CFLAGS)
+-AC_SUBST(FLUIDSYNTH_LIBS)
+-AM_CONDITIONAL(FLUIDSYNTH_SUPPORT, test "x$have_fluidsynth" = "xyes")
+-if test "x$have_fluidsynth" = "xyes"
++AC_ARG_WITH([fluidsynth], AS_HELP_STRING([--without-fluidsynth],
++	    [Build without fluidsynth support (default: test)]))
++if test "x$with_fluidsynth" != "xno"; then
++  PKG_CHECK_MODULES(FLUIDSYNTH, fluidsynth >= 1.0)
++  AC_SUBST(FLUIDSYNTH_CFLAGS)
++  AC_SUBST(FLUIDSYNTH_LIBS)
++fi
++AM_CONDITIONAL(FLUIDSYNTH_SUPPORT, test "x$with_fluidsynth" = "xyes")
++if test "x$with_fluidsynth" = "xyes"
+ then
+   FLUIDSYNTH_DOC_TYPES=
+ else
+@@ -337,15 +343,15 @@
+ 	Compiler                   : ${CC}
+ 
+ 	Documentation (API)        : ${enable_gtk_doc}
+-	Buzzmachine support        : ${have_bml}
+-	FluidSynth support         : ${have_fluidsynth}
++	Buzzmachine support        : ${with_bml}
++	FluidSynth support         : ${with_fluidsynth}
+ 
+ 	Debug                      : ${enable_debug}
+ 	Coverage profiling         : ${enable_coverage}
+ 	Use of deprecated API      : ${set_enable_deprecated}
+ "
+ 
+-if test "x${have_bml}" = "xno" -o "x${have_fluidsynth}" = "xno" ; then
++if test "x${with_bml}" = "xno" -o "x${with_fluidsynth}" = "xno" ; then
+ echo "
+ Some features are not built. If you like to have them built, please check that
+ you have the required -devel packages installed and that they can be found in

Modified: trunk/overlays/proaudio/media-plugins/gst-buzztard/gst-buzztard-0.5.0.ebuild
===================================================================
--- trunk/overlays/proaudio/media-plugins/gst-buzztard/gst-buzztard-0.5.0.ebuild	2010-10-23 06:23:17 UTC (rev 1779)
+++ trunk/overlays/proaudio/media-plugins/gst-buzztard/gst-buzztard-0.5.0.ebuild	2010-10-23 13:32:26 UTC (rev 1780)
@@ -2,6 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
+inherit eutils autotools
+
 DESCRIPTION="GStreamer plugin used by buzztard"
 HOMEPAGE="http://www.buzztard.org";
 SRC_URI="mirror://sourceforge/buzztard/${P}.tar.gz"
@@ -10,20 +12,27 @@
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="mad"
+IUSE="bml fluidsynth"
 
 RDEPEND=">=media-libs/gstreamer-0.10.11
 	>=media-libs/gst-plugins-base-0.10.0
 	>=media-libs/gst-plugins-good-0.10.0
-	media-sound/fluidsynth
-	mad? ( >=media-plugins/gst-plugins-mad-0.10.0 )"
+	bml? ( >=media-libs/bml-${PV} )
+	fluidsynth? ( media-sound/fluidsynth )"
 DEPEND="${RDEPEND}"
 
+src_unpack() {
+	unpack ${A}
+	cd "${S}"
+	epatch "${FILESDIR}/${P}-no-automagic-deps.patch"
+	eautoreconf
+}
+
 src_compile() {
-	econf || die
-	emake || die
+	econf $(use_with bml) $(use_with fluidsynth) || die "econf failed"
+	emake || die "emake failed"
 }
 
 src_install() {
-	einstall || die
+	einstall || die "einstall failed"
 }

Modified: trunk/overlays/proaudio/media-plugins/gst-buzztard/metadata.xml
===================================================================
--- trunk/overlays/proaudio/media-plugins/gst-buzztard/metadata.xml	2010-10-23 06:23:17 UTC (rev 1779)
+++ trunk/overlays/proaudio/media-plugins/gst-buzztard/metadata.xml	2010-10-23 13:32:26 UTC (rev 1780)
@@ -6,4 +6,8 @@
 		<email>proaudio@xxxxxxxxxxxxx</email>
 		<name>pro-audio overlay team</name>
 	</maintainer>
+	<use>
+		<flag name="bml">Enable the buzz machine loader through media-libs/bml</flag>
+		<flag name="fluidsynth">Enable fluidsynth support</flag>
+	</use>
 </pkgmetadata>


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/