media-sound/linuxsampler: 2.1.0 version bump
authorAndreas Sturmlechner <asturm@gentoo.org>
Mon, 17 Dec 2018 01:02:59 +0000 (02:02 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 23 Dec 2018 22:47:56 +0000 (23:47 +0100)
Bug: https://bugs.gentoo.org/635052
Closes: https://bugs.gentoo.org/556330
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
media-sound/linuxsampler/Manifest
media-sound/linuxsampler/linuxsampler-2.1.0.ebuild [new file with mode: 0644]
media-sound/linuxsampler/metadata.xml

index a9e4ee8fc1e6687ef1c874749f5c13f71e771170..a686bf8583579f5118ce1e175c53de1a6ebb3eb7 100644 (file)
@@ -1 +1,2 @@
 DIST linuxsampler-2.0.0.tar.bz2 1318939 BLAKE2B 75454863e0c56518f2a423ee11567758e1605c450389e6c723d76913319d6bd7ad25c4853d9f1982551c256848fd671f257004f1fc77fb6928b252007830c0f3 SHA512 f4a57117dbec3eeb9d6d670fec76e928ef9d9e49a1a8c6bd654d6114efdc203861e7865005f06265c172e29b5e0a948eac160377dcdabc5244caed5e5ca7e441
+DIST linuxsampler-2.1.0.tar.bz2 1154834 BLAKE2B 1be8a14bb6c13d90f4068cc2e25211dccc8253a114234ba560136d9da9a806d101db49116698fe53353a649c77513d244700d7bb65be04d0eb4d10ef057898d6 SHA512 503db074437b07e3e8dc8d1cb0aa3a510a62d183148157c1a4757681a4319e531bd6a1486a83c0ab9721dde82e27306150f3be87476c9298b2335438670e19a7
diff --git a/media-sound/linuxsampler/linuxsampler-2.1.0.ebuild b/media-sound/linuxsampler/linuxsampler-2.1.0.ebuild
new file mode 100644 (file)
index 0000000..258fedc
--- /dev/null
@@ -0,0 +1,76 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Software audio sampler engine with professional grade features"
+HOMEPAGE="https://www.linuxsampler.org/"
+SRC_URI="https://download.linuxsampler.org/packages/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="alsa doc jack lv2 sf2 sqlite"
+REQUIRED_USE="|| ( alsa jack )"
+
+RDEPEND="
+       >=media-libs/libgig-4.1.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
+       # Force regeneration of the file to let it build with all bison
+       # versions, bug #556204
+       rm src/network/lscpparser.cpp || die
+       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() {
+       default
+       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
+}
index 188b388f69c67e7acd047cfb0e5d82c0f8f5dbea..f1a8718cd39b3c3a9700344e3a17d7a8753630c3 100644 (file)
@@ -1,11 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-  <maintainer type="project">
-      <email>sound@gentoo.org</email>
-      <name>Gentoo Sound project</name>
-  </maintainer>
-  <use>
-    <flag name="lv2">Add support for Ladspa V2</flag>
-  </use>
+       <maintainer type="project">
+               <email>sound@gentoo.org</email>
+               <name>Gentoo Sound project</name>
+       </maintainer>
+       <use>
+               <flag name="lv2">Add support for Ladspa V2</flag>
+               <flag name="sf2">Add support for SoundFont 2 sound bank files</flag>
+       </use>
 </pkgmetadata>