diff options
author | 2015-03-17 10:47:23 +0000 | |
---|---|---|
committer | 2015-03-17 10:47:23 +0000 | |
commit | 00f6a5cdb30088eacf0ee3224afeed5845231df6 (patch) | |
tree | 1eb0079970c08a80109a7dad6ab88fc079cf4821 /media-libs/stk | |
parent | Version bump (diff) | |
download | gentoo-2-00f6a5cdb30088eacf0ee3224afeed5845231df6.tar.gz gentoo-2-00f6a5cdb30088eacf0ee3224afeed5845231df6.tar.bz2 gentoo-2-00f6a5cdb30088eacf0ee3224afeed5845231df6.zip |
version bump
Signed-off-by: aballier@gentoo.org
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'media-libs/stk')
-rw-r--r-- | media-libs/stk/ChangeLog | 13 | ||||
-rw-r--r-- | media-libs/stk/files/stk-4.5.0/010_all_removeForcedFlags.patch | 13 | ||||
-rw-r--r-- | media-libs/stk/files/stk-4.5.0/020_all_noExamplesOrDemo.patch | 40 | ||||
-rw-r--r-- | media-libs/stk/files/stk-4.5.0/040_all_sharedliblink.patch | 13 | ||||
-rw-r--r-- | media-libs/stk/files/stk-4.5.0/050_all_cxxflags.patch | 13 | ||||
-rw-r--r-- | media-libs/stk/stk-4.5.0.ebuild | 69 |
6 files changed, 159 insertions, 2 deletions
diff --git a/media-libs/stk/ChangeLog b/media-libs/stk/ChangeLog index 0686d0b958de..1623e8212020 100644 --- a/media-libs/stk/ChangeLog +++ b/media-libs/stk/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for media-libs/stk -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/stk/ChangeLog,v 1.16 2013/03/17 15:52:47 hwoarang Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/stk/ChangeLog,v 1.17 2015/03/17 10:47:23 aballier Exp $ + +*stk-4.5.0 (17 Mar 2015) + + 17 Mar 2015; Alexis Ballier <aballier@gentoo.org> +stk-4.5.0.ebuild, + +files/stk-4.5.0/010_all_removeForcedFlags.patch, + +files/stk-4.5.0/020_all_noExamplesOrDemo.patch, + +files/stk-4.5.0/040_all_sharedliblink.patch, + +files/stk-4.5.0/050_all_cxxflags.patch: + version bump 17 Mar 2013; Markos Chandras <hwoarang@gentoo.org> metadata.xml: Add proxy-maintainers to metadata.xml diff --git a/media-libs/stk/files/stk-4.5.0/010_all_removeForcedFlags.patch b/media-libs/stk/files/stk-4.5.0/010_all_removeForcedFlags.patch new file mode 100644 index 000000000000..3fcc28fb763c --- /dev/null +++ b/media-libs/stk/files/stk-4.5.0/010_all_removeForcedFlags.patch @@ -0,0 +1,13 @@ +Index: stk-4.4.3/configure.ac +=================================================================== +--- stk-4.4.3.orig/configure.ac ++++ stk-4.4.3/configure.ac +@@ -65,7 +65,7 @@ if test "$debug" = "yes"; then + else + AC_SUBST( debug, [no] ) + AC_SUBST( cppflag, [] ) +- AC_SUBST( cxxflag, [-O3] ) ++ AC_SUBST( cxxflag, [] ) + AC_SUBST( object_path, [Release] ) + fi + AC_MSG_RESULT($debug) diff --git a/media-libs/stk/files/stk-4.5.0/020_all_noExamplesOrDemo.patch b/media-libs/stk/files/stk-4.5.0/020_all_noExamplesOrDemo.patch new file mode 100644 index 000000000000..77d643593b47 --- /dev/null +++ b/media-libs/stk/files/stk-4.5.0/020_all_noExamplesOrDemo.patch @@ -0,0 +1,40 @@ +Index: stk-4.5.0/Makefile.in +=================================================================== +--- stk-4.5.0.orig/Makefile.in ++++ stk-4.5.0/Makefile.in +@@ -6,35 +6,14 @@ REALTIME = @realtime@ + + all : + cd src && $(MAKE) +- cd projects/demo && $(MAKE) libdemo +-ifeq ($(REALTIME),yes) +- cd projects/effects && $(MAKE) libeffects +- cd projects/ragamatic && $(MAKE) libragamat +- cd projects/eguitar && $(MAKE) libeguitar +-endif +- cd projects/examples && $(MAKE) -f libMakefile + + clean : + $(RM) -f *~ + cd src && $(MAKE) clean +- cd projects/demo && $(MAKE) clean +-ifeq ($(REALTIME),yes) +- cd projects/effects && $(MAKE) clean +- cd projects/ragamatic && $(MAKE) clean +- cd projects/eguitar && $(MAKE) clean +-endif +- 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 +-ifeq ($(REALTIME),yes) +- cd projects/effects && $(MAKE) distclean +- cd projects/ragamatic && $(MAKE) distclean +- cd projects/eguitar && $(MAKE) distclean +-endif +- cd projects/examples && $(MAKE) distclean + + install: + $(MAKE) -C src install diff --git a/media-libs/stk/files/stk-4.5.0/040_all_sharedliblink.patch b/media-libs/stk/files/stk-4.5.0/040_all_sharedliblink.patch new file mode 100644 index 000000000000..6f267b79bd67 --- /dev/null +++ b/media-libs/stk/files/stk-4.5.0/040_all_sharedliblink.patch @@ -0,0 +1,13 @@ +Index: stk-4.4.3/src/Makefile.in +=================================================================== +--- stk-4.4.3.orig/src/Makefile.in ++++ stk-4.4.3/src/Makefile.in +@@ -74,7 +74,7 @@ $(SHAREDLIB) : $(OBJECTS) + $(RM) -f $(@) $(SHAREDLIB).$(MAJOR) $(SHAREDLIB) + $(CC) $(LDFLAGS) -fPIC @libflags@ $(OBJECT_PATH)/*.o $(LIBS) + $(LN) -s @sharedname@ $(SHAREDLIB) +-# $(LN) -s @sharedname@ $(SHAREDLIB).$(MAJOR) ++ $(LN) -s @sharedname@ $(SHAREDLIB).$(MAJOR) + + $(OBJECTS) : Stk.h + diff --git a/media-libs/stk/files/stk-4.5.0/050_all_cxxflags.patch b/media-libs/stk/files/stk-4.5.0/050_all_cxxflags.patch new file mode 100644 index 000000000000..d2cc4e5be330 --- /dev/null +++ b/media-libs/stk/files/stk-4.5.0/050_all_cxxflags.patch @@ -0,0 +1,13 @@ +Index: stk-4.5.0/configure.ac +=================================================================== +--- stk-4.5.0.orig/configure.ac ++++ stk-4.5.0/configure.ac +@@ -100,7 +100,7 @@ fi + CPPFLAGS="$CPPFLAGS $cppflag" + + # For debugging and optimization ... overwrite default because it has both -g and -O2 +-CXXFLAGS="$cxxflag" ++CXXFLAGS="$CXXFLAGS $cxxflag" + + # Check compiler and use -Wall if gnu. + if [test $GXX = "yes" ;] then diff --git a/media-libs/stk/stk-4.5.0.ebuild b/media-libs/stk/stk-4.5.0.ebuild new file mode 100644 index 000000000000..2f25fb48f5a7 --- /dev/null +++ b/media-libs/stk/stk-4.5.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/stk/stk-4.5.0.ebuild,v 1.1 2015/03/17 10:47:23 aballier Exp $ + +EAPI=5 + +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 static-libs" + +RDEPEND="alsa? ( media-libs/alsa-lib ) + jack? ( media-sound/jack-audio-connection-kit )" +DEPEND="${RDEPEND} + virtual/pkgconfig + dev-lang/perl" + +src_prepare() { + EPATCH_SUFFIX="patch" epatch "${FILESDIR}/${P}" + eautoreconf +} + +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} \ + --enable-shared \ + $(use_enable static-libs static) \ + RAWWAVE_PATH=/usr/share/stk/rawwaves/ +} + +src_install() { + dodoc README.md + + # install the lib + dolib src/libstk.* + + # install headers + insinto /usr/include/stk + doins include/*.h include/*.msg include/*.tbl + + # install rawwaves + insinto /usr/share/stk/rawwaves + doins rawwaves/*.raw + + # install docs + if use doc; then + dohtml -r doc/html/* + fi +} |