summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-libs/liblscp/Manifest1
-rw-r--r--media-libs/liblscp/liblscp-0.9.7.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/media-libs/liblscp/Manifest b/media-libs/liblscp/Manifest
index 878ae1fec504..aead3ca6b494 100644
--- a/media-libs/liblscp/Manifest
+++ b/media-libs/liblscp/Manifest
@@ -1 +1,2 @@
DIST liblscp-0.9.6.tar.gz 100811 BLAKE2B a86a5e9e6d52dfd2449274e1c800e40887094dcea3e39d257670dded8b3805f2cdf575b41f640b0df95cd008656d3e7c8ca93d5bc5360c8727b80d6d2695ed83 SHA512 51c3b0b3dfe3947ac5d7cfec18fec597a4282aacc489cdda5a30d5853c3a43778e207ddf2f211c28ba04386fd6f30a09eed62dc2a33177e5aeccd7f77b4ef520
+DIST liblscp-0.9.7.tar.gz 98364 BLAKE2B 8ea8d05f7753db3dc3210e3faaa60d7f0e7fab558948a7e687b60b728f00ca557a08594f72beb0823e14c4eb3d4ec0aa75bb802194a4b9e660546c462196553a SHA512 03b83962ea89bbf4ca6b76c71f4883c7621a7306383bbd53f6240d7f17838cfa89c2861aa169f789754f6067fe76866068b26ab1370a0c2fafbf0f660894a4ad
diff --git a/media-libs/liblscp/liblscp-0.9.7.ebuild b/media-libs/liblscp/liblscp-0.9.7.ebuild
new file mode 100644
index 000000000000..5d0c3733b0ff
--- /dev/null
+++ b/media-libs/liblscp/liblscp-0.9.7.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="C++ library for the Linux Sampler control protocol"
+HOMEPAGE="https://www.linuxsampler.org"
+
+if [[ ${PV} == "9999" ]] ; then
+ inherit subversion
+ ESVN_REPO_URI="https://svn.linuxsampler.org/svn/liblscp/trunk"
+else
+ SRC_URI="https://www.rncbc.org/archive/${P}.tar.gz
+ https://download.linuxsampler.org/packages/${P}.tar.gz"
+ KEYWORDS="~amd64 ~ppc ~x86"
+fi
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE="doc"
+
+BDEPEND="doc? ( app-doc/doxygen )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-0.9.6-conditional.patch"
+)
+
+DOCS=( ChangeLog README )
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_DOC=$(usex doc)
+ )
+ cmake_src_configure
+}