summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-05-10 06:50:04 +0000
committerSam James <sam@gentoo.org>2021-05-10 06:54:21 +0000
commit706ff252dee7a33ca1a5bd797d859d6813df0cd1 (patch)
treee5b07efd90ce369fffac07edc17928f595c42869 /media-libs
parentsys-kernel/gentoo-kernel-bin: bump to 5.11.19 for arm64 (diff)
downloadgentoo-706ff252dee7a33ca1a5bd797d859d6813df0cd1.tar.gz
gentoo-706ff252dee7a33ca1a5bd797d859d6813df0cd1.tar.bz2
gentoo-706ff252dee7a33ca1a5bd797d859d6813df0cd1.zip
media-libs/libgig: add 4.3.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libgig/Manifest1
-rw-r--r--media-libs/libgig/libgig-4.3.0.ebuild37
-rw-r--r--media-libs/libgig/libgig-9999.ebuild4
3 files changed, 40 insertions, 2 deletions
diff --git a/media-libs/libgig/Manifest b/media-libs/libgig/Manifest
index 2c26f5965513..68f6452c659c 100644
--- a/media-libs/libgig/Manifest
+++ b/media-libs/libgig/Manifest
@@ -1 +1,2 @@
DIST libgig-4.2.0.tar.bz2 746637 BLAKE2B a1ee9a0e77a662395c21995c465b8c4e57331de1ba0ae6636015eefc846698341980e908d7aa30cb607bfe6fb48f84999ea88995b0a254fea2465d21b2b9919b SHA512 52c8c749c7852e229c76c17211398dbf5dd5891a1ee9d8e8bc61d55b825c5676595b20b26014e739b9bfd387db36895152b380519609a928a8fa68f4a20279f6
+DIST libgig-4.3.0.tar.bz2 761973 BLAKE2B 9d1482b4e704dc96bdc44b2b95ed1479f27488567e5f5216dfdf84e7eb51a07a9f8b9550ce6208156e9f2bc43a3495ab6a77c2672e564e2f36fd9734cb4a88fd SHA512 683c09b1d17acf69020c631452b7dfb25ac54c3701db5e97471d4e7973e9a06267667bf19bfe4eb00d2964223e8446f248d93b4cf29c062dec2588758b4dfba2
diff --git a/media-libs/libgig/libgig-4.3.0.ebuild b/media-libs/libgig/libgig-4.3.0.ebuild
new file mode 100644
index 000000000000..28e971ce67c9
--- /dev/null
+++ b/media-libs/libgig/libgig-4.3.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2021 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} || die
+ doenvd "99${PN}"
+}
diff --git a/media-libs/libgig/libgig-9999.ebuild b/media-libs/libgig/libgig-9999.ebuild
index 561d6f46afc3..3ffea9ed65bf 100644
--- a/media-libs/libgig/libgig-9999.ebuild
+++ b/media-libs/libgig/libgig-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -41,6 +41,6 @@ src_install() {
einstalldocs
# For libgig.so to be found at runtime
- printf "LDPATH=\"${EPREFIX}/usr/$(get_libdir)/libgig/\"" > 99${PN}
+ printf "LDPATH=\"${EPREFIX}/usr/$(get_libdir)/libgig/\"" > 99${PN} || die
doenvd "99${PN}"
}