From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BFEB1158086 for ; Sat, 20 Nov 2021 08:46:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C685E07D3; Sat, 20 Nov 2021 08:46:47 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E46B7E07D3 for ; Sat, 20 Nov 2021 08:46:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 39E25342CDB for ; Sat, 20 Nov 2021 08:46:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CB5D11B8 for ; Sat, 20 Nov 2021 08:46:43 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1637398002.bac6bfca197ceb50d2246f4d829c11ba9f703cec.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/stk/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/stk/Manifest media-libs/stk/stk-4.6.2.ebuild X-VCS-Directories: media-libs/stk/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: bac6bfca197ceb50d2246f4d829c11ba9f703cec X-VCS-Branch: master Date: Sat, 20 Nov 2021 08:46:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 703bfc3a-0adb-4bec-8155-ac9755df203f X-Archives-Hash: 82f329e3894ab47adb9b5d3cd27127a2 commit: bac6bfca197ceb50d2246f4d829c11ba9f703cec Author: Miroslav Šulc gentoo org> AuthorDate: Sat Nov 20 08:46:31 2021 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Sat Nov 20 08:46:42 2021 +0000 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 8673cabbc57c5b520af62def967bf3923a91c7b619bd29faaebaa4e3fa6aabcd9dc43e605663d8062650b105ae60ebefc44a3fa420ef711119861ce03e77f130 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 000000000000..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 +}