summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2017-10-22 08:36:31 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2017-10-22 08:36:31 +0200
commit6b258d4cd73b067dc9aecbdb759422e56c9fa788 (patch)
tree2e376c95a26a4aa61c1a82bf3194cf4538846ba3 /media-libs
parentnetbeans: bumped to the latest nightly sources (diff)
downloadfordfrog-6b258d4cd73b067dc9aecbdb759422e56c9fa788.tar.gz
fordfrog-6b258d4cd73b067dc9aecbdb759422e56c9fa788.tar.bz2
fordfrog-6b258d4cd73b067dc9aecbdb759422e56c9fa788.zip
media-libs/libgig: added live ebuild
Package-Manager: Portage-2.3.12, Repoman-2.3.3
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libgig/Manifest2
-rw-r--r--media-libs/libgig/libgig-9999.ebuild50
-rw-r--r--media-libs/libgig/metadata.xml8
3 files changed, 60 insertions, 0 deletions
diff --git a/media-libs/libgig/Manifest b/media-libs/libgig/Manifest
new file mode 100644
index 000000000..d4568d8fd
--- /dev/null
+++ b/media-libs/libgig/Manifest
@@ -0,0 +1,2 @@
+EBUILD libgig-9999.ebuild 1028 SHA256 f3f6365c823beb17888ea5930371c7e0b60cc90fd39d1dbccbd8baa8103fe1bd SHA512 82af0fd2b49cdedf29a0c8d99429e12d52aec2b308c9cf604089c6d1e77e371840064e339db551b8e1ed68592ff556df104d319c06f1f87e55bc3d79ba0e3552 WHIRLPOOL 8fe2897567c3f5d1c051d291a2ccc12dd19051a4a4c6c6f5a363cec65a3bdd03d8512dce002dd166c4c6260a9bd013fbf35c2fca307ca62cdad7fef6e377bfd4
+MISC metadata.xml 246 SHA256 fd995ca4ddd81d61668478402f0f6459948808e6c7c22b7ec0ef887a52d7ddba SHA512 86562751c7aa80747d42c87f757b005655ba552d62ad09381704e6947ce0f31b233264adaeb7766320f21f6491c0e10f18e2c113cfffe0d736122f524f342b4d WHIRLPOOL f1b7643f403e5524ff60de9018182d32a41db965031661c95ecd77c2e74f9e602ab018718d521d957f29f844e38520beaf885febc8fac09df38ddd9f962f6176
diff --git a/media-libs/libgig/libgig-9999.ebuild b/media-libs/libgig/libgig-9999.ebuild
new file mode 100644
index 000000000..182ecf252
--- /dev/null
+++ b/media-libs/libgig/libgig-9999.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils multilib subversion
+
+DESCRIPTION="C++ library for loading/modifying GigaStudio, SoundFont, KORG, AKAI, DLS files"
+HOMEPAGE="http://www.linuxsampler.org/libgig/"
+ESVN_REPO_URI="https://svn.linuxsampler.org/svn/libgig/trunk"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc static-libs"
+
+RDEPEND=">=media-libs/libsndfile-1.0.2
+ >=media-libs/audiofile-0.2.3"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )"
+
+DOCS=( AUTHORS ChangeLog NEWS README TODO )
+
+src_configure() {
+ emake -f Makefile.svn
+ econf \
+ $(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 TODO
+
+ # For libgig.so to be found at runtime
+ printf "LDPATH=\"${EPREFIX}/usr/$(get_libdir)/libgig/\"" > 99${PN}
+ doenvd "99${PN}"
+
+ if use doc ; then
+ dohtml -r doc/html/*
+ fi
+}
diff --git a/media-libs/libgig/metadata.xml b/media-libs/libgig/metadata.xml
new file mode 100644
index 000000000..fcbd082bd
--- /dev/null
+++ b/media-libs/libgig/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>