diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-libs/stk | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-libs/stk')
-rw-r--r-- | media-libs/stk/Manifest | 2 | ||||
-rw-r--r-- | media-libs/stk/files/stk-4.4.4/010_all_removeForcedFlags.patch | 13 | ||||
-rw-r--r-- | media-libs/stk/files/stk-4.4.4/020_all_noExamplesOrDemo.patch | 32 | ||||
-rw-r--r-- | media-libs/stk/files/stk-4.4.4/030_all_sharedlib.patch | 13 | ||||
-rw-r--r-- | media-libs/stk/files/stk-4.4.4/040_all_sharedliblink.patch | 13 | ||||
-rw-r--r-- | media-libs/stk/files/stk-4.4.4/050_all_cxxflags.patch | 15 | ||||
-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/metadata.xml | 14 | ||||
-rw-r--r-- | media-libs/stk/stk-4.4.4-r1.ebuild | 63 | ||||
-rw-r--r-- | media-libs/stk/stk-4.5.0.ebuild | 69 |
13 files changed, 313 insertions, 0 deletions
diff --git a/media-libs/stk/Manifest b/media-libs/stk/Manifest new file mode 100644 index 000000000000..9267afb77ae1 --- /dev/null +++ b/media-libs/stk/Manifest @@ -0,0 +1,2 @@ +DIST stk-4.4.4.tar.gz 6181713 SHA256 1276986481704f148933d4a2f8eaebb84827124acbd0243e5c8a004fa7c70710 SHA512 e36c43a20e95eb86ed0335ae17df23c1a672562656738496f9e2e5654a825292c4235e04774fcb0356d47a775b7d7af6b4fd63c9d151ab7f2f9195bb5f728e37 WHIRLPOOL 2bfbcfe16dd37e31a0db16603c39e107d0c6a78c667e4597e6dc05243d2edb451acd3f3f7ac1b6698807213f06d11d0982298e13011fed3f5bc814eb4d0cd74d +DIST stk-4.5.0.tar.gz 2466803 SHA256 619f1a0dee852bb2b2f37730e2632d83b7e0e3ea13b4e8a3166bf11191956ee3 SHA512 a8a19e171093735052d797ef29a6a287dc6753fa726e451865250364dfd22f43b190aa03498ec94b99f3dc137ef951aa85e2f2f3509c74cedada6eedb5a31785 WHIRLPOOL a8bb1b45f3c88d22e6e5b593a0116b5fd1bdfdf7e39cfc479616e34677a98c7c17199ab4d6c15b9aa95841e631f9a49a6a4d1d65afdb9344407f9eaf922bb699 diff --git a/media-libs/stk/files/stk-4.4.4/010_all_removeForcedFlags.patch b/media-libs/stk/files/stk-4.4.4/010_all_removeForcedFlags.patch new file mode 100644 index 000000000000..3fcc28fb763c --- /dev/null +++ b/media-libs/stk/files/stk-4.4.4/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.4.4/020_all_noExamplesOrDemo.patch b/media-libs/stk/files/stk-4.4.4/020_all_noExamplesOrDemo.patch new file mode 100644 index 000000000000..c7e6c5581252 --- /dev/null +++ b/media-libs/stk/files/stk-4.4.4/020_all_noExamplesOrDemo.patch @@ -0,0 +1,32 @@ +Index: stk-4.4.4/Makefile.in +=================================================================== +--- stk-4.4.4.orig/Makefile.in ++++ stk-4.4.4/Makefile.in +@@ -4,27 +4,12 @@ RM = /bin/rm + + all : + cd src && $(MAKE) +- cd projects/demo && $(MAKE) libdemo +- cd projects/effects && $(MAKE) libeffects +- cd projects/ragamatic && $(MAKE) libragamat +- cd projects/eguitar && $(MAKE) libeguitar +- 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/eguitar && $(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/eguitar && $(MAKE) distclean +- cd projects/examples && $(MAKE) distclean + diff --git a/media-libs/stk/files/stk-4.4.4/030_all_sharedlib.patch b/media-libs/stk/files/stk-4.4.4/030_all_sharedlib.patch new file mode 100644 index 000000000000..726847bc8a10 --- /dev/null +++ b/media-libs/stk/files/stk-4.4.4/030_all_sharedlib.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 +@@ -64,7 +64,7 @@ DEFS += -DRAWWAVE_PATH=\"$(RAWWAVES)\ + %.o : ../src/include/%.cpp + $(CC) $(CFLAGS) $(DEFS) -c $(<) -o $(OBJECT_PATH)/$@ + +-all : $(STATICLIB) ++all : $(STATICLIB) $(SHAREDLIB) + + $(STATICLIB) : $(OBJECTS) + $(RM) -f $(STATICLIB) diff --git a/media-libs/stk/files/stk-4.4.4/040_all_sharedliblink.patch b/media-libs/stk/files/stk-4.4.4/040_all_sharedliblink.patch new file mode 100644 index 000000000000..6f267b79bd67 --- /dev/null +++ b/media-libs/stk/files/stk-4.4.4/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.4.4/050_all_cxxflags.patch b/media-libs/stk/files/stk-4.4.4/050_all_cxxflags.patch new file mode 100644 index 000000000000..d4db1d81c5e3 --- /dev/null +++ b/media-libs/stk/files/stk-4.4.4/050_all_cxxflags.patch @@ -0,0 +1,15 @@ +Index: stk-4.4.4/configure.ac +=================================================================== +--- stk-4.4.4.orig/configure.ac ++++ stk-4.4.4/configure.ac +@@ -80,8 +80,8 @@ fi + CPPFLAGS="$CPPFLAGS $cppflag" + + # For debugging and optimization ... overwrite default because it has both -g and -O2 +-echo "$CXXFLAGS" +-CXXFLAGS="$cxxflag" ++#echo "$CXXFLAGS" ++#CXXFLAGS="$cxxflag" + + # Check compiler and use -Wall if gnu. + if [test $GXX = "yes" ;] then 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/metadata.xml b/media-libs/stk/metadata.xml new file mode 100644 index 000000000000..3092d1fc5554 --- /dev/null +++ b/media-libs/stk/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>proaudio</herd> +<herd>proxy-maintainers</herd> +<maintainer> + <email>aballier@gentoo.org</email> + <name>Alexis Ballier</name> +</maintainer> +<maintainer> + <email>gimpel@sonnenkinder.org</email> + <name>Thomas Kuther</name> +</maintainer> +</pkgmetadata> diff --git a/media-libs/stk/stk-4.4.4-r1.ebuild b/media-libs/stk/stk-4.4.4-r1.ebuild new file mode 100644 index 000000000000..1d6b77a171ef --- /dev/null +++ b/media-libs/stk/stk-4.4.4-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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} + 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} \ + RAWWAVE_PATH=/usr/share/stk/rawwaves/ +} + +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 +} 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..413f11c5f970 --- /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 +# $Id$ + +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 +} |