[proaudio] [1601] stk: version bump 4.4.2 (see bgo #309037), cleanup

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


Revision: 1601
Author:   gentoid
Date:     2010-04-04 20:09:21 +0200 (Sun, 04 Apr 2010)
Log Message:
-----------
stk: version bump 4.4.2 (see bgo #309037), cleanup

Modified Paths:
--------------
    trunk/overlays/proaudio/media-libs/stk/ChangeLog
    trunk/overlays/proaudio/media-libs/stk/Manifest
    trunk/overlays/proaudio/media-libs/stk/stk-4.3.1.ebuild

Added Paths:
-----------
    trunk/overlays/proaudio/media-libs/stk/files/stk-4.4.2/
    trunk/overlays/proaudio/media-libs/stk/files/stk-4.4.2/noExamplesOrDemo.patch
    trunk/overlays/proaudio/media-libs/stk/files/stk-4.4.2/removeForcedFlags.patch
    trunk/overlays/proaudio/media-libs/stk/stk-4.4.2.ebuild

Modified: trunk/overlays/proaudio/media-libs/stk/ChangeLog
===================================================================
--- trunk/overlays/proaudio/media-libs/stk/ChangeLog	2010-04-04 17:13:15 UTC (rev 1600)
+++ trunk/overlays/proaudio/media-libs/stk/ChangeLog	2010-04-04 18:09:21 UTC (rev 1601)
@@ -1,7 +1,14 @@
-# ChangeLog for media-sound/stk
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# ChangeLog for media-libs/stk
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*stk-4.4.2 (04 Apr 2010)
+
+  04 Apr 2010; Viktor Lazarev <taurus101v@xxxxxxxxx> stk-4.3.1.ebuild,
+  +stk-4.4.2.ebuild, +files/stk-4.4.2/noExamplesOrDemo.patch,
+  +files/stk-4.4.2/removeForcedFlags.patch:
+  Version bump, add patches (see bgo #309037). Removed `midi` USE
+
   04 Aug 2008; Dominique Michel <dominique@xxxxxxxxxxxxx>
   Removed alsa-lib midi USE check
 

Modified: trunk/overlays/proaudio/media-libs/stk/Manifest
===================================================================
--- trunk/overlays/proaudio/media-libs/stk/Manifest	2010-04-04 17:13:15 UTC (rev 1600)
+++ trunk/overlays/proaudio/media-libs/stk/Manifest	2010-04-04 18:09:21 UTC (rev 1601)
@@ -4,7 +4,11 @@
 AUX stk-4.3.1-gcc44.patch 762 RMD160 8cb1a9d3163615a3cd4628996fa7936b8cf96e65 SHA1 34f1fa380c24d7b546ffd496146370aa131d330e SHA256 ce94cbb0b9366084fa9e03d2531cfe58b6729340fb853f6e083e2772183e27c6
 AUX stk-4.3.1-ldflags.patch 14109 RMD160 53aac79e1acd8072436abc226a1a785824a4150e SHA1 c3aa6b7319bdd1ade81ad4514ccfe756c034428d SHA256 b6471df0ffbefbb71e184f84da9df2e7d6647261907d338dab18edcd7efadc18
 AUX stk-4.3.1-missing.patch 184 RMD160 7934473e75e5dfb7a7abbaba321b0ac24d6ad485 SHA1 306fdf8dbe2f265dfc3a983d851c26915ecac413 SHA256 413f49d39320c4c5af3da6c45f2927fc75eac101cd64c8d0fcc1a054907ed3cb
+AUX stk-4.4.2/noExamplesOrDemo.patch 818 RMD160 8f80a99574a65b601f7c791148bf701b0463136a SHA1 524c3e6f7f13663b2f6f7a08be8a1ee2fb17b344 SHA256 09e2d2e037c33fc6e81e5bf56a07ac3c33a1438e2451a666e22c1194a37fcb83
+AUX stk-4.4.2/removeForcedFlags.patch 982 RMD160 9e5fb0804f3858e5c8ce8f67801040ff89853165 SHA1 3920d767b0e95538acae4eb48f730d302a131a89 SHA256 a99175d83a03b8d69f27f2cc80b3fb195a41a0877f2cb58a3fca936bb5798bd8
 DIST stk-4.3.1.tar.gz 1952667 RMD160 f0cde3c13af08f4ae58174272bfd09df6f00fec1 SHA1 56922c001f9fc8f7c5cefe5f0c2e64ffa273dffe SHA256 e87fae4fe4e4681185afb752f5ce90cf8fcf16600a0c76d025a3f638be32cee0
-EBUILD stk-4.3.1.ebuild 2727 RMD160 31a3e3927266caab9e4f8d620698bdb295970d81 SHA1 4025881813cd3846b857d06986d0bd4b8c99ae1c SHA256 0e7a501ee5410a8ef9c8abd65130541f4201b6e8f1389e2c71952e8e8353d85e
-MISC ChangeLog 669 RMD160 d16c23db05091e9579e73987187ede5465b5c94a SHA1 47dc07e40c852f43b1044f973bc8bddf6dde53be SHA256 1620320fd45b56d6e7dbf28cb212ca6cec13b20495f7d4bc6f8630fe14014cac
+DIST stk-4.4.2.tar.gz 2056848 RMD160 7226186bea51f59a0a08ef51dc366cf41a6fc39b SHA1 f610edc8c1367a96a78314d4113b105369ea5fa7 SHA256 8bef3ab3de10dc587afac47aa7710f3579bd39d6aaf2f155305ad94f81e3c17a
+EBUILD stk-4.3.1.ebuild 2689 RMD160 c8839e01f291ebb1b663a83d9069cc86a2f2a888 SHA1 2316e125963e20a4876ef35a925edd1f280b4e55 SHA256 807ca34de1ae0373128b5131bafdba79a723abe7a1c2cfb04708eb50db9ee63e
+EBUILD stk-4.4.2.ebuild 1661 RMD160 47eabf398f5c98970ccfa3fe2a75336dd3ff44cb SHA1 242b9ff6ff4670896b0fec2fd617e9ba55a08ebb SHA256 6f863ef61ba766c8c60aa9fb3b93682b980ec5afe1a1fab42c486f238f5653f6
+MISC ChangeLog 938 RMD160 7757d25a166049ea104308ec5bf11ce1726a9289 SHA1 12aaf2a7508708198accec135f40491c848c30a5 SHA256 4970c4f175267e0627f4927162de7d7a97ca8ea82caa47676a0becc772454be3
 MISC metadata.xml 268 RMD160 facc07bd885f20615a1f2555069329c642e1a566 SHA1 2456bdb8a218c9d477d2d6ee4bf158de070c7be4 SHA256 96629b266b743f566c29158d4498edeeb1cd6b1f0cd9629e42d4f10b4da82f89

Added: trunk/overlays/proaudio/media-libs/stk/files/stk-4.4.2/noExamplesOrDemo.patch
===================================================================
--- trunk/overlays/proaudio/media-libs/stk/files/stk-4.4.2/noExamplesOrDemo.patch	                        (rev 0)
+++ trunk/overlays/proaudio/media-libs/stk/files/stk-4.4.2/noExamplesOrDemo.patch	2010-04-04 18:09:21 UTC (rev 1601)
@@ -0,0 +1,27 @@
+--- Makefile.in~	2010-02-04 15:52:39.000000000 -0500
++++ Makefile.in	2010-03-11 22:53:24.000000000 -0500
+@@ -2,24 +2,12 @@
+ 
+ all :
+ 	cd src && $(MAKE)
+-	cd projects/demo && $(MAKE) libdemo
+-	cd projects/effects && $(MAKE) libeffects
+-	cd projects/ragamatic && $(MAKE) libragamat
+-	cd projects/examples && $(MAKE) -f libMakefile
+ 
+ clean : 
+ 	-rm -f *~
+ 	cd src && $(MAKE) clean
+-	cd projects/demo && $(MAKE) clean
+-	cd projects/effects && $(MAKE) clean
+-	cd projects/ragamatic && $(MAKE) clean
+-	cd projects/examples && $(MAKE) clean
+ 
+ distclean: clean
+ 	-rm -rf config.log config.status autom4te.cache Makefile
+ 	cd src && $(MAKE) distclean
+-	cd projects/demo && $(MAKE) distclean
+-	cd projects/effects && $(MAKE) distclean
+-	cd projects/ragamatic && $(MAKE) distclean
+-	cd projects/examples && $(MAKE) distclean
+ 

Added: trunk/overlays/proaudio/media-libs/stk/files/stk-4.4.2/removeForcedFlags.patch
===================================================================
--- trunk/overlays/proaudio/media-libs/stk/files/stk-4.4.2/removeForcedFlags.patch	                        (rev 0)
+++ trunk/overlays/proaudio/media-libs/stk/files/stk-4.4.2/removeForcedFlags.patch	2010-04-04 18:09:21 UTC (rev 1601)
@@ -0,0 +1,25 @@
+--- stk-4.4.2/configure.ac	2010-02-04 15:52:39.000000000 -0500
++++ configure.ac	2010-03-11 23:55:44.000000000 -0500
+@@ -51,7 +51,7 @@
+ AC_ARG_ENABLE(debug,
+   [  --enable-debug = enable various debug output],
+   [AC_SUBST( cppflag, ["-D_STK_DEBUG_ -D__RTAUDIO_DEBUG__ -D__RTMIDI_DEBUG__"] ) AC_SUBST( cxxflag, ["-g"] ) AC_SUBST( object_path, [Debug] ) AC_MSG_RESULT(yes)],
+-  [AC_SUBST( cppflag, [] ) AC_SUBST( cxxflag, [-O3] ) AC_SUBST( object_path, [Release] ) AC_MSG_RESULT(no)])
++  [AC_SUBST( cppflag, [] ) AC_SUBST( cxxflag, [] ) AC_SUBST( object_path, [Release] ) AC_MSG_RESULT(no)])
+ 
+ # Checks for functions
+ if test $realtime = yes; then
+@@ -63,12 +63,7 @@
+ CPPFLAGS="$CPPFLAGS $cppflag"
+ 
+ # For debugging and optimization ... overwrite default because it has both -g and -O2
+-CXXFLAGS="$cxxflag"
+-
+-# Check compiler and use -Wall if gnu.
+-if [test $GXX = "yes" ;] then
+-  AC_SUBST( cxxflag, [-Wall] )
+-fi
++CXXFLAGS="$cxxflag $CXXFLAGS"
+ 
+ CXXFLAGS="$CXXFLAGS $cxxflag"
+ 

Modified: trunk/overlays/proaudio/media-libs/stk/stk-4.3.1.ebuild
===================================================================
--- trunk/overlays/proaudio/media-libs/stk/stk-4.3.1.ebuild	2010-04-04 17:13:15 UTC (rev 1600)
+++ trunk/overlays/proaudio/media-libs/stk/stk-4.3.1.ebuild	2010-04-04 18:09:21 UTC (rev 1601)
@@ -1,4 +1,4 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -11,11 +11,10 @@
 LICENSE="as-is"
 SLOT="0"
 KEYWORDS="~x86 ~amd64"
-IUSE="alsa debug doc examples jack midi oss"
+IUSE="alsa debug doc examples jack oss"
 
 RDEPEND="alsa? ( media-libs/alsa-lib )
-	jack? ( media-sound/jack-audio-connection-kit )
-	midi? ( media-libs/alsa-lib )"
+	jack? ( media-sound/jack-audio-connection-kit )"
 DEPEND="${RDEPEND}
 	dev-lang/perl"
 
@@ -30,7 +29,7 @@
 	epatch "${FILESDIR}/${P}-gcc44.patch"
 	eautoreconf
 }
-		
+
 src_compile() {
 	econf \
 		`use_with alsa` \

Added: trunk/overlays/proaudio/media-libs/stk/stk-4.4.2.ebuild
===================================================================
--- trunk/overlays/proaudio/media-libs/stk/stk-4.4.2.ebuild	                        (rev 0)
+++ trunk/overlays/proaudio/media-libs/stk/stk-4.4.2.ebuild	2010-04-04 18:09:21 UTC (rev 1601)
@@ -0,0 +1,66 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+inherit eutils autotools
+
+DESCRIPTION="Synthesis ToolKit in C++"
+HOMEPAGE="http://ccrma.stanford.edu/software/stk/";
+SRC_URI="http://ccrma.stanford.edu/software/stk/release/${P}.tar.gz";
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa debug doc jack oss"
+
+RDEPEND="alsa? ( media-libs/alsa-lib )
+	jack? ( media-sound/jack-audio-connection-kit )"
+DEPEND="${RDEPEND}
+	dev-util/pkgconfig
+	dev-lang/perl"
+
+src_prepare() {
+	epatch "${FILESDIR}/${PF}/removeForcedFlags.patch"
+	epatch "${FILESDIR}/${PF}/noExamplesOrDemo.patch"
+	eautoconf
+}
+
+src_configure() {
+
+#breaks with --disable-foo...uses as --enable-foo
+	local myconf
+	if use debug; then
+		myconf="${myconf} --enable-debug"
+	fi
+	if use oss; then
+		myconf="${myconf} --with-oss"
+	fi
+	if use alsa; then
+		myconf="${myconf} --with-alsa"
+	fi
+	if use jack; then
+		myconf="${myconf} --with-jack"
+	fi
+
+	econf ${myconf} \
+		RAWWAVE_PATH=/usr/share/stk/rawwaves/ \
+		|| die "configure failed!"
+}
+
+src_install() {
+	dodoc README || die "Failed to install README"
+	# install the lib
+	dolib src/libstk.* || die "Failed to install libstk.*"
+	# install headers
+	insinto /usr/include/stk || die "Failed to create header directory."
+	doins include/*.h include/*.msg include/*.tbl \
+		|| die "Failed to install msg, tbl and h files."
+	# install rawwaves
+	insinto /usr/share/stk/rawwaves || die "Failed to create rawwave directory."
+	doins rawwaves/*.raw || die "Failed to install rawwave files."
+	# install docs
+	if use doc; then
+		dohtml -r doc/html/* || die "Failed to install docs."
+	fi
+}


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