diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2016-03-07 07:50:33 +0000 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-03-07 07:55:00 +0000 |
commit | e2e085540bfb3dc98844e98ccc912cbf1fc3ab6f (patch) | |
tree | 6381fff9aa00d7359e74fc3345389785100fa66e /app-arch | |
parent | Merge remote-tracking branch 'remotes/sbraz/syncthing' (diff) | |
parent | app-arch/zopfli: Version bump 1.0.1 (diff) | |
download | gentoo-e2e085540bfb3dc98844e98ccc912cbf1fc3ab6f.tar.gz gentoo-e2e085540bfb3dc98844e98ccc912cbf1fc3ab6f.tar.bz2 gentoo-e2e085540bfb3dc98844e98ccc912cbf1fc3ab6f.zip |
Merge github#920: app-arch/zopfli: Version bump 1.0.1.
This PR:
* switches back to google/zopfli as authoritative upstream
* works around the awkward build situation until it's resolved upstream
Pull-Request: https://github.com/gentoo/gentoo/pull/920
Gentoo-Bug: https://bugs.gentoo.org/547476
Reporter: Anthony Ryan <anthonyryan1@gmail.com>
Acked-by: Alex Yu <alex_y_xu@yahoo.ca>
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/zopfli/Manifest | 1 | ||||
-rw-r--r-- | app-arch/zopfli/metadata.xml | 2 | ||||
-rw-r--r-- | app-arch/zopfli/zopfli-1.0.1.ebuild | 46 |
3 files changed, 48 insertions, 1 deletions
diff --git a/app-arch/zopfli/Manifest b/app-arch/zopfli/Manifest index 991ccb4f9fd4..8cbc99da86a1 100644 --- a/app-arch/zopfli/Manifest +++ b/app-arch/zopfli/Manifest @@ -1,3 +1,4 @@ DIST zopfli-1.0.0.zip 57873 SHA256 e20d73b56620285e6cce5b510d8e5da6835a81940e48cdf35a69090e666f3adb SHA512 77182f700531bdca8be869efc3d7c235ba3615990d0e50539862af960f3b345061afd1817861614d1238aed901e37dad4737ef0a1e3631c2f125f326b69a27ed WHIRLPOOL b83970e22dad089c2717d81e783c290dd0919a7a278f814f780f9549428130c900208fac9852f4f00d31493eaca994309194eeff661ccf3cd3ecc17ecf5d34ff DIST zopfli-1.0.0_p20140705.tar.gz 125759 SHA256 d0a1db54477c8da8b59b4ffe620e7fcb0bcb9192d6e5ef08d849bb463c05ffd1 SHA512 ce5b3eb016b0d734a775dbb45842de4aa4a00bc1490edfdbbf81c4640da94994d08f336b313c45b785e17c61ecf58f370edb2cb6523c963798cad739af2282ca WHIRLPOOL 9affa8b1eb7ec9d509c90e26a385644cbf1f7c031813eab5986c297f47881454a74023cb1548e338cebe8c293d0f8876c048998185035377fa5a187d62e46fac DIST zopfli-1.0.0_p20141006.tar.gz 127391 SHA256 6f67f1680d88721a5f753e63e914e4a8d38f57f80f0ccb592e5ce5495d7b889a SHA512 298be8b56addd93310b40cadc4cb4232666f32886fd78404fb13a9369952c0f8c92a69423d95915362a99fc2f6da1fe9c3155ea452f66c28b98446da19794ff1 WHIRLPOOL de534045b36970f208453786a16c7f902422c558817ec4f3b920964bbb1ebc5608949d0f898e1471e1afa529524208f976297d92444c47e9578ff802d5135b0e +DIST zopfli-1.0.1.tar.gz 128178 SHA256 29743d727a4e0ecd1b93e0bf89476ceeb662e809ab2e6ab007a0b0344800e9b4 SHA512 51d4b2d990e6785e86f0e0104325723c9a7c3b8bf6925ef694b6696f2238eaafff2ca625495a676874ecc1704df7d685e5234b0c601e5804c1c293242e113430 WHIRLPOOL 04578ab35c952b268931d309c29b9de9c5adf3646d02848abee5388520e26bff579d970da9049bfd6fa81cefe2eac1437d499af8dee81d592a6244ce698c8ad8 diff --git a/app-arch/zopfli/metadata.xml b/app-arch/zopfli/metadata.xml index 55914e5e6bc5..ecf7dd657bad 100644 --- a/app-arch/zopfli/metadata.xml +++ b/app-arch/zopfli/metadata.xml @@ -12,6 +12,6 @@ </maintainer> <longdescription>Compression library programmed in C to perform very good, but slow, deflate or zlib compression.</longdescription> <upstream> - <remote-id type="github">Hello71/zopfli</remote-id> + <remote-id type="github">google/zopfli</remote-id> </upstream> </pkgmetadata> diff --git a/app-arch/zopfli/zopfli-1.0.1.ebuild b/app-arch/zopfli/zopfli-1.0.1.ebuild new file mode 100644 index 000000000000..ab50f0dd7608 --- /dev/null +++ b/app-arch/zopfli/zopfli-1.0.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DESCRIPTION="Very good, but slow, deflate or zlib compression" +HOMEPAGE="https://github.com/google/zopfli/" +SRC_URI="https://github.com/google/zopfli/archive/${P}.tar.gz" + +S="${WORKDIR}/${PN}-${P}" + +LICENSE="Apache-2.0" +SLOT="0/1" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +DOCS=( CONTRIBUTORS README README.zopflipng ) + +# zopfli statically links libzopfli +# zopflipng statically links libzopflipng +# zopflipng also statically links an exact version of LodePNG (https://github.com/lvandeve/lodepng) +# As of version 1.0.1 neither of the binaries +# use the libraries we install. The libraries +# exist solely for use by external programs. + +src_compile() { + emake libzopfli + emake zopfli + + emake libzopflipng + emake zopflipng +} + +# The Makefile has no install phase +src_install() { + dolib.so libzopfli.so.${PV} + dosym libzopfli.so.${PV} /usr/$(get_libdir)/libzopfli.so.1 + + dobin ${PN} + + # This version was erroneously not bumped to match ${PV} + dolib.so libzopflipng.so.1.0.0 + dosym libzopflipng.so.1.0.0 /usr/$(get_libdir)/libzopflipng.so.1 + + dobin zopflipng +} |