diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-01-01 20:42:22 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-01-01 20:42:22 +0000 |
commit | 721254b86a09bdedd5eefd0de7899c90ea2ead1a (patch) | |
tree | 895fca7b3bd570d8df743dd518a6f36deca1a241 /media-libs/stk | |
parent | 618c3037024b4e5328531cdc07c6ceb7486f5329 (diff) |
gentoo resync : 01.01.2018
Diffstat (limited to 'media-libs/stk')
-rw-r--r-- | media-libs/stk/Manifest | 1 | ||||
-rw-r--r-- | media-libs/stk/stk-4.5.1-r1.ebuild | 70 |
2 files changed, 71 insertions, 0 deletions
diff --git a/media-libs/stk/Manifest b/media-libs/stk/Manifest index dbba5dfd0d5c..cc7676e6fb67 100644 --- a/media-libs/stk/Manifest +++ b/media-libs/stk/Manifest @@ -15,5 +15,6 @@ DIST stk-4.5.0.tar.gz 2466803 BLAKE2B 30e73179000a581c66a4e80fa00aaea481675b6779 DIST stk-4.5.1.tar.gz 2413113 BLAKE2B 5eedf936f26acd3e2f377a198b252ee36bcdbb642f0649c0db6c453beb670a1fc725c94af78ff3e075f50068ae6927b628de0174dba598191ed9f9d2f074c17c SHA512 c4c05edfb49b269d5d2518c06abad8e636c4f67a8598f5a03d406bbef04b8b3315d2592d35c8742ce9163b52215ac87b6349c0012e271a43707d109175b6d336 EBUILD stk-4.4.4-r1.ebuild 1564 BLAKE2B d8ae6dfb0dd63b5594a570c791c8569cafd18b77e8dfa12cde5f50b9cab634575ad1302f2ee4d9ba6e2a5704b795ac4743c16e3758029923481090341ced77cf SHA512 cb3d4dd97904d88d99278bec5cf950df4e11638731e409b1d75d991841b9695aaa702002df9755a6f761d3e45f69f45c87f1c4e31850e9b2928948e4b3181156 EBUILD stk-4.5.0.ebuild 1352 BLAKE2B dd2042f88f400b9a0a69f9acfde308870971d9c3efcd76603239dff77d42ffa8c151dc4e4414523394855ee0af2ab25300cc327398e93865e55361caca7ce53a SHA512 37d800c4abae1a39c754ae28b11dcbd1b1a4a30b59b4eac3bc468404d2bdacc930e66ef1333493aa3f3c933b5b2c9e8603ff05ad36b78f2ae4c15ea94ec9cbdb +EBUILD stk-4.5.1-r1.ebuild 1312 BLAKE2B 34551e5b40610675a28d851067b1b272c823fb47e3cf8d72a89d2dd36194d69c9e1bd4dc00e14a5dd45e47efa786803aed2329f2a9cf2346f31f6c58eaed96df SHA512 a195a28e90a2c1d7a21bce4b1eec45de6e986dff7a29a679aa0b94776c8353e6e700180955c2a46efbf5a6f60db794c6beb8405dfdd2e8b5c52e0113d75678c7 EBUILD stk-4.5.1.ebuild 1323 BLAKE2B 06b0eff796356e5bd4a20bd02c99c154be49f007ac8f0371bceaaeeb0725939499cff9bc73c0228cd249646c45ca55b5b7caf8f75e823842ea48489719c5a276 SHA512 e64143c9947a35b939aaa964cd7c9510a0ed044eba803bc48a15870a5e94d5db1c8c6ebd534f61dbaef80fd00eb650de8e12fa50c5c916139787230ba1e84d6f MISC metadata.xml 365 BLAKE2B a10b2261fdb56826dfdeb96a89f678dbebd332f99fafe31a5be95ca0db2593b3a14f69b856cda7ca5b3b6edd93f45661118a0c1fa6d6fe2ad7e4c449c579bd9b SHA512 48da9b52d54138bf4d271d39390a78b38641a4accf4f9cff2a0ce4a3954b45805d3a834f5aab0cdd13710e12ec36b5421be6c8a54db8698ae7bcf665c6866012 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 000000000000..71f85aada4bb --- /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 +} |