Diff giblib-1.2.4-r1 with a giblib-1.2.4-r2
/usr/portage/media-libs/giblib/giblib-1.2.4-r2.ebuild 2023-10-09 14:52:31.668368405 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2021 Gentoo Authors |
|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 | 6 |
inherit autotools |
7 | 7 | |
8 |
DESCRIPTION="a graphics library built on top of imlib2" |
|
8 |
DESCRIPTION="A graphics library built on top of imlib2" |
|
9 | 9 |
HOMEPAGE="http://freshmeat.sourceforge.net/projects/giblib http://www.linuxbrit.co.uk/giblib/" |
10 | 10 |
SRC_URI="http://www.linuxbrit.co.uk/downloads/${P}.tar.gz" |
11 | 11 | |
... | ... | |
17 | 17 |
media-libs/freetype |
18 | 18 |
media-libs/imlib2:=[X] |
19 | 19 |
x11-libs/libX11 |
20 |
x11-libs/libXext" |
|
20 |
x11-libs/libXext |
|
21 |
" |
|
21 | 22 |
DEPEND="${RDEPEND}" |
23 |
BDEPEND="virtual/pkgconfig" |
|
22 | 24 | |
23 |
PATCHES=( "${FILESDIR}"/${PN}-1.2.4-fix-build-system.patch ) |
|
25 |
PATCHES=( |
|
26 |
"${FILESDIR}"/${PN}-1.2.4-fix-build-system.patch |
|
27 |
"${FILESDIR}"/${PN}-1.2.4-use-pkg-config-imlib2.patch |
|
28 |
) |
|
24 | 29 | |
25 | 30 |
src_prepare() { |
26 | 31 |
default |
27 |
mv configure.{in,ac} || die |
|
28 |
eautoreconf |
|
29 |
} |
|
30 | 32 | |
31 |
src_configure() { |
|
32 |
econf --disable-static |
|
33 |
rm configure.in || die |
|
34 |
eautoreconf |
|
33 | 35 |
} |
34 | 36 | |
35 | 37 |
src_install() { |
36 | 38 |
default |
37 | 39 | |
38 | 40 |
# no static archives |
39 |
find "${D}" -name '*.la' -delete || die |
|
41 |
find "${ED}" -name '*.la' -delete || die |
|
40 | 42 |
} |