1 |
commit: 2e71b4c24f5fde61148a019004bbf01dcd6e277e |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 30 00:36:55 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 30 00:36:55 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e71b4c2 |
7 |
|
8 |
media-libs/stimg: fix configure with clang 16 |
9 |
|
10 |
Revbump for the jpeg dep. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/871486 |
13 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
14 |
|
15 |
.../{stimg-0.1.0.ebuild => stimg-0.1.0-r1.ebuild} | 27 +++++++++++++++------- |
16 |
1 file changed, 19 insertions(+), 8 deletions(-) |
17 |
|
18 |
diff --git a/media-libs/stimg/stimg-0.1.0.ebuild b/media-libs/stimg/stimg-0.1.0-r1.ebuild |
19 |
similarity index 61% |
20 |
rename from media-libs/stimg/stimg-0.1.0.ebuild |
21 |
rename to media-libs/stimg/stimg-0.1.0-r1.ebuild |
22 |
index 05c0e054bfcf..dd1d5aac1d48 100644 |
23 |
--- a/media-libs/stimg/stimg-0.1.0.ebuild |
24 |
+++ b/media-libs/stimg/stimg-0.1.0-r1.ebuild |
25 |
@@ -1,9 +1,9 @@ |
26 |
-# Copyright 1999-2020 Gentoo Authors |
27 |
+# Copyright 1999-2022 Gentoo Authors |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
|
30 |
-EAPI=7 |
31 |
+EAPI=8 |
32 |
|
33 |
-inherit toolchain-funcs |
34 |
+inherit autotools toolchain-funcs |
35 |
|
36 |
DESCRIPTION="Simple and tiny image loading library" |
37 |
HOMEPAGE="http://homepage3.nifty.com/slokar/fb/" |
38 |
@@ -15,20 +15,31 @@ KEYWORDS="~alpha amd64 ppc x86" |
39 |
|
40 |
RDEPEND=" |
41 |
media-libs/libpng:= |
42 |
+ media-libs/libjpeg-turbo:= |
43 |
media-libs/tiff:= |
44 |
- virtual/jpeg" |
45 |
+" |
46 |
DEPEND="${RDEPEND}" |
47 |
|
48 |
-PATCHES=( "${FILESDIR}"/${P}-libpng15.patch ) |
49 |
+PATCHES=( |
50 |
+ "${FILESDIR}"/${P}-libpng15.patch |
51 |
+) |
52 |
+ |
53 |
+src_prepare() { |
54 |
+ default |
55 |
+ |
56 |
+ # bug #871486 |
57 |
+ eautoreconf |
58 |
+} |
59 |
|
60 |
src_configure() { |
61 |
tc-export CC |
62 |
- econf --disable-static |
63 |
+ |
64 |
+ default |
65 |
} |
66 |
|
67 |
src_install() { |
68 |
default |
69 |
|
70 |
- # no static archives |
71 |
- find "${D}" -name '*.la' -delete || die |
72 |
+ # No static archives |
73 |
+ find "${ED}" -name '*.la' -delete || die |
74 |
} |