Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/zopfli/
Date: Mon, 07 Mar 2016 08:08:23
Message-Id: 1456452762.55e86c0ad58bb9ff5585bf689b5c6466412d1647.monsieurp@gentoo
1 commit: 55e86c0ad58bb9ff5585bf689b5c6466412d1647
2 Author: Anthony Ryan <anthonyryan1 <AT> gmail <DOT> com>
3 AuthorDate: Fri Feb 26 02:09:32 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 26 02:12:42 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55e86c0a
7
8 app-arch/zopfli: Version bump 1.0.1
9
10 * Switch back to google/zopfli as authoritative upstream
11 * Work around the awkward build situation until it's resolved upstream
12
13 Gentoo-Bug: 547476
14
15 Package-Manager: portage-2.2.26
16
17 app-arch/zopfli/Manifest | 1 +
18 app-arch/zopfli/metadata.xml | 2 +-
19 app-arch/zopfli/zopfli-1.0.1.ebuild | 46 +++++++++++++++++++++++++++++++++++++
20 3 files changed, 48 insertions(+), 1 deletion(-)
21
22 diff --git a/app-arch/zopfli/Manifest b/app-arch/zopfli/Manifest
23 index 991ccb4..8cbc99d 100644
24 --- a/app-arch/zopfli/Manifest
25 +++ b/app-arch/zopfli/Manifest
26 @@ -1,3 +1,4 @@
27 DIST zopfli-1.0.0.zip 57873 SHA256 e20d73b56620285e6cce5b510d8e5da6835a81940e48cdf35a69090e666f3adb SHA512 77182f700531bdca8be869efc3d7c235ba3615990d0e50539862af960f3b345061afd1817861614d1238aed901e37dad4737ef0a1e3631c2f125f326b69a27ed WHIRLPOOL b83970e22dad089c2717d81e783c290dd0919a7a278f814f780f9549428130c900208fac9852f4f00d31493eaca994309194eeff661ccf3cd3ecc17ecf5d34ff
28 DIST zopfli-1.0.0_p20140705.tar.gz 125759 SHA256 d0a1db54477c8da8b59b4ffe620e7fcb0bcb9192d6e5ef08d849bb463c05ffd1 SHA512 ce5b3eb016b0d734a775dbb45842de4aa4a00bc1490edfdbbf81c4640da94994d08f336b313c45b785e17c61ecf58f370edb2cb6523c963798cad739af2282ca WHIRLPOOL 9affa8b1eb7ec9d509c90e26a385644cbf1f7c031813eab5986c297f47881454a74023cb1548e338cebe8c293d0f8876c048998185035377fa5a187d62e46fac
29 DIST zopfli-1.0.0_p20141006.tar.gz 127391 SHA256 6f67f1680d88721a5f753e63e914e4a8d38f57f80f0ccb592e5ce5495d7b889a SHA512 298be8b56addd93310b40cadc4cb4232666f32886fd78404fb13a9369952c0f8c92a69423d95915362a99fc2f6da1fe9c3155ea452f66c28b98446da19794ff1 WHIRLPOOL de534045b36970f208453786a16c7f902422c558817ec4f3b920964bbb1ebc5608949d0f898e1471e1afa529524208f976297d92444c47e9578ff802d5135b0e
30 +DIST zopfli-1.0.1.tar.gz 128178 SHA256 29743d727a4e0ecd1b93e0bf89476ceeb662e809ab2e6ab007a0b0344800e9b4 SHA512 51d4b2d990e6785e86f0e0104325723c9a7c3b8bf6925ef694b6696f2238eaafff2ca625495a676874ecc1704df7d685e5234b0c601e5804c1c293242e113430 WHIRLPOOL 04578ab35c952b268931d309c29b9de9c5adf3646d02848abee5388520e26bff579d970da9049bfd6fa81cefe2eac1437d499af8dee81d592a6244ce698c8ad8
31
32 diff --git a/app-arch/zopfli/metadata.xml b/app-arch/zopfli/metadata.xml
33 index 55914e5..ecf7dd6 100644
34 --- a/app-arch/zopfli/metadata.xml
35 +++ b/app-arch/zopfli/metadata.xml
36 @@ -12,6 +12,6 @@
37 </maintainer>
38 <longdescription>Compression library programmed in C to perform very good, but slow, deflate or zlib compression.</longdescription>
39 <upstream>
40 - <remote-id type="github">Hello71/zopfli</remote-id>
41 + <remote-id type="github">google/zopfli</remote-id>
42 </upstream>
43 </pkgmetadata>
44
45 diff --git a/app-arch/zopfli/zopfli-1.0.1.ebuild b/app-arch/zopfli/zopfli-1.0.1.ebuild
46 new file mode 100644
47 index 0000000..ab50f0d
48 --- /dev/null
49 +++ b/app-arch/zopfli/zopfli-1.0.1.ebuild
50 @@ -0,0 +1,46 @@
51 +# Copyright 1999-2016 Gentoo Foundation
52 +# Distributed under the terms of the GNU General Public License v2
53 +# $Id$
54 +
55 +EAPI=6
56 +
57 +DESCRIPTION="Very good, but slow, deflate or zlib compression"
58 +HOMEPAGE="https://github.com/google/zopfli/"
59 +SRC_URI="https://github.com/google/zopfli/archive/${P}.tar.gz"
60 +
61 +S="${WORKDIR}/${PN}-${P}"
62 +
63 +LICENSE="Apache-2.0"
64 +SLOT="0/1"
65 +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
66 +
67 +DOCS=( CONTRIBUTORS README README.zopflipng )
68 +
69 +# zopfli statically links libzopfli
70 +# zopflipng statically links libzopflipng
71 +# zopflipng also statically links an exact version of LodePNG (https://github.com/lvandeve/lodepng)
72 +# As of version 1.0.1 neither of the binaries
73 +# use the libraries we install. The libraries
74 +# exist solely for use by external programs.
75 +
76 +src_compile() {
77 + emake libzopfli
78 + emake zopfli
79 +
80 + emake libzopflipng
81 + emake zopflipng
82 +}
83 +
84 +# The Makefile has no install phase
85 +src_install() {
86 + dolib.so libzopfli.so.${PV}
87 + dosym libzopfli.so.${PV} /usr/$(get_libdir)/libzopfli.so.1
88 +
89 + dobin ${PN}
90 +
91 + # This version was erroneously not bumped to match ${PV}
92 + dolib.so libzopflipng.so.1.0.0
93 + dosym libzopflipng.so.1.0.0 /usr/$(get_libdir)/libzopflipng.so.1
94 +
95 + dobin zopflipng
96 +}