public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-sound/linuxsampler/files/, media-sound/linuxsampler/
@ 2016-02-13 12:42 David Seifert
  0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2016-02-13 12:42 UTC (permalink / raw
  To: gentoo-commits

commit:     f7b26ec1e274a1985e25929b839221ed8f70e5e5
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 13 12:42:08 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Feb 13 12:42:26 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7b26ec1

media-sound/linuxsampler: Fixed automagic dependency on media-libs/lv2

Gentoo-Bug: 557010
* Added USE=lv2 flag, which pulls in media-libs/lv2 as dependency
* Fix configure.ac automagically enabling lv2 support
* Amend metadata.xml to reflect new USE flag

Package-Manager: portage-2.2.27

 .../files/linuxsampler-2.0.0-lv2-automagic.patch    | 21 +++++++++++++++++++++
 ...2.0.0-r1.ebuild => linuxsampler-2.0.0-r2.ebuild} | 12 ++++++------
 media-sound/linuxsampler/metadata.xml               | 11 +++++++----
 3 files changed, 34 insertions(+), 10 deletions(-)

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
new file mode 100644
index 0000000..a5b9f8d
--- /dev/null
+++ b/media-sound/linuxsampler/files/linuxsampler-2.0.0-lv2-automagic.patch
@@ -0,0 +1,21 @@
+--- linuxsampler-2.0.0/configure.ac
++++ linuxsampler-2.0.0/configure.ac
+@@ -532,12 +532,12 @@
+ AM_CONDITIONAL(HAVE_DSSI, test $config_have_dssi = "yes")
+ 
+ # LV2
+-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
+-AC_SUBST(LV2_CFLAGS)
+-AC_SUBST(LV2_LIBS)
++AC_ARG_ENABLE([lv2],
++	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"])
++])
+ AM_CONDITIONAL(HAVE_LV2, test $config_have_lv2 = "yes")
+ 
+ # VST

diff --git a/media-sound/linuxsampler/linuxsampler-2.0.0-r1.ebuild b/media-sound/linuxsampler/linuxsampler-2.0.0-r2.ebuild
similarity index 85%
rename from media-sound/linuxsampler/linuxsampler-2.0.0-r1.ebuild
rename to media-sound/linuxsampler/linuxsampler-2.0.0-r2.ebuild
index 4806c00..2cdae23 100644
--- a/media-sound/linuxsampler/linuxsampler-2.0.0-r1.ebuild
+++ b/media-sound/linuxsampler/linuxsampler-2.0.0-r2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="http://download.linuxsampler.org/packages/${P}.tar.bz2"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="doc jack sqlite static-libs"
+IUSE="doc jack lv2 sqlite static-libs"
 
 RDEPEND="sqlite? ( >=dev-db/sqlite-3.3 )
 	>=media-libs/libgig-4.0.0
@@ -21,9 +21,11 @@ RDEPEND="sqlite? ( >=dev-db/sqlite-3.3 )
 	jack? ( media-sound/jack-audio-connection-kit )"
 DEPEND="${RDEPEND}
 	virtual/pkgconfig
-	doc? ( app-doc/doxygen )"
+	doc? ( app-doc/doxygen )
+	lv2? ( media-libs/lv2 )"
 PATCHES=(
 	"${FILESDIR}/${P}-nptl-hardened.patch"
+	"${FILESDIR}/${P}-lv2-automagic.patch"
 )
 
 src_prepare() {
@@ -39,6 +41,7 @@ src_configure() {
 		--enable-alsa-driver \
 		--disable-arts-driver \
 		$(use_enable jack jack-driver) \
+		$(use_enable lv2) \
 		$(use_enable sqlite instruments-db) \
 		$(use_enable static-libs static)
 }
@@ -50,9 +53,6 @@ src_compile() {
 
 src_install() {
 	default
-
-	docinto html
-	use doc && dodoc -r doc/html/*
-
+	use doc && dodoc -r doc/html
 	prune_libtool_files
 }

diff --git a/media-sound/linuxsampler/metadata.xml b/media-sound/linuxsampler/metadata.xml
index c870d0e..188b388 100644
--- a/media-sound/linuxsampler/metadata.xml
+++ b/media-sound/linuxsampler/metadata.xml
@@ -1,8 +1,11 @@
 <?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>
+  <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>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-sound/linuxsampler/files/, media-sound/linuxsampler/
@ 2017-04-01 12:26 Alexis Ballier
  0 siblings, 0 replies; 2+ messages in thread
From: Alexis Ballier @ 2017-04-01 12:26 UTC (permalink / raw
  To: gentoo-commits

commit:     cb43aa6dde012ba1c92d755067e0892e53cb61d9
Author:     Karl Linden <karl.j.linden <AT> gmail <DOT> com>
AuthorDate: Fri Mar 31 09:17:22 2017 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Sat Apr  1 12:26:46 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb43aa6d

media-sound/linuxsampler: remove old and depend on virtual/jack

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 media-sound/linuxsampler/Manifest                  |  2 -
 .../files/linuxsampler-0.5.1-gcc43.patch           | 36 ---------------
 .../files/linuxsampler-0.5.1-libtool22.patch       | 20 --------
 .../files/linuxsampler-0.5.1-pkgconfiginit.patch   | 12 -----
 .../files/linuxsampler-1.0.0-gcc47.patch           | 13 ------
 media-sound/linuxsampler/linuxsampler-0.5.1.ebuild | 51 --------------------
 .../linuxsampler/linuxsampler-1.0.0-r1.ebuild      | 53 ---------------------
 .../linuxsampler/linuxsampler-2.0.0-r2.ebuild      |  4 +-
 media-sound/linuxsampler/linuxsampler-2.0.0.ebuild | 54 ----------------------
 9 files changed, 2 insertions(+), 243 deletions(-)

diff --git a/media-sound/linuxsampler/Manifest b/media-sound/linuxsampler/Manifest
index bf0bfacbf89..a91b672681b 100644
--- a/media-sound/linuxsampler/Manifest
+++ b/media-sound/linuxsampler/Manifest
@@ -1,3 +1 @@
-DIST linuxsampler-0.5.1.tar.bz2 614500 SHA256 e0d42f98813abf187b636f52d3fe3d5c1add228a2e783bdda409ebae1c7f901f SHA512 2125608ac5549068592a305bb9efd73d4100974d27d014ca41360c204d350c4abe04beda6d9f1238897003fdd7268d55f9eaf2b7b54aec26b74120f6c2eba5c3 WHIRLPOOL 2615d3e51ef81381931b7088a7638317a99a51cd7bd5bd91a4b00ea9094c79ac08602bc4731c74871eb63205baee92092886c1f21b2841547bdbfa9d5bbfae85
-DIST linuxsampler-1.0.0.tar.bz2 701591 SHA256 bf4f4f83b9ab706e8e8b017aafb560c363bb7663413aeae46d49f1f56110c9cf SHA512 50b27ff16ef0f393e0808d992ca58f8a4ec12ce909bf3a461502e7e2a2bcfcbfb1558dd07a5ff5af2cbf26bc5f7b878a736005a8e90e4d5e92ca9b868e9bc204 WHIRLPOOL e7668fb4a1c802411de89fb73bdbca78150a8fc6386c42d9c3b9f8c7c1d4576260ef6c89e283f1fbcbcf397515d565e5e13f1e5286a07b6cb8240bb26e437bf6
 DIST linuxsampler-2.0.0.tar.bz2 1318939 SHA256 1943d05006d96a9fb49f74a6f38129a4585cb78cc0648885fca9f056529c5c28 SHA512 f4a57117dbec3eeb9d6d670fec76e928ef9d9e49a1a8c6bd654d6114efdc203861e7865005f06265c172e29b5e0a948eac160377dcdabc5244caed5e5ca7e441 WHIRLPOOL d8af13229d8dafd8ed68950038968d19e01a010465a91ddd54866fb626c47081931dba7dda9a073c17274c26dec9a1ec51cf30a00fe4831716354c9e9fcf4cf4

diff --git a/media-sound/linuxsampler/files/linuxsampler-0.5.1-gcc43.patch b/media-sound/linuxsampler/files/linuxsampler-0.5.1-gcc43.patch
deleted file mode 100644
index e65c6cbb106..00000000000
--- a/media-sound/linuxsampler/files/linuxsampler-0.5.1-gcc43.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-Index: linuxsampler-0.5.1/src/db/InstrumentsDbUtilities.h
-===================================================================
---- linuxsampler-0.5.1.orig/src/db/InstrumentsDbUtilities.h
-+++ linuxsampler-0.5.1/src/db/InstrumentsDbUtilities.h
-@@ -24,6 +24,7 @@
- #define __LS_INSTRUMENTSDBUTILITIES_H__
- 
- #include <vector>
-+#include <memory>
- #include <gig.h>
- #include <sqlite3.h>
- #include <sys/stat.h>
-Index: linuxsampler-0.5.1/src/drivers/midi/midi.h
-===================================================================
---- linuxsampler-0.5.1.orig/src/drivers/midi/midi.h
-+++ linuxsampler-0.5.1/src/drivers/midi/midi.h
-@@ -21,6 +21,7 @@
- #ifndef __LS_MIDI_H__
- #define __LS_MIDI_H__
- 
-+#include <stdint.h>
- #include <string.h>
- 
- namespace LinuxSampler {
-Index: linuxsampler-0.5.1/src/network/lscpserver.cpp
-===================================================================
---- linuxsampler-0.5.1.orig/src/network/lscpserver.cpp
-+++ linuxsampler-0.5.1/src/network/lscpserver.cpp
-@@ -21,6 +21,7 @@
-  *   MA  02111-1307  USA                                                   *
-  ***************************************************************************/
- 
-+#include <algorithm>
- #include "lscpserver.h"
- #include "lscpresultset.h"
- #include "lscpevent.h"

diff --git a/media-sound/linuxsampler/files/linuxsampler-0.5.1-libtool22.patch b/media-sound/linuxsampler/files/linuxsampler-0.5.1-libtool22.patch
deleted file mode 100644
index 3c4add20637..00000000000
--- a/media-sound/linuxsampler/files/linuxsampler-0.5.1-libtool22.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-Index: linuxsampler-0.5.1/configure.in
-===================================================================
---- linuxsampler-0.5.1.orig/configure.in
-+++ linuxsampler-0.5.1/configure.in
-@@ -38,6 +38,7 @@ LSCP_RELEASE_MINOR=3
- AC_DEFINE_UNQUOTED(LSCP_RELEASE_MAJOR, ${LSCP_RELEASE_MAJOR}, [LSCP spec major version this release complies with.])
- AC_DEFINE_UNQUOTED(LSCP_RELEASE_MINOR, ${LSCP_RELEASE_MINOR}, [LSCP spec minor version this release complies with.])
- 
-+AC_PROG_CXX
- AM_PROG_LIBTOOL
- 
- AC_SUBST(SHLIB_VERSION_ARG)
-@@ -1082,7 +1083,6 @@ AM_CONFIG_HEADER(config.h)
- AM_INIT_AUTOMAKE(linuxsampler, "$LINUXSAMPLER_RELEASE_MAJOR.$LINUXSAMPLER_RELEASE_MINOR.$LINUXSAMPLER_RELEASE_BUILD")
- 
- AC_LANG_CPLUSPLUS
--AC_PROG_CXX
- 
- # some gcc 4.0 versions need -msse for SSE register allocations
- if test "$config_asm" = "yes"; then

diff --git a/media-sound/linuxsampler/files/linuxsampler-0.5.1-pkgconfiginit.patch b/media-sound/linuxsampler/files/linuxsampler-0.5.1-pkgconfiginit.patch
deleted file mode 100644
index 551f1512e12..00000000000
--- a/media-sound/linuxsampler/files/linuxsampler-0.5.1-pkgconfiginit.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Index: linuxsampler-0.5.1/configure.in
-===================================================================
---- linuxsampler-0.5.1.orig/configure.in
-+++ linuxsampler-0.5.1/configure.in
-@@ -52,6 +52,7 @@ AC_SUBST(target_cpu)
- AC_SUBST(target_os)
- AC_SUBST(target_vendor)
- 
-+PKG_PROG_PKG_CONFIG
- 
- ###########################################################################
- # General Checks

diff --git a/media-sound/linuxsampler/files/linuxsampler-1.0.0-gcc47.patch b/media-sound/linuxsampler/files/linuxsampler-1.0.0-gcc47.patch
deleted file mode 100644
index e46fb243b6c..00000000000
--- a/media-sound/linuxsampler/files/linuxsampler-1.0.0-gcc47.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-https://bugs.gentoo.org/414033
-
---- a/src/common/Pool.h
-+++ b/src/common/Pool.h
-@@ -393,7 +393,7 @@ class RTList : public RTListBase<T> {
-         inline Iterator allocAppend() {
-             if (pPool->poolIsEmpty()) return RTListBase<T>::begin();
-             Iterator element = pPool->alloc();
--            append(element);
-+            this->append(element);
-             #if CONFIG_DEVMODE
-             element.list = this;
-             #endif // CONFIG_DEVMODE

diff --git a/media-sound/linuxsampler/linuxsampler-0.5.1.ebuild b/media-sound/linuxsampler/linuxsampler-0.5.1.ebuild
deleted file mode 100644
index 834a47f99df..00000000000
--- a/media-sound/linuxsampler/linuxsampler-0.5.1.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-inherit autotools eutils
-
-DESCRIPTION="LinuxSampler is a software audio sampler engine with professional grade features"
-HOMEPAGE="http://www.linuxsampler.org/"
-SRC_URI="http://download.linuxsampler.org/packages/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc jack sqlite"
-
-RDEPEND="sqlite? ( >=dev-db/sqlite-3.3 )
-	>=media-libs/libgig-3.2.1
-	media-libs/alsa-lib
-	jack? ( media-sound/jack-audio-connection-kit )"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig
-	doc? ( app-doc/doxygen )"
-
-src_unpack() {
-	unpack ${A}
-	cd "${S}"
-
-	epatch "${FILESDIR}/${P}-pkgconfiginit.patch"
-	epatch "${FILESDIR}/${P}-libtool22.patch"
-	epatch "${FILESDIR}/${P}-gcc43.patch"
-	AT_M4DIR="m4" eautoreconf
-}
-
-src_compile() {
-	econf --enable-alsa-driver \
-		$(use_enable jack jack-driver) \
-		$(use_enable sqlite instruments-db)
-	emake -j1 || die "emake failed."
-
-	if use doc; then
-		emake -j1 docs || die "emake docs failed."
-	fi
-}
-
-src_install() {
-	emake DESTDIR="${D}" install || die "emake install failed."
-	dodoc AUTHORS ChangeLog NEWS README
-
-	if use doc; then
-		dohtml -r doc/html/*
-	fi
-}

diff --git a/media-sound/linuxsampler/linuxsampler-1.0.0-r1.ebuild b/media-sound/linuxsampler/linuxsampler-1.0.0-r1.ebuild
deleted file mode 100644
index f7008b85fe8..00000000000
--- a/media-sound/linuxsampler/linuxsampler-1.0.0-r1.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-inherit eutils
-
-DESCRIPTION="LinuxSampler is a software audio sampler engine with professional grade features"
-HOMEPAGE="http://www.linuxsampler.org/"
-SRC_URI="http://download.linuxsampler.org/packages/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc jack sqlite static-libs"
-
-RDEPEND="sqlite? ( >=dev-db/sqlite-3.3 )
-	>=media-libs/libgig-3.3.0
-	media-libs/alsa-lib
-	jack? ( media-sound/jack-audio-connection-kit )"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig
-	doc? ( app-doc/doxygen )"
-
-src_prepare() {
-	epatch "${FILESDIR}"/${P}-gcc47.patch
-}
-
-src_configure() {
-	econf --enable-alsa-driver \
-		--disable-arts-driver \
-		$(use_enable jack jack-driver) \
-		$(use_enable sqlite instruments-db) \
-		$(use_enable static-libs static)
-}
-
-src_compile() {
-	emake
-	if use doc; then
-		emake docs
-	fi
-}
-
-src_install() {
-	emake DESTDIR="${D}" install
-	dodoc AUTHORS ChangeLog NEWS README
-
-	if use doc; then
-		dohtml -r doc/html/*
-	fi
-
-	prune_libtool_files
-}

diff --git a/media-sound/linuxsampler/linuxsampler-2.0.0-r2.ebuild b/media-sound/linuxsampler/linuxsampler-2.0.0-r2.ebuild
index 446de49b49e..5caedabd561 100644
--- a/media-sound/linuxsampler/linuxsampler-2.0.0-r2.ebuild
+++ b/media-sound/linuxsampler/linuxsampler-2.0.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -17,7 +17,7 @@ IUSE="doc jack lv2 sqlite static-libs"
 RDEPEND="sqlite? ( >=dev-db/sqlite-3.3 )
 	>=media-libs/libgig-4.0.0
 	media-libs/alsa-lib
-	jack? ( media-sound/jack-audio-connection-kit )"
+	jack? ( virtual/jack )"
 DEPEND="${RDEPEND}
 	virtual/pkgconfig
 	doc? ( app-doc/doxygen )

diff --git a/media-sound/linuxsampler/linuxsampler-2.0.0.ebuild b/media-sound/linuxsampler/linuxsampler-2.0.0.ebuild
deleted file mode 100644
index 7378a3545c0..00000000000
--- a/media-sound/linuxsampler/linuxsampler-2.0.0.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils
-
-DESCRIPTION="LinuxSampler is a software audio sampler engine with professional grade features"
-HOMEPAGE="http://www.linuxsampler.org/"
-SRC_URI="http://download.linuxsampler.org/packages/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc jack sqlite static-libs"
-
-RDEPEND="sqlite? ( >=dev-db/sqlite-3.3 )
-	>=media-libs/libgig-4.0.0
-	media-libs/alsa-lib
-	jack? ( media-sound/jack-audio-connection-kit )"
-DEPEND="${RDEPEND}
-	virtual/pkgconfig
-	doc? ( app-doc/doxygen )"
-
-src_prepare() {
-	# Force regeneration of the file to let it build with all bison
-	# versions, bug #556204
-	rm -f src/network/lscpparser.cpp || die
-}
-
-src_configure() {
-	econf --enable-alsa-driver \
-		--disable-arts-driver \
-		$(use_enable jack jack-driver) \
-		$(use_enable sqlite instruments-db) \
-		$(use_enable static-libs static)
-}
-
-src_compile() {
-	emake
-	if use doc; then
-		emake docs
-	fi
-}
-
-src_install() {
-	default
-
-	if use doc; then
-		dohtml -r doc/html/*
-	fi
-
-	prune_libtool_files
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-01 12:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-01 12:26 [gentoo-commits] repo/gentoo:master commit in: media-sound/linuxsampler/files/, media-sound/linuxsampler/ Alexis Ballier
  -- strict thread matches above, loose matches on Subject: below --
2016-02-13 12:42 David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox