summaryrefslogtreecommitdiff
path: root/media-sound/linuxsampler
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/linuxsampler')
-rw-r--r--media-sound/linuxsampler/Manifest3
-rw-r--r--media-sound/linuxsampler/files/linuxsampler-2.0.0-lv2-automagic.patch13
-rw-r--r--media-sound/linuxsampler/linuxsampler-9999.ebuild76
3 files changed, 87 insertions, 5 deletions
diff --git a/media-sound/linuxsampler/Manifest b/media-sound/linuxsampler/Manifest
index 6bbd22db4a71..70b0bb445d30 100644
--- a/media-sound/linuxsampler/Manifest
+++ b/media-sound/linuxsampler/Manifest
@@ -1,5 +1,6 @@
-AUX linuxsampler-2.0.0-lv2-automagic.patch 727 BLAKE2B 23d836320c5bdd8e022599c65d26c3c757828a348e9ce87d158e1bdc9f3fb82ae174cc08a7ee4b4981378c4fd556fb932b2dcd4cf7bdb88c27920fb8a2033f8f SHA512 95f7b2bf01b293c58dc673cd40d6846d50d3a430a2874260fc268de7afe414a4970d4a443801f5d16417c14c6c16732e4bfdc58f7f997b7a3dd0bc1dc7ac8ddd
+AUX linuxsampler-2.0.0-lv2-automagic.patch 929 BLAKE2B 11e2dac74d6e4bc76385544f9cfbf60defe7c3fdcac0f3e943c54dfc38e152df3beb71c5453c7e1df126a3415aa9ea9d75b2abba80efbbf65e64b10388f195c4 SHA512 4d7204b567e578efb3370e11ae69c631c49b01e864c7fb59d6eed309c7ff9ad9d2aa7832ef233f4c5b8e6a26af06c2d9d239cb361d69966e2556cb2816415de2
AUX linuxsampler-2.0.0-nptl-hardened.patch 654 BLAKE2B 1e3f06d78cce3a67847bf3bedbb40b4ee7d28d410997444506d21d4ed0e646106ddcc78c770c3e214d73e474e6138f436841d3ce1703c9da2f06df3df921e9ce SHA512 cc75f55d80264d939650ea87c967e206110ae07245ae8e00dd83bed63a4e0aa75aa2a18b3b384ca3557896e44b2a13bd34deb3cc6f5487d7516b09b2c05e1594
DIST linuxsampler-2.1.1.tar.bz2 1410461 BLAKE2B dacaab33601f25954ea1a3380c8e28358d2111b664982f25ec9cac46adb99241ecfd53101ca3b23428c1a16fcef738b1e7e481b1c7eeb6d9659773f5b8856b55 SHA512 3f172efe40bbe130a2ac09f9393a46a30cc327a6754a80fdb36e65276518ec82befa2075acc567ccd99c22d9859c1a65f58ff2ad7af70cd9e4649ae14fd5357c
EBUILD linuxsampler-2.1.1.ebuild 1678 BLAKE2B fd23baae3cb8bb26635e960bee6a2e3703970e50c117fc3078d4f0135aaabf3347753a6e489d99f134546249cec019963b0411239a7346ab4107b1ed378e93e2 SHA512 e18cdfbd824290b269081552f30bd72a3de4f2b0afeb3514c252cebb7413ebfb31ac2ad18d69cb0e3087283cef1d5a8e7077f392410f362b84de873ecad0cda6
+EBUILD linuxsampler-9999.ebuild 1577 BLAKE2B e79cae44e8560f0e4790e595d77e34adf9d9c74f2ad99ac20c681a632adc5bb0ee38faf5d2af8c4893322548fb0d2ea4a1b3a25bce439ca766f679b493ff53c0 SHA512 016ac964bfb4eac8d3f32596d684e1e7432eabf53f4f8968ee33eec7a311fdbc71311c4040f1597ecee0a1a3487ec36cc313939c38a22938358fbfa3003cd8da
MISC metadata.xml 391 BLAKE2B 61588190c31aaa0c88b7f4ad84cb3fe01cc41e6bf8d6dc3c607647fb30a36557f373525bc69cd927fcb5a425633bd751bf5347862ce23fa07d945ae01dae3aed SHA512 06d0561b1b0689da35775b4483e6738eb98ee2c4f9773cdaa0220d3e200eb37c6760d58a9993a1dc4e2110adbddb1d2764425aac3619d8c1af715cc368fc4fc4
diff --git a/media-sound/linuxsampler/files/linuxsampler-2.0.0-lv2-automagic.patch b/media-sound/linuxsampler/files/linuxsampler-2.0.0-lv2-automagic.patch
index a5b9f8d71efa..522882abf5c4 100644
--- a/media-sound/linuxsampler/files/linuxsampler-2.0.0-lv2-automagic.patch
+++ b/media-sound/linuxsampler/files/linuxsampler-2.0.0-lv2-automagic.patch
@@ -1,6 +1,8 @@
---- linuxsampler-2.0.0/configure.ac
-+++ linuxsampler-2.0.0/configure.ac
-@@ -532,12 +532,12 @@
+diff --git a/configure.ac b/configure.ac
+index c0a37e9..44348ad 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -535,12 +535,15 @@ AC_CHECK_HEADERS(dssi.h,
AM_CONDITIONAL(HAVE_DSSI, test $config_have_dssi = "yes")
# LV2
@@ -14,7 +16,10 @@
+ AS_HELP_STRING([--enable-lv2], [Enable building with lv2]))
+config_have_lv2="no"
+AS_IF([test "x$enable_lv2" = "xyes"], [
-+ PKG_CHECK_MODULES([LV2], [lv2 >= 1.0.0 lv2core >= 1.0.0], [config_have_lv2="yes"])
++ PKG_CHECK_MODULES(LV2, lv2 >= 1.0.0, config_have_lv2="yes", config_have_lv2="no")
++ if test "$config_have_lv2" != "yes"; then
++ PKG_CHECK_MODULES(LV2, lv2core >= 1.0.0, config_have_lv2="yes", config_have_lv2="no")
++ fi
+])
AM_CONDITIONAL(HAVE_LV2, test $config_have_lv2 = "yes")
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
+}