From 7bc9c63c9da678a7e6fceb095d56c634afd22c56 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 15 Dec 2019 18:09:03 +0000 Subject: gentoo resync : 15.12.2019 --- media-sound/linuxsampler/linuxsampler-9999.ebuild | 76 +++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 media-sound/linuxsampler/linuxsampler-9999.ebuild (limited to 'media-sound/linuxsampler/linuxsampler-9999.ebuild') diff --git a/media-sound/linuxsampler/linuxsampler-9999.ebuild b/media-sound/linuxsampler/linuxsampler-9999.ebuild new file mode 100644 index 000000000000..bd097fd3cce7 --- /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 +} -- cgit v1.2.3