mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-22 04:19:06 -07:00
media-libs/stk: drop old.
Package-Manager: Portage-2.3.31, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/7904
This commit is contained in:
committed by
Patrice Clement
parent
0eef2be564
commit
02c3a5e597
@@ -1,2 +1 @@
|
||||
DIST stk-4.5.0.tar.gz 2466803 BLAKE2B 30e73179000a581c66a4e80fa00aaea481675b6779b18ec70619e7767884a23f0aa969c172c737cf2b24927d14c3bb91107750ae07b20e868177eb82c2ce3f9b SHA512 a8a19e171093735052d797ef29a6a287dc6753fa726e451865250364dfd22f43b190aa03498ec94b99f3dc137ef951aa85e2f2f3509c74cedada6eedb5a31785
|
||||
DIST stk-4.5.1.tar.gz 2413113 BLAKE2B 5eedf936f26acd3e2f377a198b252ee36bcdbb642f0649c0db6c453beb670a1fc725c94af78ff3e075f50068ae6927b628de0174dba598191ed9f9d2f074c17c SHA512 c4c05edfb49b269d5d2518c06abad8e636c4f67a8598f5a03d406bbef04b8b3315d2592d35c8742ce9163b52215ac87b6349c0012e271a43707d109175b6d336
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
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)
|
||||
@@ -1,40 +0,0 @@
|
||||
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
|
||||
@@ -1,13 +0,0 @@
|
||||
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
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
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
|
||||
@@ -1,68 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="Synthesis ToolKit in C++"
|
||||
HOMEPAGE="https://ccrma.stanford.edu/software/stk/"
|
||||
SRC_URI="https://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
|
||||
}
|
||||
@@ -1,68 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="Synthesis ToolKit in C++"
|
||||
HOMEPAGE="https://ccrma.stanford.edu/software/stk/"
|
||||
SRC_URI="https://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
|
||||
|
||||
# install rawwaves
|
||||
insinto /usr/share/stk/rawwaves
|
||||
doins rawwaves/*.raw
|
||||
|
||||
# install docs
|
||||
if use doc; then
|
||||
dohtml -r doc/html/*
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user