public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/stk/
Date: Mon,  1 Jan 2018 19:28:42 +0000 (UTC)	[thread overview]
Message-ID: <1514834893.549e9f4e1565ec00b8c6f9fbe3a2e9d595638ba3.fordfrog@gentoo> (raw)

commit:     549e9f4e1565ec00b8c6f9fbe3a2e9d595638ba3
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  1 19:28:13 2018 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Mon Jan  1 19:28:13 2018 +0000
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 00000000000..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
+}


             reply	other threads:[~2018-01-01 19:28 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-01 19:28 Miroslav Šulc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-02-03 14:23 [gentoo-commits] repo/gentoo:master commit in: media-libs/stk/ Miroslav Šulc
2022-02-03 11:56 Jakov Smolić
2022-01-20 18:50 Sam James
2021-12-21  8:13 Miroslav Šulc
2021-11-20  8:46 Miroslav Šulc
2020-07-21  9:33 Agostino Sarubbo
2020-07-20  6:42 Agostino Sarubbo
2020-02-08  0:43 Miroslav Šulc
2020-02-08  0:43 Miroslav Šulc
2018-05-01 21:31 Patrice Clement
2018-03-25 21:59 Patrice Clement
2018-03-25 21:59 Patrice Clement
2017-08-01 14:08 Amy Liffey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1514834893.549e9f4e1565ec00b8c6f9fbe3a2e9d595638ba3.fordfrog@gentoo \
    --to=fordfrog@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox