1 |
commit: 8a5d6eb0621dee2b9b24310e2300c28008ecd67c |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 5 22:46:58 2022 +0000 |
4 |
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 5 23:08:17 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a5d6eb0 |
7 |
|
8 |
media-gfx/libimagequant: Remove old |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> |
12 |
|
13 |
media-gfx/libimagequant/Manifest | 2 - |
14 |
.../libimagequant/libimagequant-2.12.3.ebuild | 55 ---------------------- |
15 |
.../libimagequant/libimagequant-2.14.0.ebuild | 47 ------------------ |
16 |
3 files changed, 104 deletions(-) |
17 |
|
18 |
diff --git a/media-gfx/libimagequant/Manifest b/media-gfx/libimagequant/Manifest |
19 |
index b96a6f40dfe7..d949e9cc9aba 100644 |
20 |
--- a/media-gfx/libimagequant/Manifest |
21 |
+++ b/media-gfx/libimagequant/Manifest |
22 |
@@ -1,3 +1 @@ |
23 |
-DIST libimagequant-2.12.3.tar.gz 75866 BLAKE2B 857a0e3f0187251e37e0c7f4f5f5cbf49266e4eb9f684118705778d9469330cf95780ea11b83d19e28251f047a7e9b8e7ac32ac4d9554cb5d9e1b3230d39e796 SHA512 4818b00b6f154407f3e402d56f4891c2d7594c8056fada0402d7fa0024ae50127340dd8295da5f5dca13fe1829670a3fa8793aa528f3e74a2294c9a7e37b7257 |
24 |
-DIST libimagequant-2.14.0.tar.gz 97471 BLAKE2B df6403aea0b0e3cbaf05c6c60726ac3de85195779e4829dd04acec28ba93ea8d629846fa71d765949e721f592300da1d35227ec7bb28e00c600c575ba3fdc4fe SHA512 d34aa2ac9f08eebd80fb9e3e7fe22a3f10ce840152c4192735d57ae37c223350af09eeff6870ee2634b3fc51b03d1663cd6afd17daeab923af3b5f60fbef57d4 |
25 |
DIST libimagequant-2.15.1.tar.gz 98668 BLAKE2B cfa223f0ce8fdaac5d55b951507c040c064759756a5595719d02c0ec6983a70b08ad9d5df0176adb03269a9a1b7d39e9f0f7da884df214bd7994f4647e08a9c1 SHA512 56bc8b73859908774ce0a218cfbec81bfb8432c02ddce83880990b5f5ac89ac253ae64ecde43a9664aab3ac69d309bb9ef8ba2201be6c93aacb731b3214ff4b8 |
26 |
|
27 |
diff --git a/media-gfx/libimagequant/libimagequant-2.12.3.ebuild b/media-gfx/libimagequant/libimagequant-2.12.3.ebuild |
28 |
deleted file mode 100644 |
29 |
index a0eab3ab6c3b..000000000000 |
30 |
--- a/media-gfx/libimagequant/libimagequant-2.12.3.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,55 +0,0 @@ |
33 |
-# Copyright 1999-2021 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI="7" |
37 |
- |
38 |
-inherit toolchain-funcs |
39 |
- |
40 |
-DESCRIPTION="Palette quantization library that powers pngquant and other PNG optimizers" |
41 |
-HOMEPAGE="https://pngquant.org/lib/" |
42 |
-SRC_URI="https://github.com/ImageOptim/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
43 |
- |
44 |
-LICENSE="GPL-3" |
45 |
-SLOT="0/0" |
46 |
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" |
47 |
-IUSE="cpu_flags_x86_sse2 debug openmp static-libs" |
48 |
- |
49 |
-DEPEND="" |
50 |
-RDEPEND="${DEPEND}" |
51 |
- |
52 |
-PATCHES=( |
53 |
- "${FILESDIR}"/libimagequant-2.12.2-respect-CFLAGS.patch |
54 |
- "${FILESDIR}"/libimagequant-2.12.2-fix-pkgconfig.patch |
55 |
-) |
56 |
- |
57 |
-pkg_pretend() { |
58 |
- [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp |
59 |
-} |
60 |
- |
61 |
-src_configure() { |
62 |
- tc-export AR CC |
63 |
- # Hand rolled configure script, so not all flags are supported. |
64 |
- ./configure \ |
65 |
- --prefix="${EPREFIX}/usr" \ |
66 |
- --libdir="${EPREFIX}/usr/$(get_libdir)" \ |
67 |
- $(use debug && echo --enable-debug) \ |
68 |
- $(use_enable cpu_flags_x86_sse2 sse) \ |
69 |
- $(use_with openmp) \ |
70 |
- CFLAGS="${CFLAGS} ${CPPFLAGS}" \ |
71 |
- LDFLAGS="${LDFLAGS}" |
72 |
-} |
73 |
- |
74 |
-src_compile() { |
75 |
- emake shared imagequant.pc |
76 |
- use static-libs && emake static |
77 |
-} |
78 |
- |
79 |
-src_install() { |
80 |
- dolib.so libimagequant.so |
81 |
- dolib.so libimagequant.so.* |
82 |
- use static-libs && dolib.a libimagequant.a |
83 |
- doheader libimagequant.h |
84 |
- einstalldocs |
85 |
- insinto /usr/$(get_libdir)/pkgconfig |
86 |
- doins imagequant.pc |
87 |
-} |
88 |
|
89 |
diff --git a/media-gfx/libimagequant/libimagequant-2.14.0.ebuild b/media-gfx/libimagequant/libimagequant-2.14.0.ebuild |
90 |
deleted file mode 100644 |
91 |
index 323f9b06c97d..000000000000 |
92 |
--- a/media-gfx/libimagequant/libimagequant-2.14.0.ebuild |
93 |
+++ /dev/null |
94 |
@@ -1,47 +0,0 @@ |
95 |
-# Copyright 1999-2021 Gentoo Authors |
96 |
-# Distributed under the terms of the GNU General Public License v2 |
97 |
- |
98 |
-EAPI=7 |
99 |
- |
100 |
-inherit toolchain-funcs |
101 |
- |
102 |
-DESCRIPTION="Palette quantization library that powers pngquant and other PNG optimizers" |
103 |
-HOMEPAGE="https://pngquant.org/lib/" |
104 |
-SRC_URI="https://github.com/ImageOptim/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
105 |
- |
106 |
-LICENSE="GPL-3" |
107 |
-SLOT="0/0" |
108 |
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" |
109 |
-IUSE="cpu_flags_x86_sse2 debug openmp" |
110 |
- |
111 |
-PATCHES=( |
112 |
- "${FILESDIR}"/libimagequant-2.12.2-respect-CFLAGS.patch |
113 |
- "${FILESDIR}"/libimagequant-2.12.2-fix-pkgconfig.patch |
114 |
- "${FILESDIR}"/libimagequant-2.14.0-fix-openmp-pragma.patch |
115 |
-) |
116 |
- |
117 |
-pkg_pretend() { |
118 |
- [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp |
119 |
-} |
120 |
- |
121 |
-src_prepare() { |
122 |
- default |
123 |
- sed -i '/install.*STATICLIB/d' Makefile || die |
124 |
-} |
125 |
- |
126 |
-src_configure() { |
127 |
- tc-export AR CC |
128 |
- # Hand rolled configure script, so not all flags are supported. |
129 |
- ./configure \ |
130 |
- --prefix="${EPREFIX}/usr" \ |
131 |
- --libdir="${EPREFIX}/usr/$(get_libdir)" \ |
132 |
- $(use_enable debug) \ |
133 |
- $(use_enable cpu_flags_x86_sse2 sse) \ |
134 |
- $(use_with openmp) \ |
135 |
- CFLAGS="${CFLAGS} ${CPPFLAGS}" \ |
136 |
- LDFLAGS="${LDFLAGS}" || die |
137 |
-} |
138 |
- |
139 |
-src_compile() { |
140 |
- emake shared imagequant.pc |
141 |
-} |