Diff libgig-4.3.0 with a libgig-9999
/usr/portage/media-libs/libgig/libgig-9999.ebuild 2024-07-02 13:51:46.433851519 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 1999-2024 Gentoo Authors |
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | ||
6 |
inherit autotools subversion |
|
5 | 7 | |
6 | 8 |
DESCRIPTION="C++ library for loading Gigasampler and DLS level 1/2 files" |
7 | 9 |
HOMEPAGE="https://www.linuxsampler.org/libgig/" |
8 |
SRC_URI="https://download.linuxsampler.org/packages/${P}.tar.bz2" |
|
10 |
ESVN_REPO_URI="https://svn.linuxsampler.org/svn/libgig/trunk" |
|
9 | 11 | |
10 | 12 |
LICENSE="GPL-2" |
11 | 13 |
SLOT="0" |
12 |
KEYWORDS="amd64 ~ppc x86" |
|
13 | 14 |
IUSE="doc" |
14 | 15 | |
15 | 16 |
RDEPEND=" |
... | ... | |
20 | 21 |
virtual/pkgconfig |
21 | 22 |
doc? ( app-text/doxygen )" |
22 | 23 | |
24 |
src_prepare() { |
|
25 |
default |
|
26 | ||
27 |
emake -f Makefile.svn |
|
28 |
eautoreconf |
|
29 |
} |
|
30 | ||
23 | 31 |
src_compile() { |
24 | 32 |
emake |
25 | 33 |
use doc && emake docs |
... | ... | |
31 | 39 |
use doc && HTML_DOCS=( doc/html/. ) |
32 | 40 |
einstalldocs |
33 | 41 | |
42 |
find "${ED}" -name '*.la' -type f -delete || die |
|
43 | ||
34 | 44 |
# For libgig.so to be found at runtime |
35 | 45 |
printf "LDPATH=\"${EPREFIX}/usr/$(get_libdir)/libgig/\"" > 99${PN} || die |
36 | 46 |
doenvd "99${PN}" |