[gentoo-commits] repo/gentoo:master commit in: media-libs/stk/, media-libs/stk/files/stk-4.5.1/

2023-02-12 Thread Sam James
commit: 34dc087ab7687bdca24b3c3b0e9fdeefa98c4f79
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 13 02:51:44 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 13 02:51:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34dc087a

media-libs/stk: fix build

Signed-off-by: Sam James  gentoo.org>

 .../stk/files/stk-4.5.1/060_all_linux_pulse.patch  | 36 ++
 media-libs/stk/stk-4.6.2.ebuild|  6 ++--
 2 files changed, 40 insertions(+), 2 deletions(-)

diff --git a/media-libs/stk/files/stk-4.5.1/060_all_linux_pulse.patch 
b/media-libs/stk/files/stk-4.5.1/060_all_linux_pulse.patch
new file mode 100644
index ..2e4ae36abd7e
--- /dev/null
+++ b/media-libs/stk/files/stk-4.5.1/060_all_linux_pulse.patch
@@ -0,0 +1,36 @@
+https://github.com/thestk/stk/commit/b3439132339fc0fc649b8e305d7872e60b9520bf
+
+From b3439132339fc0fc649b8e305d7872e60b9520bf Mon Sep 17 00:00:00 2001
+From: Tristan Matthews 
+Date: Wed, 9 Feb 2022 17:20:26 -0500
+Subject: [PATCH] configure: fix build for --with-pulse
+
+--- a/configure.ac
 b/configure.ac
+@@ -162,6 +162,14 @@ api="$api -D__UNIX_JACK__"
+ AC_MSG_RESULT(using ALSA)
+ AC_CHECK_LIB(asound, snd_pcm_open, , AC_MSG_ERROR(ALSA support requires 
the asound library!))])
+ 
++# Look for PulseAudio flag
++AC_ARG_WITH(pulse, [  --with-pulse = choose PulseAudio support (linux 
only)])
++AS_IF([test "x$with_pulse" == "xyes"], [
++api="$api -D__LINUX_PULSE__"
++AC_MSG_RESULT(using PulseAudio)
++AC_CHECK_LIB(pulse, pa_proplist_gets, , AC_MSG_ERROR(PulseAudio support 
requires the libpulse library!))
++AC_CHECK_LIB(pulse-simple, pa_simple_new, , AC_MSG_ERROR(PulseAudio 
support requires the libpulse-simple library!))])
++
+ # Look for OSS flag
+ AC_ARG_WITH(oss, [  --with-oss = choose OSS API support (unixes only)])
+ AS_IF([test "x$with_oss" == "xyes"], [
+--- a/include/Stk.h
 b/include/Stk.h
+@@ -622,7 +622,7 @@ const StkFloat ONE_OVER_128 = 0.0078125;
+ #if defined(__WINDOWS_DS__) || defined(__WINDOWS_ASIO__) || 
defined(__WINDOWS_MM__)
+   #define __OS_WINDOWS__
+   #define __STK_REALTIME__
+-#elif defined(__LINUX_OSS__) || defined(__LINUX_ALSA__) || 
defined(__UNIX_JACK__)
++#elif defined(__LINUX_OSS__) || defined(__LINUX_ALSA__) || 
defined(__UNIX_JACK__) || defined(__LINUX_PULSE__)
+   #define __OS_LINUX__
+   #define __STK_REALTIME__
+ #elif defined(__IRIX_AL__)
+

diff --git a/media-libs/stk/stk-4.6.2.ebuild b/media-libs/stk/stk-4.6.2.ebuild
index 52b7e39ead65..1a28ba8457df 100644
--- a/media-libs/stk/stk-4.6.2.ebuild
+++ b/media-libs/stk/stk-4.6.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit autotools
+inherit autotools flag-o-matic
 
 DESCRIPTION="Synthesis ToolKit in C++"
 HOMEPAGE="https://ccrma.stanford.edu/software/stk/;
@@ -37,6 +37,8 @@ src_prepare() {
 }
 
 src_configure() {
+   use kernel_linux && append-flags -D__OS_LINUX__
+
#breaks with --disable-foo...uses as --enable-foo
local myconf
if use debug; then



[gentoo-commits] repo/gentoo:master commit in: media-libs/stk/

2022-02-03 Thread Miroslav Šulc
commit: 2067ac1c7323bfb18811aa9775b6586b406fc892
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Thu Feb  3 14:23:26 2022 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Thu Feb  3 14:23:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2067ac1c

media-libs/stk: removed obsolete 4.6.1

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/stk/Manifest |  1 -
 media-libs/stk/stk-4.6.1.ebuild | 79 -
 2 files changed, 80 deletions(-)

diff --git a/media-libs/stk/Manifest b/media-libs/stk/Manifest
index c0b3d102f89a..0ed41fb95651 100644
--- a/media-libs/stk/Manifest
+++ b/media-libs/stk/Manifest
@@ -1,2 +1 @@
-DIST stk-4.6.1.tar.gz 2593348 BLAKE2B 
2cb269b8fb5732d55a394d5b8842c380b6a3e82e7338e972c6d22baf5ba1edee3f03ed699b9950d4a92a7ae3102bbb54f844ffd728c6478ebfb36328a1b89f2a
 SHA512 
2a22078cdb630f7c014a5ab38070fd6a6d1e9aa719401e3190a040cb06b61003cd3095fe1a8890eff59e4fc42594fe893b4c0a8327175e1701c75de7537e1830
 DIST stk-4.6.2.tar.gz 2618125 BLAKE2B 
8673cabbc57c5b520af62def967bf3923a91c7b619bd29faaebaa4e3fa6aabcd9dc43e605663d8062650b105ae60ebefc44a3fa420ef79861ce03e77f130
 SHA512 
35a7f559cca5c9b5998528a566ae27bace3cac56cefda7ae54c06179f5002d2906c6ede6274bf06100dd6aa9dc0d1459bb8fca4a2072c686c2abfd493b6f2f3c

diff --git a/media-libs/stk/stk-4.6.1.ebuild b/media-libs/stk/stk-4.6.1.ebuild
deleted file mode 100644
index 7f4e3b6ed7c8..
--- a/media-libs/stk/stk-4.6.1.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit 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"
-
-BDEPEND="
-   virtual/pkgconfig
-"
-RDEPEND="alsa? ( media-libs/alsa-lib )
-   jack? ( virtual/jack )"
-DEPEND="${RDEPEND}
-   dev-lang/perl"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-4.5.1"
-)
-
-HTML_DOCS=(
-   doc/html/.
-)
-
-src_prepare() {
-   default
-   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.so src/libstk*
-   use static-libs && dolib.a 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
-   einstalldocs
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/stk/

2022-02-03 Thread Jakov Smolić
commit: 98afa061bbfb351e8b5cf51a66083be257cac2d5
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Feb  3 11:56:46 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Feb  3 11:56:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98afa061

media-libs/stk: Stabilize 4.6.2 amd64, #831563

Signed-off-by: Jakov Smolić  gentoo.org>

 media-libs/stk/stk-4.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/stk/stk-4.6.2.ebuild b/media-libs/stk/stk-4.6.2.ebuild
index c8993c4329bb..52b7e39ead65 100644
--- a/media-libs/stk/stk-4.6.2.ebuild
+++ b/media-libs/stk/stk-4.6.2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://ccrma.stanford.edu/software/stk/release/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 IUSE="alsa debug doc jack oss static-libs"
 REQUIRED_USE="|| ( alsa jack oss )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/stk/

2022-01-20 Thread Sam James
commit: 88752cd087fa2cd656f47880ec0984b765178052
Author: Sam James  gentoo  org>
AuthorDate: Thu Jan 20 18:49:44 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jan 20 18:49:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88752cd0

media-libs/stk: Stabilize 4.6.2 x86, #831563

Signed-off-by: Sam James  gentoo.org>

 media-libs/stk/stk-4.6.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/stk/stk-4.6.2.ebuild b/media-libs/stk/stk-4.6.2.ebuild
index 5191c27f4f3d..c8993c4329bb 100644
--- a/media-libs/stk/stk-4.6.2.ebuild
+++ b/media-libs/stk/stk-4.6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,7 +11,7 @@ 
SRC_URI="https://ccrma.stanford.edu/software/stk/release/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 IUSE="alsa debug doc jack oss static-libs"
 REQUIRED_USE="|| ( alsa jack oss )"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/stk/

2021-12-21 Thread Miroslav Šulc
commit: 72d5502eb2a91b84b576f133ae8882eb9a8ed614
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Tue Dec 21 08:13:02 2021 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Tue Dec 21 08:13:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72d5502e

media-libs/stk: 4.6.2 - added required use

Closes: https://bugs.gentoo.org/709002
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/stk/stk-4.6.2.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-libs/stk/stk-4.6.2.ebuild b/media-libs/stk/stk-4.6.2.ebuild
index 725704b60639..5191c27f4f3d 100644
--- a/media-libs/stk/stk-4.6.2.ebuild
+++ b/media-libs/stk/stk-4.6.2.ebuild
@@ -13,6 +13,7 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="alsa debug doc jack oss static-libs"
+REQUIRED_USE="|| ( alsa jack oss )"
 
 BDEPEND="
virtual/pkgconfig



[gentoo-commits] repo/gentoo:master commit in: media-libs/stk/

2021-11-20 Thread Miroslav Šulc
commit: bac6bfca197ceb50d2246f4d829c11ba9f703cec
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Sat Nov 20 08:46:31 2021 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Sat Nov 20 08:46:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bac6bfca

media-libs/stk: bump to 4.6.2

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/stk/Manifest |  1 +
 media-libs/stk/stk-4.6.2.ebuild | 79 +
 2 files changed, 80 insertions(+)

diff --git a/media-libs/stk/Manifest b/media-libs/stk/Manifest
index a651b7254ec9..c0b3d102f89a 100644
--- a/media-libs/stk/Manifest
+++ b/media-libs/stk/Manifest
@@ -1 +1,2 @@
 DIST stk-4.6.1.tar.gz 2593348 BLAKE2B 
2cb269b8fb5732d55a394d5b8842c380b6a3e82e7338e972c6d22baf5ba1edee3f03ed699b9950d4a92a7ae3102bbb54f844ffd728c6478ebfb36328a1b89f2a
 SHA512 
2a22078cdb630f7c014a5ab38070fd6a6d1e9aa719401e3190a040cb06b61003cd3095fe1a8890eff59e4fc42594fe893b4c0a8327175e1701c75de7537e1830
+DIST stk-4.6.2.tar.gz 2618125 BLAKE2B 
8673cabbc57c5b520af62def967bf3923a91c7b619bd29faaebaa4e3fa6aabcd9dc43e605663d8062650b105ae60ebefc44a3fa420ef79861ce03e77f130
 SHA512 
35a7f559cca5c9b5998528a566ae27bace3cac56cefda7ae54c06179f5002d2906c6ede6274bf06100dd6aa9dc0d1459bb8fca4a2072c686c2abfd493b6f2f3c

diff --git a/media-libs/stk/stk-4.6.2.ebuild b/media-libs/stk/stk-4.6.2.ebuild
new file mode 100644
index ..725704b60639
--- /dev/null
+++ b/media-libs/stk/stk-4.6.2.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit 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"
+
+BDEPEND="
+   virtual/pkgconfig
+"
+RDEPEND="alsa? ( media-libs/alsa-lib )
+   jack? ( virtual/jack )"
+DEPEND="${RDEPEND}
+   dev-lang/perl"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-4.5.1"
+)
+
+HTML_DOCS=(
+   doc/html/.
+)
+
+src_prepare() {
+   default
+   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.so src/libstk*
+   use static-libs && dolib.a 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
+   einstalldocs
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/stk/

2020-07-21 Thread Agostino Sarubbo
commit: 3fcb5950958592229aafb934ef26c3e319f6ee9c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jul 21 09:32:43 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jul 21 09:32:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fcb5950

media-libs/stk: x86 stable wrt bug #728114

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/stk/stk-4.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/stk/stk-4.6.1.ebuild b/media-libs/stk/stk-4.6.1.ebuild
index dcf17ad19a5..7f4e3b6ed7c 100644
--- a/media-libs/stk/stk-4.6.1.ebuild
+++ b/media-libs/stk/stk-4.6.1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://ccrma.stanford.edu/software/stk/release/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="alsa debug doc jack oss static-libs"
 
 BDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/stk/

2020-07-20 Thread Agostino Sarubbo
commit: d4e7daa4b02cc0859cab21d50310ae17e6384d6c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Jul 20 06:42:16 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Jul 20 06:42:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4e7daa4

media-libs/stk: amd64 stable wrt bug #728114

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/stk/stk-4.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/stk/stk-4.6.1.ebuild b/media-libs/stk/stk-4.6.1.ebuild
index 12eb50caa5f..dcf17ad19a5 100644
--- a/media-libs/stk/stk-4.6.1.ebuild
+++ b/media-libs/stk/stk-4.6.1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://ccrma.stanford.edu/software/stk/release/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="alsa debug doc jack oss static-libs"
 
 BDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-libs/stk/

2020-02-07 Thread Miroslav Šulc
commit: 8bc236bfeed8729666086050ec3f87df7082
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Sat Feb  8 00:41:04 2020 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Sat Feb  8 00:42:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bc236bf

media-libs/stk: bumped to 4.6.1

updated to eapi7

Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/stk/Manifest |  1 +
 media-libs/stk/stk-4.6.1.ebuild | 79 +
 2 files changed, 80 insertions(+)

diff --git a/media-libs/stk/Manifest b/media-libs/stk/Manifest
index f6ce8b7166f..eca239820cc 100644
--- a/media-libs/stk/Manifest
+++ b/media-libs/stk/Manifest
@@ -1 +1,2 @@
 DIST stk-4.5.1.tar.gz 2413113 BLAKE2B 
5eedf936f26acd3e2f377a198b252ee36bcdbb642f0649c0db6c453beb670a1fc725c94af78ff3e075f50068ae6927b628de0174dba598191ed9f9d2f074c17c
 SHA512 
c4c05edfb49b269d5d2518c06abad8e636c4f67a8598f5a03d406bbef04b8b3315d2592d35c8742ce9163b52215ac87b6349c0012e271a43707d109175b6d336
+DIST stk-4.6.1.tar.gz 2593348 BLAKE2B 
2cb269b8fb5732d55a394d5b8842c380b6a3e82e7338e972c6d22baf5ba1edee3f03ed699b9950d4a92a7ae3102bbb54f844ffd728c6478ebfb36328a1b89f2a
 SHA512 
2a22078cdb630f7c014a5ab38070fd6a6d1e9aa719401e3190a040cb06b61003cd3095fe1a8890eff59e4fc42594fe893b4c0a8327175e1701c75de7537e1830

diff --git a/media-libs/stk/stk-4.6.1.ebuild b/media-libs/stk/stk-4.6.1.ebuild
new file mode 100644
index 000..12eb50caa5f
--- /dev/null
+++ b/media-libs/stk/stk-4.6.1.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit 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"
+
+BDEPEND="
+   virtual/pkgconfig
+"
+RDEPEND="alsa? ( media-libs/alsa-lib )
+   jack? ( virtual/jack )"
+DEPEND="${RDEPEND}
+   dev-lang/perl"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-4.5.1"
+)
+
+HTML_DOCS=(
+   doc/html/.
+)
+
+src_prepare() {
+   default
+   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.so src/libstk*
+   use static-libs && dolib.a 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
+   einstalldocs
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/stk/

2020-02-07 Thread Miroslav Šulc
commit: 4f8f815cc1a4a42bb4a1fd84832da332ff360df8
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Sat Feb  8 00:42:32 2020 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Sat Feb  8 00:42:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f8f815c

media-libs/stk: removed obsolete 4.5.1-r1

Package-Manager: Portage-2.3.87, Repoman-2.3.20
Signed-off-by: Miroslav Šulc  gentoo.org>

 media-libs/stk/Manifest|  1 -
 media-libs/stk/stk-4.5.1-r1.ebuild | 72 --
 2 files changed, 73 deletions(-)

diff --git a/media-libs/stk/Manifest b/media-libs/stk/Manifest
index eca239820cc..a651b7254ec 100644
--- a/media-libs/stk/Manifest
+++ b/media-libs/stk/Manifest
@@ -1,2 +1 @@
-DIST stk-4.5.1.tar.gz 2413113 BLAKE2B 
5eedf936f26acd3e2f377a198b252ee36bcdbb642f0649c0db6c453beb670a1fc725c94af78ff3e075f50068ae6927b628de0174dba598191ed9f9d2f074c17c
 SHA512 
c4c05edfb49b269d5d2518c06abad8e636c4f67a8598f5a03d406bbef04b8b3315d2592d35c8742ce9163b52215ac87b6349c0012e271a43707d109175b6d336
 DIST stk-4.6.1.tar.gz 2593348 BLAKE2B 
2cb269b8fb5732d55a394d5b8842c380b6a3e82e7338e972c6d22baf5ba1edee3f03ed699b9950d4a92a7ae3102bbb54f844ffd728c6478ebfb36328a1b89f2a
 SHA512 
2a22078cdb630f7c014a5ab38070fd6a6d1e9aa719401e3190a040cb06b61003cd3095fe1a8890eff59e4fc42594fe893b4c0a8327175e1701c75de7537e1830

diff --git a/media-libs/stk/stk-4.5.1-r1.ebuild 
b/media-libs/stk/stk-4.5.1-r1.ebuild
deleted file mode 100644
index d1f5900803f..000
--- a/media-libs/stk/stk-4.5.1-r1.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit 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? ( virtual/jack )"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   dev-lang/perl"
-
-PATCHES=(
-   "${FILESDIR}/${P}"
-)
-
-src_prepare() {
-   default
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/stk/, media-libs/stk/files/stk-4.5.0/

2018-05-01 Thread Patrice Clement
commit: 02c3a5e597dfd3bc296b0feb1346a24aa88e7280
Author: Marty E. Plummer  startmail  com>
AuthorDate: Sat Apr 21 12:22:07 2018 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue May  1 21:30:42 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02c3a5e5

media-libs/stk: drop old.

Package-Manager: Portage-2.3.31, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/7904

 media-libs/stk/Manifest|  1 -
 .../stk-4.5.0/010_all_removeForcedFlags.patch  | 13 -
 .../files/stk-4.5.0/020_all_noExamplesOrDemo.patch | 40 -
 .../files/stk-4.5.0/040_all_sharedliblink.patch| 13 -
 .../stk/files/stk-4.5.0/050_all_cxxflags.patch | 13 -
 media-libs/stk/stk-4.5.0.ebuild| 68 --
 media-libs/stk/stk-4.5.1.ebuild| 68 --
 7 files changed, 216 deletions(-)

diff --git a/media-libs/stk/Manifest b/media-libs/stk/Manifest
index 2fb039c80a5..f6ce8b7166f 100644
--- a/media-libs/stk/Manifest
+++ b/media-libs/stk/Manifest
@@ -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

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
deleted file mode 100644
index 3fcc28fb763..000
--- a/media-libs/stk/files/stk-4.5.0/010_all_removeForcedFlags.patch
+++ /dev/null
@@ -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)

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
deleted file mode 100644
index 77d643593b4..000
--- a/media-libs/stk/files/stk-4.5.0/020_all_noExamplesOrDemo.patch
+++ /dev/null
@@ -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

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
deleted file mode 100644
index 6f267b79bd6..000
--- a/media-libs/stk/files/stk-4.5.0/040_all_sharedliblink.patch
+++ /dev/null
@@ -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
- 

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
deleted file mode 100644
index 

[gentoo-commits] repo/gentoo:master commit in: media-libs/stk/

2018-05-01 Thread Patrice Clement
commit: 1f5dde39d648db53935dcc9ddc6a97b3d9c4f5f7
Author: Marty E. Plummer  startmail  com>
AuthorDate: Sat Apr 21 12:27:47 2018 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue May  1 21:30:44 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f5dde39

media-libs/stk: drop unneeded eutils.eclass.

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 media-libs/stk/stk-4.5.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/stk/stk-4.5.1-r1.ebuild 
b/media-libs/stk/stk-4.5.1-r1.ebuild
index 53e78246741..d1f5900803f 100644
--- a/media-libs/stk/stk-4.5.1-r1.ebuild
+++ b/media-libs/stk/stk-4.5.1-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit eutils autotools
+inherit autotools
 
 DESCRIPTION="Synthesis ToolKit in C++"
 HOMEPAGE="https://ccrma.stanford.edu/software/stk/;



[gentoo-commits] repo/gentoo:master commit in: media-libs/stk/, media-libs/stk/files/stk-4.5.1/

2018-05-01 Thread Patrice Clement
commit: afbe6249505f8f74b452058d59e4729f45be5dcd
Author: Marty E. Plummer  startmail  com>
AuthorDate: Sat Apr 21 12:25:26 2018 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Tue May  1 21:30:43 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afbe6249

media-libs/stk: epatch->PATCHES=() / default.

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 media-libs/stk/files/stk-4.5.1/010_all_removeForcedFlags.patch | 6 ++
 media-libs/stk/files/stk-4.5.1/020_all_noExamplesOrDemo.patch  | 6 ++
 media-libs/stk/files/stk-4.5.1/050_all_cxxflags.patch  | 6 ++
 media-libs/stk/stk-4.5.1-r1.ebuild | 8 +---
 4 files changed, 11 insertions(+), 15 deletions(-)

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
index 3fcc28fb763..b816f3acae6 100644
--- 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
@@ -1,7 +1,5 @@
-Index: stk-4.4.3/configure.ac
-===
 stk-4.4.3.orig/configure.ac
-+++ stk-4.4.3/configure.ac
+--- a/configure.ac
 b/configure.ac
 @@ -65,7 +65,7 @@ if test "$debug" = "yes"; then
  else
AC_SUBST( debug, [no] )

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
index 77d643593b4..59990650b61 100644
--- 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
@@ -1,7 +1,5 @@
-Index: stk-4.5.0/Makefile.in
-===
 stk-4.5.0.orig/Makefile.in
-+++ stk-4.5.0/Makefile.in
+--- a/Makefile.in
 b/Makefile.in
 @@ -6,35 +6,14 @@ REALTIME = @realtime@
  
  all :

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
index d2cc4e5be33..23defa39d37 100644
--- 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
@@ -1,7 +1,5 @@
-Index: stk-4.5.0/configure.ac
-===
 stk-4.5.0.orig/configure.ac
-+++ stk-4.5.0/configure.ac
+--- a/configure.ac
 b/configure.ac
 @@ -100,7 +100,7 @@ fi
  CPPFLAGS="$CPPFLAGS $cppflag"
  

diff --git a/media-libs/stk/stk-4.5.1-r1.ebuild 
b/media-libs/stk/stk-4.5.1-r1.ebuild
index 8d6a4005c32..53e78246741 100644
--- a/media-libs/stk/stk-4.5.1-r1.ebuild
+++ b/media-libs/stk/stk-4.5.1-r1.ebuild
@@ -20,10 +20,12 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
dev-lang/perl"
 
-src_prepare() {
-   EPATCH_SUFFIX="patch" epatch "${FILESDIR}/${P}"
-   eapply_user
+PATCHES=(
+   "${FILESDIR}/${P}"
+)
 
+src_prepare() {
+   default
eautoreconf
 }
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/stk/files/stk-4.4.4/

2018-04-05 Thread Aaron Bauman
commit: 95b611085c93ab1f176c117d52cae795b3c7451e
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Fri Mar 30 14:46:07 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Thu Apr  5 15:19:46 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95b61108

media-libs/stk: remove unused patches

Closes: https://github.com/gentoo/gentoo/pull/7711

 .../stk-4.4.4/010_all_removeForcedFlags.patch  | 13 -
 .../files/stk-4.4.4/020_all_noExamplesOrDemo.patch | 32 --
 .../stk/files/stk-4.4.4/030_all_sharedlib.patch| 13 -
 .../files/stk-4.4.4/040_all_sharedliblink.patch| 13 -
 .../stk/files/stk-4.4.4/050_all_cxxflags.patch | 15 --
 5 files changed, 86 deletions(-)

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
deleted file mode 100644
index 3fcc28fb763..000
--- a/media-libs/stk/files/stk-4.4.4/010_all_removeForcedFlags.patch
+++ /dev/null
@@ -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)

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
deleted file mode 100644
index c7e6c558125..000
--- a/media-libs/stk/files/stk-4.4.4/020_all_noExamplesOrDemo.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-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
deleted file mode 100644
index 726847bc8a1..000
--- a/media-libs/stk/files/stk-4.4.4/030_all_sharedlib.patch
+++ /dev/null
@@ -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
-@@ -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
deleted file mode 100644
index 6f267b79bd6..000
--- a/media-libs/stk/files/stk-4.4.4/040_all_sharedliblink.patch
+++ /dev/null
@@ -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
- 

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
deleted file mode 100644
index d4db1d81c5e..000
--- a/media-libs/stk/files/stk-4.4.4/050_all_cxxflags.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-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 

[gentoo-commits] repo/gentoo:master commit in: media-libs/stk/

2018-03-25 Thread Patrice Clement
commit: d1854d52f5f2fec387452eddf821813673f004b6
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Wed Mar 21 19:51:01 2018 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sun Mar 25 21:59:09 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1854d52

media-libs/stk: remove old.

Closes: https://github.com/gentoo/gentoo/pull/7538

 media-libs/stk/Manifest|  1 -
 media-libs/stk/stk-4.4.4-r1.ebuild | 62 --
 2 files changed, 63 deletions(-)

diff --git a/media-libs/stk/Manifest b/media-libs/stk/Manifest
index c556aabf9a4..2fb039c80a5 100644
--- a/media-libs/stk/Manifest
+++ b/media-libs/stk/Manifest
@@ -1,3 +1,2 @@
-DIST stk-4.4.4.tar.gz 6181713 BLAKE2B 
ffd0128b8875d4ed54a8fa8d31aa8a7b5602e5b4cde7f3017e4febd1f9c7fcfc63cc4153bccbabb612a6bff2aa3e80efeddad2a77f6e4288ec3722c5ced87634
 SHA512 
e36c43a20e95eb86ed0335ae17df23c1a672562656738496f9e2e5654a825292c4235e04774fcb0356d47a775b7d7af6b4fd63c9d151ab7f2f9195bb5f728e37
 DIST stk-4.5.0.tar.gz 2466803 BLAKE2B 
30e73179000a581c66a4e80fa00aaea481675b6779b18ec70619e7767884a23f0aa969c172c737cf2b24927d14c3bb91107750ae07b20e868177eb82c2ce3f9b
 SHA512 
a8a19e171093735052d797ef29a6a287dc6753fa726e451865250364dfd22f43b190aa03498ec94b99f3dc137ef951aa85e2f2f3509c74cedada6eedb5a31785
 DIST stk-4.5.1.tar.gz 2413113 BLAKE2B 
5eedf936f26acd3e2f377a198b252ee36bcdbb642f0649c0db6c453beb670a1fc725c94af78ff3e075f50068ae6927b628de0174dba598191ed9f9d2f074c17c
 SHA512 
c4c05edfb49b269d5d2518c06abad8e636c4f67a8598f5a03d406bbef04b8b3315d2592d35c8742ce9163b52215ac87b6349c0012e271a43707d109175b6d336

diff --git a/media-libs/stk/stk-4.4.4-r1.ebuild 
b/media-libs/stk/stk-4.4.4-r1.ebuild
deleted file mode 100644
index 0add9c2b6de..000
--- a/media-libs/stk/stk-4.4.4-r1.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# 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
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/stk/

2018-03-25 Thread Patrice Clement
commit: 87174cadef24012b25ac24203ff4af62b4fa5471
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Wed Mar 21 19:51:38 2018 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sun Mar 25 21:59:11 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87174cad

media-libs/stk: use HTTPS.

 media-libs/stk/stk-4.5.0.ebuild| 6 +++---
 media-libs/stk/stk-4.5.1-r1.ebuild | 4 ++--
 media-libs/stk/stk-4.5.1.ebuild| 6 +++---
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/media-libs/stk/stk-4.5.0.ebuild b/media-libs/stk/stk-4.5.0.ebuild
index 0645fb3db41..3a5a9c740d1 100644
--- a/media-libs/stk/stk-4.5.0.ebuild
+++ b/media-libs/stk/stk-4.5.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -6,8 +6,8 @@ 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;
+HOMEPAGE="https://ccrma.stanford.edu/software/stk/;
+SRC_URI="https://ccrma.stanford.edu/software/stk/release/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0"

diff --git a/media-libs/stk/stk-4.5.1-r1.ebuild 
b/media-libs/stk/stk-4.5.1-r1.ebuild
index 71f85aada4b..8d6a4005c32 100644
--- a/media-libs/stk/stk-4.5.1-r1.ebuild
+++ b/media-libs/stk/stk-4.5.1-r1.ebuild
@@ -6,8 +6,8 @@ EAPI=6
 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;
+HOMEPAGE="https://ccrma.stanford.edu/software/stk/;
+SRC_URI="https://ccrma.stanford.edu/software/stk/release/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0"

diff --git a/media-libs/stk/stk-4.5.1.ebuild b/media-libs/stk/stk-4.5.1.ebuild
index 943ab4560da..72482af91aa 100644
--- a/media-libs/stk/stk-4.5.1.ebuild
+++ b/media-libs/stk/stk-4.5.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -6,8 +6,8 @@ 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;
+HOMEPAGE="https://ccrma.stanford.edu/software/stk/;
+SRC_URI="https://ccrma.stanford.edu/software/stk/release/${P}.tar.gz;
 
 LICENSE="MIT"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: media-libs/stk/

2018-01-01 Thread Miroslav Šulc
commit: 549e9f4e1565ec00b8c6f9fbe3a2e9d595638ba3
Author: Miroslav Šulc  gentoo  org>
AuthorDate: Mon Jan  1 19:28:13 2018 +
Commit: Miroslav Šulc  gentoo  org>
CommitDate: Mon Jan  1 19:28:13 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=549e9f4e

media-libs/stk: bumped eapi and switched from 
media-sound/jack-audio-connection-kit to virtual/jack

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 media-libs/stk/stk-4.5.1-r1.ebuild | 70 ++
 1 file changed, 70 insertions(+)

diff --git a/media-libs/stk/stk-4.5.1-r1.ebuild 
b/media-libs/stk/stk-4.5.1-r1.ebuild
new file mode 100644
index 000..71f85aada4b
--- /dev/null
+++ b/media-libs/stk/stk-4.5.1-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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? ( virtual/jack )"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   dev-lang/perl"
+
+src_prepare() {
+   EPATCH_SUFFIX="patch" epatch "${FILESDIR}/${P}"
+   eapply_user
+
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/stk/

2017-08-01 Thread Amy Liffey
commit: de7e331d18b8d5206fe927851529534935a5cb0f
Author: Amy Liffey  gentoo  org>
AuthorDate: Tue Aug  1 14:07:49 2017 +
Commit: Amy Liffey  gentoo  org>
CommitDate: Tue Aug  1 14:07:49 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de7e331d

media-libs/stk: remove inactive proxy maintainer

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 media-libs/stk/metadata.xml | 8 
 1 file changed, 8 deletions(-)

diff --git a/media-libs/stk/metadata.xml b/media-libs/stk/metadata.xml
index 7fd3b53f21a..3b66d36c98a 100644
--- a/media-libs/stk/metadata.xml
+++ b/media-libs/stk/metadata.xml
@@ -5,16 +5,8 @@
   aball...@gentoo.org
   Alexis Ballier
 
-
-  gim...@sonnenkinder.org
-  Thomas Kuther
-
 
   proau...@gentoo.org
   Gentoo ProAudio Project
 
-
-  proxy-ma...@gentoo.org
-  Proxy Maintainers
-
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/stk/files/stk-4.5.1/, media-libs/stk/

2016-02-25 Thread Alexis Ballier
commit: 505076c7286643dfde04182f258ead871fa964fc
Author: Alexis Ballier  gentoo  org>
AuthorDate: Thu Feb 25 11:46:34 2016 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Thu Feb 25 11:46:57 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=505076c7

media-libs/stk: bump to 4.5.1

Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier  gentoo.org>

 media-libs/stk/Manifest|  1 +
 .../stk-4.5.1/010_all_removeForcedFlags.patch  | 13 
 .../files/stk-4.5.1/020_all_noExamplesOrDemo.patch | 40 +
 .../stk/files/stk-4.5.1/050_all_cxxflags.patch | 13 
 media-libs/stk/stk-4.5.1.ebuild| 69 ++
 5 files changed, 136 insertions(+)

diff --git a/media-libs/stk/Manifest b/media-libs/stk/Manifest
index 9267afb..c2f24a0 100644
--- a/media-libs/stk/Manifest
+++ b/media-libs/stk/Manifest
@@ -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

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 000..3fcc28f
--- /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 000..77d6435
--- /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 000..d2cc4e5
--- /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