media-libs/libgig-4.2.0: bump
authorMiroslav Šulc <fordfrog@gentoo.org>
Wed, 13 Nov 2019 13:38:32 +0000 (14:38 +0100)
committerMiroslav Šulc <fordfrog@gentoo.org>
Wed, 13 Nov 2019 13:39:06 +0000 (14:39 +0100)
Bug: https://bugs.gentoo.org/662172
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
media-libs/libgig/Manifest
media-libs/libgig/libgig-4.2.0.ebuild [new file with mode: 0644]

index f1eb0a69026b89d87172629169b130a182fdcbd5..7a035807c177ac2dc47828d04fd721dce239c61d 100644 (file)
@@ -1 +1,2 @@
 DIST libgig-4.1.0.tar.bz2 538345 BLAKE2B c05a1dfb5a7a3f358008cbde10dc081c9d8593a01bf4458585609cf5736eea3c8cdcedef85d3be6fc3208f27feb253174458f982b51e2e9c7f7b10a81da4c264 SHA512 e88500f5d60d597b383093f904a2356aba7505a3a22b4852fe3fbbe71723fddbfc81029a82edf3c18e46ade519343cdbe87c06c652f982ffd4cfb4c35d5a9a0a
+DIST libgig-4.2.0.tar.bz2 746637 BLAKE2B a1ee9a0e77a662395c21995c465b8c4e57331de1ba0ae6636015eefc846698341980e908d7aa30cb607bfe6fb48f84999ea88995b0a254fea2465d21b2b9919b SHA512 52c8c749c7852e229c76c17211398dbf5dd5891a1ee9d8e8bc61d55b825c5676595b20b26014e739b9bfd387db36895152b380519609a928a8fa68f4a20279f6
diff --git a/media-libs/libgig/libgig-4.2.0.ebuild b/media-libs/libgig/libgig-4.2.0.ebuild
new file mode 100644 (file)
index 0000000..ee4a397
--- /dev/null
@@ -0,0 +1,37 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="C++ library for loading Gigasampler and DLS level 1/2 files"
+HOMEPAGE="https://www.linuxsampler.org/libgig/"
+SRC_URI="https://download.linuxsampler.org/packages/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc"
+
+RDEPEND="
+       media-libs/audiofile
+       media-libs/libsndfile"
+DEPEND="${RDEPEND}"
+BDEPEND="
+       virtual/pkgconfig
+       doc? ( app-doc/doxygen )"
+
+src_compile() {
+       emake
+       use doc && emake docs
+}
+
+src_install() {
+       emake DESTDIR="${D}" install
+
+       use doc && HTML_DOCS=( doc/html/. )
+       einstalldocs
+
+       # For libgig.so to be found at runtime
+       printf "LDPATH=\"${EPREFIX}/usr/$(get_libdir)/libgig/\"" > 99${PN}
+       doenvd "99${PN}"
+}