Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/libimagequant/
Date: Sat, 31 Mar 2018 05:02:59
Message-Id: 1522472558.d173bb235741cf496b7731778c117ee3bb856909.radhermit@gentoo
1 commit: d173bb235741cf496b7731778c117ee3bb856909
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 31 05:02:09 2018 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 31 05:02:38 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d173bb23
7
8 media-gfx/libimagequant: remove old
9
10 media-gfx/libimagequant/Manifest | 1 -
11 .../libimagequant/libimagequant-2.10.1.ebuild | 47 ----------------------
12 2 files changed, 48 deletions(-)
13
14 diff --git a/media-gfx/libimagequant/Manifest b/media-gfx/libimagequant/Manifest
15 index cad7ccfcfad..21738622afe 100644
16 --- a/media-gfx/libimagequant/Manifest
17 +++ b/media-gfx/libimagequant/Manifest
18 @@ -1,3 +1,2 @@
19 -DIST libimagequant-2.10.1.tar.gz 70783 BLAKE2B 8a8c075b95010d5dc7190591a33bf25b6a95b090d14fd09146dc5016e6ea319494277d8217191a6810c53f973471b8a711168f2960bebbf8b8396cd7544bb434 SHA512 1cbb725e5f3774f931379f640c6532e169ea02a7b502a93af6b75a305e3dab1bd34a375391be0e8fdc15fea578715e8f8319d95d674383b7048e5f73e48b106f
20 DIST libimagequant-2.11.4.tar.gz 74117 BLAKE2B 5d42dc876c77694a1d4576e633d2e3aa1e531061aa849a683542cf11b14333f65125bbae699f927bf42896a934ade6d745aa517d6cbc4b7097d96c7579532ec9 SHA512 e9d2aaac2f37968dc93ba0da7d03f0fcf60b3f17d9a0b9edfd6930eade25844dd603de74492d8e1de8dc2da4e7f3e47959a558b5a67588d71e9e1db035eca1cc
21 DIST libimagequant-2.11.7.tar.gz 74311 BLAKE2B 204fbe794014c11d767991a03e729b234978fb1edb1fdffcb7d332461ccaa1a536a1e9dbc7b44a8838db61cc76fdbc1eb75087b480f4fc42bf791fea913639a2 SHA512 8816811c06eec27232e39725c581e382b7076f3bc23b017810de0e92236e6e4eb480def7b50347c9b75f7d792245669398c39a17359eb81077badf12e6f0a172
22
23 diff --git a/media-gfx/libimagequant/libimagequant-2.10.1.ebuild b/media-gfx/libimagequant/libimagequant-2.10.1.ebuild
24 deleted file mode 100644
25 index 2392cd1682e..00000000000
26 --- a/media-gfx/libimagequant/libimagequant-2.10.1.ebuild
27 +++ /dev/null
28 @@ -1,47 +0,0 @@
29 -# Copyright 1999-2017 Gentoo Foundation
30 -# Distributed under the terms of the GNU General Public License v2
31 -
32 -EAPI=6
33 -
34 -inherit toolchain-funcs eutils
35 -
36 -DESCRIPTION="Palette quantization library that powers pngquant and other PNG optimizers"
37 -HOMEPAGE="https://pngquant.org/lib/"
38 -SRC_URI="https://github.com/ImageOptim/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
39 -
40 -LICENSE="GPL-3"
41 -SLOT="0"
42 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
43 -IUSE="cpu_flags_x86_sse2 debug openmp static-libs"
44 -
45 -DEPEND=""
46 -RDEPEND="${DEPEND}"
47 -
48 -pkg_pretend() {
49 - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
50 -}
51 -
52 -src_configure() {
53 - tc-export AR CC
54 - # Hand rolled configure script, so not all flags are supported.
55 - ./configure \
56 - --prefix="${EPREFIX}/usr" \
57 - $(use debug && echo --enable-debug) \
58 - $(use_enable cpu_flags_x86_sse2 sse) \
59 - $(use_with openmp) \
60 - CFLAGS="${CFLAGS} ${CPPFLAGS}" \
61 - LDFLAGS="${LDFLAGS}"
62 -}
63 -
64 -src_compile() {
65 - emake shared || die "make failed"
66 - use static-libs && (emake static || die "make failed")
67 -}
68 -
69 -src_install() {
70 - dolib.so libimagequant.so
71 - dolib.so libimagequant.so.*
72 - use static-libs && dolib.a libimagequant.a
73 - doheader libimagequant.h
74 - einstalldocs
75 -}