From bf2cfb75862240ca1e73b980ac7f85bcd36df5c6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Miroslav=20=C5=A0ulc?= Date: Wed, 13 Nov 2019 14:38:32 +0100 Subject: [PATCH] media-libs/libgig-4.2.0: bump MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/662172 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Miroslav Å ulc --- media-libs/libgig/Manifest | 1 + media-libs/libgig/libgig-4.2.0.ebuild | 37 +++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 media-libs/libgig/libgig-4.2.0.ebuild diff --git a/media-libs/libgig/Manifest b/media-libs/libgig/Manifest index f1eb0a69026b..7a035807c177 100644 --- a/media-libs/libgig/Manifest +++ b/media-libs/libgig/Manifest @@ -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 index 000000000000..ee4a39704c59 --- /dev/null +++ b/media-libs/libgig/libgig-4.2.0.ebuild @@ -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}" +} -- 2.26.2