mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
@@ -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
|
||||
|
||||
37
media-libs/libgig/libgig-4.3.0.ebuild
Normal file
37
media-libs/libgig/libgig-4.3.0.ebuild
Normal file
@@ -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}"
|
||||
}
|
||||
@@ -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}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user