summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2017-11-30 21:16:40 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2017-11-30 21:16:40 +0100
commit66988246296904455a592f6fb911ad35b0b819e0 (patch)
treefa664bfd48664e1ba369d5c929083d3447927956 /media-libs
parentnetbeans: bumped to the latest nightly sources (diff)
downloadfordfrog-66988246296904455a592f6fb911ad35b0b819e0.tar.gz
fordfrog-66988246296904455a592f6fb911ad35b0b819e0.tar.bz2
fordfrog-66988246296904455a592f6fb911ad35b0b819e0.zip
media-libs/liblscp: added live ebuild
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/liblscp/Manifest2
-rw-r--r--media-libs/liblscp/liblscp-9999.ebuild45
-rw-r--r--media-libs/liblscp/metadata.xml8
3 files changed, 55 insertions, 0 deletions
diff --git a/media-libs/liblscp/Manifest b/media-libs/liblscp/Manifest
new file mode 100644
index 000000000..dc90eb400
--- /dev/null
+++ b/media-libs/liblscp/Manifest
@@ -0,0 +1,2 @@
+EBUILD liblscp-9999.ebuild 974 SHA256 2be07309132eae40c237fab450c899f88a500dac963045d333a31ea6f0d59b70 SHA512 7123194d2da27d748f4f74bd50ac5509058962223736377cf9ec7274c0107500d69705df0acd18d3fbc9378be73fee4ab52dd03ca8b939ee709855039f3c15f1 WHIRLPOOL 3932b81dc1a7748cc3503886b368953805d65f6188a136976d14ca1569055a9bca79868cb7e05d649acf9ea6e928c77bd9c13096cdaee2cabf2ab1d8cb41dd51
+MISC metadata.xml 246 SHA256 fd995ca4ddd81d61668478402f0f6459948808e6c7c22b7ec0ef887a52d7ddba SHA512 86562751c7aa80747d42c87f757b005655ba552d62ad09381704e6947ce0f31b233264adaeb7766320f21f6491c0e10f18e2c113cfffe0d736122f524f342b4d WHIRLPOOL f1b7643f403e5524ff60de9018182d32a41db965031661c95ecd77c2e74f9e602ab018718d521d957f29f844e38520beaf885febc8fac09df38ddd9f962f6176
diff --git a/media-libs/liblscp/liblscp-9999.ebuild b/media-libs/liblscp/liblscp-9999.ebuild
new file mode 100644
index 000000000..ca5f5f1cb
--- /dev/null
+++ b/media-libs/liblscp/liblscp-9999.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit subversion
+
+DESCRIPTION="C++ library for the Linux Sampler control protocol"
+HOMEPAGE="http://www.linuxsampler.org"
+ESVN_REPO_URI="https://svn.linuxsampler.org/svn/liblscp/trunk"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS=""
+IUSE="doc static-libs"
+
+RDEPEND=""
+DEPEND="doc? ( app-doc/doxygen )"
+
+DOCS=( AUTHORS ChangeLog TODO NEWS README )
+
+src_configure() {
+ emake -f Makefile.svn
+
+ # upstream does not support --disable-static during configuration,
+ # just --enable-static=no
+ econf \
+ $(! has static-libs && echo --enable-static=no)
+}
+
+src_compile() {
+ emake
+ use doc && emake docs
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ # for some reason static libs are installed even when disabled in configuration
+ # so we have to remove them manually
+ ! use static-libs && find "${D}" -name "*.la" -delete
+
+ if use doc; then
+ dohtml -r doc/html/*
+ fi
+}
diff --git a/media-libs/liblscp/metadata.xml b/media-libs/liblscp/metadata.xml
new file mode 100644
index 000000000..fcbd082bd
--- /dev/null
+++ b/media-libs/liblscp/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>fordfrog@gentoo.org</email>
+ <name>Miroslav Šulc</name>
+</maintainer>
+</pkgmetadata>