summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2024-01-27 09:18:43 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2024-01-27 09:18:58 +0100
commitbee684ccd89e4f7266f8c17abd336baba9477ccb (patch)
tree085d01a7c669dde3220fcb268a766eca963826f1 /media-libs/libgig
parentdev-java/javax-mail: javax-mail-1.6.7-java21.patch (diff)
downloadgentoo-bee684ccd89e4f7266f8c17abd336baba9477ccb.tar.gz
gentoo-bee684ccd89e4f7266f8c17abd336baba9477ccb.tar.bz2
gentoo-bee684ccd89e4f7266f8c17abd336baba9477ccb.zip
media-libs/libgig: bump to 4.4.0 + eapi8
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-libs/libgig')
-rw-r--r--media-libs/libgig/Manifest1
-rw-r--r--media-libs/libgig/libgig-4.4.0.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/media-libs/libgig/Manifest b/media-libs/libgig/Manifest
index 03c35d2c001e..95ccb4425d13 100644
--- a/media-libs/libgig/Manifest
+++ b/media-libs/libgig/Manifest
@@ -1 +1,2 @@
DIST libgig-4.3.0.tar.bz2 761973 BLAKE2B 9d1482b4e704dc96bdc44b2b95ed1479f27488567e5f5216dfdf84e7eb51a07a9f8b9550ce6208156e9f2bc43a3495ab6a77c2672e564e2f36fd9734cb4a88fd SHA512 683c09b1d17acf69020c631452b7dfb25ac54c3701db5e97471d4e7973e9a06267667bf19bfe4eb00d2964223e8446f248d93b4cf29c062dec2588758b4dfba2
+DIST libgig-4.4.0.tar.bz2 589551 BLAKE2B e07792632f3c916d9f1392394c832e60d86a56b16c7a372e8a5a5ac96b1c2174db8ebcd05e7e0bac6b0466a25267c443e429d28ea1c3434a80488363d3b04a23 SHA512 0a3dcea4b13915a928bcd6b900142915eeaa308d3d66ee67b223fd74e0e7a4c9b078776eab791f24422ad2a091d603a48dd84711b4f621571965ec59b7326318
diff --git a/media-libs/libgig/libgig-4.4.0.ebuild b/media-libs/libgig/libgig-4.4.0.ebuild
new file mode 100644
index 000000000000..0784aa50e01e
--- /dev/null
+++ b/media-libs/libgig/libgig-4.4.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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-text/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}"
+}