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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8A783138334 for ; Fri, 13 Dec 2019 11:08:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B7646E081A; Fri, 13 Dec 2019 11:08:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9C07FE081A for ; Fri, 13 Dec 2019 11:08:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7D38534D877 for ; Fri, 13 Dec 2019 11:08:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A483F8A7 for ; Fri, 13 Dec 2019 11:08:34 +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: <1576235305.8500a9cd34b9f95e096e56c1be53145e44d1f6c0.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/linuxsampler/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/linuxsampler/linuxsampler-9999.ebuild X-VCS-Directories: media-sound/linuxsampler/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: 8500a9cd34b9f95e096e56c1be53145e44d1f6c0 X-VCS-Branch: master Date: Fri, 13 Dec 2019 11:08:34 +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: 80d427e1-2d82-4cef-87e1-9702bdddb458 X-Archives-Hash: 9caa0937c26ab0013afc34e25d155523 commit: 8500a9cd34b9f95e096e56c1be53145e44d1f6c0 Author: Miroslav Šulc gentoo org> AuthorDate: Fri Dec 13 11:08:11 2019 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Fri Dec 13 11:08:25 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8500a9cd media-sound/linuxsampler-9999: added live ebuild Closes: https://bugs.gentoo.org/635052 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Miroslav Šulc gentoo.org> media-sound/linuxsampler/linuxsampler-9999.ebuild | 76 +++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/media-sound/linuxsampler/linuxsampler-9999.ebuild b/media-sound/linuxsampler/linuxsampler-9999.ebuild new file mode 100644 index 00000000000..bd097fd3cce --- /dev/null +++ b/media-sound/linuxsampler/linuxsampler-9999.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools subversion + +DESCRIPTION="Software audio sampler engine with professional grade features" +HOMEPAGE="https://www.linuxsampler.org/" +ESVN_REPO_URI="https://svn.linuxsampler.org/svn/linuxsampler/trunk" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="alsa doc jack lv2 sf2 sqlite" +REQUIRED_USE="|| ( alsa jack )" + +RDEPEND=" + >=media-libs/libgig-4.2.0 + media-libs/libsndfile[-minimal] + alsa? ( media-libs/alsa-lib ) + jack? ( virtual/jack ) + lv2? ( media-libs/lv2 ) + sqlite? ( >=dev-db/sqlite-3.3 ) +" +DEPEND="${RDEPEND} + media-libs/dssi + media-libs/ladspa-sdk +" +BDEPEND=" + virtual/pkgconfig + doc? ( app-doc/doxygen ) +" + +PATCHES=( + "${FILESDIR}/${PN}-2.0.0-nptl-hardened.patch" + "${FILESDIR}/${PN}-2.0.0-lv2-automagic.patch" +) + +DOCS=( AUTHORS ChangeLog NEWS README ) + +src_prepare() { + default + + emake -f Makefile.svn + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-arts-driver + --disable-static + $(use_enable alsa alsa-driver) + $(use_enable jack jack-driver) + $(use_enable lv2) + $(use_enable sqlite instruments-db) + $(use_enable sf2 sf2-engine) + ) + econf "${myeconfargs[@]}" +} + +src_compile() { + emake + use doc && emake docs +} + +src_install() { + use doc && local HTML_DOCS=( doc/html/. ) + default + find "${D}" -name '*.la' -delete || die + + # lscp files conflict with nilfs-utils, bug #556330 + mv "${D}/usr/bin/lscp" "${D}/usr/bin/lscp-${PN}" || die + mv "${D}/usr/share/man/man1/lscp.1" "${D}/usr/share/man/man1/lscp-${PN}.1" || die +}