[proaudio] [2257] Changed the build system to autotools.

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


Revision: 2257
Author:   dominique
Date:     2012-11-03 18:57:42 +0100 (Sat, 03 Nov 2012)
Log Message:
-----------
Changed the build system to autotools. cmake is marked as experimental and fail with USE=lash. See bug 736462: <https://bugs.gentoo.org/show_bug.cgi?id=436762> Make USE=doc to install the API documentation Changed USE=float to USE=double

Modified Paths:
--------------
    trunk/overlays/proaudio/media-sound/fluidsynth/ChangeLog
    trunk/overlays/proaudio/media-sound/fluidsynth/Manifest
    trunk/overlays/proaudio/media-sound/fluidsynth/fluidsynth-9999.ebuild
    trunk/overlays/proaudio/media-sound/fluidsynth/metadata.xml

Modified: trunk/overlays/proaudio/media-sound/fluidsynth/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-sound/fluidsynth/ChangeLog	2012-11-01 16:05:06 UTC (rev 2256)
+++ trunk/overlays/proaudio/media-sound/fluidsynth/ChangeLog	2012-11-03 17:57:42 UTC (rev 2257)
@@ -4,6 +4,14 @@
 
 *fluidsynth-9999 (31 Aug 2010)
 
+  09 Nov 2012; Dominique Michel <dominique_libre@xxxxxxxxxxxxxxx>
+  fluidsynth-9999.ebuild:
+  - Changed the build system to autotools. cmake is marked as experimental
+  and fail with USE=lash. See bug 736462:
+  <https://bugs.gentoo.org/show_bug.cgi?id=436762>
+  - Make USE=doc to install the API documentation
+  - Changed USE=float to USE=double
+
   31 Aug 2010; Viktor Lazarev <taurus101v@xxxxxxxxx>
   +fluidsynth-9999.ebuild:
   Initial commit. This ebuild is based on an ebuild from Portage tree.

Modified: trunk/overlays/proaudio/media-sound/fluidsynth/Manifest
===================================================================
--- trunk/overlays/proaudio/media-sound/fluidsynth/Manifest	2012-11-01 16:05:06 UTC (rev 2256)
+++ trunk/overlays/proaudio/media-sound/fluidsynth/Manifest	2012-11-03 17:57:42 UTC (rev 2257)
@@ -1,3 +1,3 @@
-EBUILD fluidsynth-9999.ebuild 1782 RMD160 2d85fb21fc7983f6bab1a8ad09b37d8d90c0b42e SHA1 f51d4874bea4a831143bc2a368c0a2a97498b97a SHA256 147c2b16d870f92e12444a91abc4037a3f085df32f4594a54a81201c2ce24be8
-MISC ChangeLog 307 RMD160 dfe205b3d16b82e7a0e0b0a6e54a51187bc20905 SHA1 63bce4048bd555c9557bf919d1bca77f923bd729 SHA256 1578baa33cdb31ac2b098eb65a1615e479f321f331a59d611f437f00de01911c
-MISC metadata.xml 364 RMD160 d019b5434bf38a3d03b41f3fbcd41cbe33628ed0 SHA1 7871fcb482d645360bd347c119b6c9cd5be155d6 SHA256 8eecd5e6c8ed859d45906ed6c7c4f1c91b5f62127f9662d2dd2a5a770b3e2682
+EBUILD fluidsynth-9999.ebuild 1927 SHA256 3d31e1929f35c62d5dbe148ce1916709c0c965737abdf54e8ce22e017de8b028 SHA512 5260498f6fbd8c38ed94bd581dac008e0c424702b319cc0a450af4d438d51b138491a90720bc8c8a7fb0a92e7f7cf34a9e70afb5f6db88ec18193ba7529f0e97 WHIRLPOOL db7190d046b501d1cff5fc9a0d96c08b7b88089056f5c26192ecfb742f794337658d2b8393c21be07d0c1aa6b06397dc1570f974e31bb8121a49158cf7087fac
+MISC ChangeLog 654 SHA256 c7abca39da230515fb8569a285ab31a11cbe4190b97680544e742d4b17083faa SHA512 1440ed4c880da4456a28a9abd7fc541c36892de0445cd25f06d166ef9bfe8d4be0309e56ced9b4fe5567a085a8cbb3c73f3b2131f8ba24dbd1e0e60b134bf0f4 WHIRLPOOL 52850f7fa0051b11f1990ae05749457cf0af9b8bf322ae93e07d72b51117942713289ba0676f58aaf819ee022dd8dbec4d80c3a7d5c5e1b66fadfa0a88a62eef
+MISC metadata.xml 370 SHA256 e488e0afc17896b9dedf71dc6cfd33ade9acaf26323aba0e6af65f71e0d82455 SHA512 2bb212dcb2b02033726d20303ccea8f0f8a323c6935d0987cbd0a0d17e719043cad38e1eff49ce81268830dea1d30f6615fbbbf7c198ad7b2d78ed05b9b2a313 WHIRLPOOL 2060f49882dfd79cd94c67bb78591c7fa186e6c463421a65a868501024c2276a338ec63f4eb7112c6861f1b8d90f2fd4ee75ace2398b7fa30dcf62049f669ed1

Modified: trunk/overlays/proaudio/media-sound/fluidsynth/fluidsynth-9999.ebuild
===================================================================
--- trunk/overlays/proaudio/media-sound/fluidsynth/fluidsynth-9999.ebuild	2012-11-01 16:05:06 UTC (rev 2256)
+++ trunk/overlays/proaudio/media-sound/fluidsynth/fluidsynth-9999.ebuild	2012-11-03 17:57:42 UTC (rev 2257)
@@ -3,9 +3,9 @@
 # $Header: $
 
 EAPI="2"
-inherit cmake-utils subversion
+inherit autotools subversion
 
-IUSE="alsa dbus debug doc floats jack ladspa lash oss portaudio pulseaudio readline sndfile"
+IUSE="alsa dbus debug doc double jack ladspa lash oss portaudio pulseaudio readline sndfile"
 
 DESCRIPTION="Fluidsynth is a software real-time synthesizer based on the Soundfont 2 specifications."
 HOMEPAGE="http://www.fluidsynth.org/";
@@ -38,26 +38,44 @@
 	fi
 }
 
+src_prepare() {
+	eautoreconf
+}
+
 src_configure() {
-	local mycmakeargs=""
+	local myopts=""
 
 	if use alsa; then
-		mycmakeargs="$(cmake-utils_use lash enable-lash)"
+		myopts="$(use_enable lash)"
 	else
-		mycmakeargs="-Denable-lash=OFF"
+		myopts="--disable-lash"
 	fi
 
-	mycmakeargs+="
-	$(cmake-utils_use floats enable-floats)
-	$(cmake-utils_use ladspa enable-ladspa)
-	$(cmake-utils_use debug enable-debug)
-	$(cmake-utils_use sndfile enable-libsndfile)
-	$(cmake-utils_use pulseaudio enable-pulsaudio)
-	$(cmake-utils_use alsa enable-alsa)
-	$(cmake-utils_use portaudio enable-portaudio)
-	$(cmake-utils_use jack enable-jack)
-	$(cmake-utils_use readline enable-readline)
-	$(cmake-utils_use dbus enable-dbus)"
+	myopts+="
+	$(use_enable double)
+	$(use_enable ladspa)
+	$(use_enable debug)
+	$(use_enable sndfile libsndfile-support)
+	$(use_enable pulseaudio pulse-support)
+	$(use_enable alsa alsa-support)
+	$(use_enable portaudio portaudio-support)
+	$(use_enable jack jack-support)
+	$(use_with readline)
+	$(use_enable dbus dbus-support)"
 
-	cmake-utils_src_configure
+	econf $myopts
 }
+
+src_install() {
+	emake DESTDIR="${D}" install || die "emake install"
+	dodoc AUTHORS NEWS README THANKS TODO doc/*.txt
+	insinto /usr/share/doc/${PF}/pdf
+	doins doc/*.pdf
+
+	if use doc; then
+		cd doc
+		make doxygen
+		insinto /usr/share/doc/${PF}/html
+		doins api/html/*
+	fi
+}

Modified: trunk/overlays/proaudio/media-sound/fluidsynth/metadata.xml
===================================================================
--- trunk/overlays/proaudio/media-sound/fluidsynth/metadata.xml	2012-11-01 16:05:06 UTC (rev 2256)
+++ trunk/overlays/proaudio/media-sound/fluidsynth/metadata.xml	2012-11-03 17:57:42 UTC (rev 2257)
@@ -7,6 +7,6 @@
 		<name>pro-audio overlay team</name>
 	</maintainer>
 	<use>
-		<flag name="floats">Enable type float instead of double for DSP samples</flag>
+		<flag name="double">Enable type double float instead of float for DSP samples</flag>
 	</use>
 </pkgmetadata>


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