summaryrefslogtreecommitdiff
path: root/media-libs/stk
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/stk
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/stk')
-rw-r--r--media-libs/stk/Manifest21
-rw-r--r--media-libs/stk/files/stk-4.4.4/010_all_removeForcedFlags.patch13
-rw-r--r--media-libs/stk/files/stk-4.4.4/020_all_noExamplesOrDemo.patch32
-rw-r--r--media-libs/stk/files/stk-4.4.4/030_all_sharedlib.patch13
-rw-r--r--media-libs/stk/files/stk-4.4.4/040_all_sharedliblink.patch13
-rw-r--r--media-libs/stk/files/stk-4.4.4/050_all_cxxflags.patch15
-rw-r--r--media-libs/stk/files/stk-4.5.0/010_all_removeForcedFlags.patch13
-rw-r--r--media-libs/stk/files/stk-4.5.0/020_all_noExamplesOrDemo.patch40
-rw-r--r--media-libs/stk/files/stk-4.5.0/040_all_sharedliblink.patch13
-rw-r--r--media-libs/stk/files/stk-4.5.0/050_all_cxxflags.patch13
-rw-r--r--media-libs/stk/files/stk-4.5.1/010_all_removeForcedFlags.patch13
-rw-r--r--media-libs/stk/files/stk-4.5.1/020_all_noExamplesOrDemo.patch40
-rw-r--r--media-libs/stk/files/stk-4.5.1/050_all_cxxflags.patch13
-rw-r--r--media-libs/stk/metadata.xml12
-rw-r--r--media-libs/stk/stk-4.4.4-r1.ebuild62
-rw-r--r--media-libs/stk/stk-4.5.0.ebuild68
-rw-r--r--media-libs/stk/stk-4.5.1.ebuild68
17 files changed, 462 insertions, 0 deletions
diff --git a/media-libs/stk/Manifest b/media-libs/stk/Manifest
new file mode 100644
index 000000000000..1ce49529e6fc
--- /dev/null
+++ b/media-libs/stk/Manifest
@@ -0,0 +1,21 @@
+AUX stk-4.4.4/010_all_removeForcedFlags.patch 388 SHA256 a0fafafc33ebbfa34877e797ea5fff118e6fe2a4ea0770199bd0e2d1ebd25864 SHA512 85c5b5ce8e883257bf78840ac7c7cebf1c4860473b64a16d3363f7bca0749026e1e3dbbcdfe42d78c303ce81901628d627d5464acafac141448bda2c53cb34c8 WHIRLPOOL d6dd2cf82222c59797b5417177e7199b860953b1a3b56f8522347ef95a43ce8a559ca5e8682e6f07afa28457a2da5946ea3035f103d4b97cbc99ca7c6861f8a0
+AUX stk-4.4.4/020_all_noExamplesOrDemo.patch 1010 SHA256 16c9fed0600dd40e9cc877c52d633bcf44221699a09f681045034053e2c6003a SHA512 380515b3854c8cd257b22533d6215391d06dc8dac679ce5d8a7d37bb936fc9b98976c83921cfa256c48dfe046b8aad173b374b95f4fe5e429584ba2e9d3fb656 WHIRLPOOL 1bb40384b182d807b036cd07d886c67edfaa6934a815f7168c3d39c1d5ecca9354201d852974577f4342560886aa38613390e91e2301d0bd6d4f902ffcb17b0c
+AUX stk-4.4.4/030_all_sharedlib.patch 416 SHA256 71357937d099f46f8490eacc31376aa22798fa4a7124461f925af178b5eda9ab SHA512 9cf10f17f7d2df0c50b2f61aa6bdc8a15f7410225ec73bbe22a1ddab6c8af82a830cdcb2a80ca765a545f18d097afc7511e54116cbe3ebccee1cbeb77de44a88 WHIRLPOOL 050892ec53dffed47e70c42557920a446a8d0079fbaf8f6c1982205aec4eef833e4427a4a7451efb42e8c2bb5732af98910f370ac5c68923245ab2d5c9852c9d
+AUX stk-4.4.4/040_all_sharedliblink.patch 478 SHA256 01868b98903d3bf4660687dade64d5ccad7f233629be0ff820bac3dc0ae03e3b SHA512 e8bd153b5ce20fc5742b2c3aec2afe022a782afb4c7d34fda1cfa0747fa1cd41eb7f6f66d1c73a901d856057c1813ebb103310df052c3b6a0f36bd2d5bfe4c38 WHIRLPOOL 5edeaf69722d96929d1c37f007d061a1b08e8cca6e3a29cdc3ece5326fa9bed0e72e1d7e09eff009bf0f83efd537e325514b9288a2d5fdda402b431e27dc89ca
+AUX stk-4.4.4/050_all_cxxflags.patch 451 SHA256 3014a5a8f66b1c57f64224eb4abe3d6c5d9852e94c0cd8dd53e5bdee559652c9 SHA512 27567ba29bdc0a4caf781c6ad5ece392f5227353dc55cdccd3505bb0a1d85b96feb6263364ae341bc202fecca1d3d786f95e6d4e13b0f521a7b22a7f56c168a0 WHIRLPOOL 7268aac7e656e58acd9717bcdd11d0bad909542de470438f36ba0f3d7c56d4aedbc24e349ea251d9a1ee958b10428698aa1fa52519cdd2e0e9079910971869bb
+AUX stk-4.5.0/010_all_removeForcedFlags.patch 388 SHA256 a0fafafc33ebbfa34877e797ea5fff118e6fe2a4ea0770199bd0e2d1ebd25864 SHA512 85c5b5ce8e883257bf78840ac7c7cebf1c4860473b64a16d3363f7bca0749026e1e3dbbcdfe42d78c303ce81901628d627d5464acafac141448bda2c53cb34c8 WHIRLPOOL d6dd2cf82222c59797b5417177e7199b860953b1a3b56f8522347ef95a43ce8a559ca5e8682e6f07afa28457a2da5946ea3035f103d4b97cbc99ca7c6861f8a0
+AUX stk-4.5.0/020_all_noExamplesOrDemo.patch 1147 SHA256 d7a91ece63be126ec4e71da8b31761e77522500afe290748121a37c66b1fed74 SHA512 ffdbd8a5b7eb7d87b7f2828937b7f4ef027da6ce26f050798c24249953d8dccf75a296e99c1fdc01110035c289cf6cc0cd105bbb5d676fb32ff470843cf7aa45 WHIRLPOOL 3a150f1f3714b4ccffa9eb87769ce7d3d6ffb59614dd1d6c983f359e55a30c1a3a5f59893847990017382fc8dfba9b322af1e0df07e3c8236fe349e9e7bfcb4d
+AUX stk-4.5.0/040_all_sharedliblink.patch 478 SHA256 01868b98903d3bf4660687dade64d5ccad7f233629be0ff820bac3dc0ae03e3b SHA512 e8bd153b5ce20fc5742b2c3aec2afe022a782afb4c7d34fda1cfa0747fa1cd41eb7f6f66d1c73a901d856057c1813ebb103310df052c3b6a0f36bd2d5bfe4c38 WHIRLPOOL 5edeaf69722d96929d1c37f007d061a1b08e8cca6e3a29cdc3ece5326fa9bed0e72e1d7e09eff009bf0f83efd537e325514b9288a2d5fdda402b431e27dc89ca
+AUX stk-4.5.0/050_all_cxxflags.patch 425 SHA256 7b863e9e55170094ccc9d9786f620a417a23302493a23755b12424cb1cadb209 SHA512 67370a46ebd793a767e7d4ade623b98b9586409c59f7cf45d7b03a55cfc8d23e22755edac9cad8b606b5ad076eb50e96849c66de231fb16bcf0dfe3067070093 WHIRLPOOL 4a66cd114cc5d77344334b3c391e33c8d5a78ede61f28394716213a535c9323c6cf4d1e4e06c08603e8ec5af8f5748673a194a623f3f55d3f693cdcfa4de93e5
+AUX stk-4.5.1/010_all_removeForcedFlags.patch 388 SHA256 a0fafafc33ebbfa34877e797ea5fff118e6fe2a4ea0770199bd0e2d1ebd25864 SHA512 85c5b5ce8e883257bf78840ac7c7cebf1c4860473b64a16d3363f7bca0749026e1e3dbbcdfe42d78c303ce81901628d627d5464acafac141448bda2c53cb34c8 WHIRLPOOL d6dd2cf82222c59797b5417177e7199b860953b1a3b56f8522347ef95a43ce8a559ca5e8682e6f07afa28457a2da5946ea3035f103d4b97cbc99ca7c6861f8a0
+AUX stk-4.5.1/020_all_noExamplesOrDemo.patch 1147 SHA256 d7a91ece63be126ec4e71da8b31761e77522500afe290748121a37c66b1fed74 SHA512 ffdbd8a5b7eb7d87b7f2828937b7f4ef027da6ce26f050798c24249953d8dccf75a296e99c1fdc01110035c289cf6cc0cd105bbb5d676fb32ff470843cf7aa45 WHIRLPOOL 3a150f1f3714b4ccffa9eb87769ce7d3d6ffb59614dd1d6c983f359e55a30c1a3a5f59893847990017382fc8dfba9b322af1e0df07e3c8236fe349e9e7bfcb4d
+AUX stk-4.5.1/050_all_cxxflags.patch 425 SHA256 7b863e9e55170094ccc9d9786f620a417a23302493a23755b12424cb1cadb209 SHA512 67370a46ebd793a767e7d4ade623b98b9586409c59f7cf45d7b03a55cfc8d23e22755edac9cad8b606b5ad076eb50e96849c66de231fb16bcf0dfe3067070093 WHIRLPOOL 4a66cd114cc5d77344334b3c391e33c8d5a78ede61f28394716213a535c9323c6cf4d1e4e06c08603e8ec5af8f5748673a194a623f3f55d3f693cdcfa4de93e5
+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
+EBUILD stk-4.4.4-r1.ebuild 1564 SHA256 bac04c9111e4ccfd317ca65fdf1b4ca950d496afa8fcea771ff8fa7b128adc94 SHA512 cb3d4dd97904d88d99278bec5cf950df4e11638731e409b1d75d991841b9695aaa702002df9755a6f761d3e45f69f45c87f1c4e31850e9b2928948e4b3181156 WHIRLPOOL 129e59ffc26dfe332b2bf1ff14fa02d9540f923d1f44662170a54e2e94f3aaa94b4582cbf99e11c853352bdfd38c4e7973ffb4213a472941b9ddea9e81a1e508
+EBUILD stk-4.5.0.ebuild 1352 SHA256 059ead326554b22b567e377b6e9150d23cbfaee8eeb54c0d57a8b1ac7eaf8b71 SHA512 37d800c4abae1a39c754ae28b11dcbd1b1a4a30b59b4eac3bc468404d2bdacc930e66ef1333493aa3f3c933b5b2c9e8603ff05ad36b78f2ae4c15ea94ec9cbdb WHIRLPOOL f1cab558b1d0452b53f8f9025da2c4534c1a8e0de2c417b4dcb7c9bf5444bfc405b0570b449b550f6918b6240561b4b66a16756533d452e5832ddf38fb6b823b
+EBUILD stk-4.5.1.ebuild 1323 SHA256 d627fc045349df2fe61d6f65a61b43abb01cd30b5bee626d8659dda9d9500a72 SHA512 e64143c9947a35b939aaa964cd7c9510a0ed044eba803bc48a15870a5e94d5db1c8c6ebd534f61dbaef80fd00eb650de8e12fa50c5c916139787230ba1e84d6f WHIRLPOOL 473d072017806afa7523d4af474a2c3b252253aeb90f80cf730b5a5c41b672fccac88ccf2e5d6296c5f374e16e986a90eca47f1e8579919f3e21acbc1de7ce68
+MISC ChangeLog 3248 SHA256 7bc7f38f897ff7f64adde13baf8d08fefaa2c71fd51ff136bff42825fa76b9a2 SHA512 46c09b9dec45991a40812138462fea0ead6cd34c763683e400d6e3e1453aa0bde0dd4f1691f81ffe4b0a213fe63a3e7f1e8bfd53696e4937dee6c3deb7375b6f WHIRLPOOL be092653ad2fefa01bec2fefadd5ffa790d8ad30b1922a9d1ef11b7401092ec8d815ab3f1d97378dd96243f3f39069f30208725b5e6809a5b9de3ae242552e70
+MISC ChangeLog-2015 4087 SHA256 45168076d4169e765c97f55c5f8e2864c2dc50f5748e2094582ea1ed91ef13dc SHA512 28ba9aa367b9f6dd397e66a43d9b1fe64732dc944014b242d7809ef4ebfcac7e3abb3cf17fe6d4d06673fb9eb9d5cd06e9653a021e516e0441bb3862a2b8a9cf WHIRLPOOL 8c59aeae1b4adda1ab57ba9b1f12b196eea8d54b1a53e79626d96eccf00866941078eb8bcd01dd14fda2c78ada187f83dbe7a0aed7d55849ac142f8db2a922c8
+MISC metadata.xml 365 SHA256 0e04c117b237017e8319d0b1fbf1a35590165dfd898a44bf47fafcab2a7477fb SHA512 48da9b52d54138bf4d271d39390a78b38641a4accf4f9cff2a0ce4a3954b45805d3a834f5aab0cdd13710e12ec36b5421be6c8a54db8698ae7bcf665c6866012 WHIRLPOOL 38f0786f266e9eefaa138bbdd1d70e6d0c71814f6a6aa2c3cf05546828cdb486d3e78c0445608c08cd3e07daa49908e52ccf5a3efe5393b6c109314abc1272e4
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/files/stk-4.5.1/010_all_removeForcedFlags.patch b/media-libs/stk/files/stk-4.5.1/010_all_removeForcedFlags.patch
new file mode 100644
index 000000000000..3fcc28fb763c
--- /dev/null
+++ b/media-libs/stk/files/stk-4.5.1/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.1/020_all_noExamplesOrDemo.patch b/media-libs/stk/files/stk-4.5.1/020_all_noExamplesOrDemo.patch
new file mode 100644
index 000000000000..77d643593b47
--- /dev/null
+++ b/media-libs/stk/files/stk-4.5.1/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.1/050_all_cxxflags.patch b/media-libs/stk/files/stk-4.5.1/050_all_cxxflags.patch
new file mode 100644
index 000000000000..d2cc4e5be330
--- /dev/null
+++ b/media-libs/stk/files/stk-4.5.1/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..3b66d36c98a5
--- /dev/null
+++ b/media-libs/stk/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>aballier@gentoo.org</email>
+ <name>Alexis Ballier</name>
+</maintainer>
+<maintainer type="project">
+ <email>proaudio@gentoo.org</email>
+ <name>Gentoo ProAudio Project</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..0add9c2b6de9
--- /dev/null
+++ b/media-libs/stk/stk-4.4.4-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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..0645fb3db412
--- /dev/null
+++ b/media-libs/stk/stk-4.5.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}
diff --git a/media-libs/stk/stk-4.5.1.ebuild b/media-libs/stk/stk-4.5.1.ebuild
new file mode 100644
index 000000000000..943ab4560da7
--- /dev/null
+++ b/media-libs/stk/stk-4.5.1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}