forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: portage-2.2.27 Signed-off-by: Alexis Ballier <[email protected]>
- Loading branch information
Showing
5 changed files
with
136 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
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 | ||
DIST stk-4.5.1.tar.gz 2413113 SHA256 3466860901a181120d3bd0407e4aeb5ab24127a4350c314af106778c1db88594 SHA512 c4c05edfb49b269d5d2518c06abad8e636c4f67a8598f5a03d406bbef04b8b3315d2592d35c8742ce9163b52215ac87b6349c0012e271a43707d109175b6d336 WHIRLPOOL 7b0cfaa842d98e0c78f76d3e590e74671c68f54157e06f63b98e80eef3df3fd66e1a0e1effe72b3a4a88f2efed40788ea550b3033324d452fd2af148f5bfb855 |
13 changes: 13 additions & 0 deletions
13
media-libs/stk/files/stk-4.5.1/010_all_removeForcedFlags.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) |
40 changes: 40 additions & 0 deletions
40
media-libs/stk/files/stk-4.5.1/020_all_noExamplesOrDemo.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
||
# install rawwaves | ||
insinto /usr/share/stk/rawwaves | ||
doins rawwaves/*.raw | ||
|
||
# install docs | ||
if use doc; then | ||
dohtml -r doc/html/* | ||
fi | ||
} |