From bd4aeefe33e63f613512604e47bfca7b2187697d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 3 Nov 2019 16:06:58 +0000 Subject: gentoo resync : 03.11.2019 --- media-libs/jbig2dec/Manifest | 2 +- media-libs/jbig2dec/jbig2dec-0.17-r1.ebuild | 67 +++++++++++++++++++++++++++++ media-libs/jbig2dec/jbig2dec-0.17.ebuild | 67 ----------------------------- 3 files changed, 68 insertions(+), 68 deletions(-) create mode 100644 media-libs/jbig2dec/jbig2dec-0.17-r1.ebuild delete mode 100644 media-libs/jbig2dec/jbig2dec-0.17.ebuild (limited to 'media-libs/jbig2dec') diff --git a/media-libs/jbig2dec/Manifest b/media-libs/jbig2dec/Manifest index 81e5b12ab0bb..fbc268148e70 100644 --- a/media-libs/jbig2dec/Manifest +++ b/media-libs/jbig2dec/Manifest @@ -3,5 +3,5 @@ DIST jb2streams.zip 1285838 BLAKE2B 9a2b6047a7b970439693d6f5fdefb9488019a562e7f8 DIST jbig2dec-0.14.tar.gz 463572 BLAKE2B 91351a3879bd1906fabe2620cf5379fbbc32eaae808a8c2754c661d6dc592d3c9da13c558c8f7ced30c48b73fbd9ed4631f2817298f959b59ad4dff5fce9ac1a SHA512 066bd880ac0665fc1e42b0ae0e481008b125aab6e173b7f82d61a2a30e72c90085cbded9b2a68c6836f92dea3d8d8d5c2228dba76e0d99c79c922197d215705b DIST jbig2dec-0.17.tar.gz 141195 BLAKE2B 858befb59c0b943cddbc4ae2e9ffc6cdb7e1dd2185cedbffb577f0152f27a548f565548b4b0a4867e3973692b8b019a565eabe2cf672334a6b2994fd7988dcaf SHA512 79b3957186a30fc304ecd571d31c5cc421364921eb4eba242c3ea941ea111f461773f86c975657fa2ce91f2f79ff9abf760ef9bed404c7a4f35c036e5642ba0f EBUILD jbig2dec-0.14.ebuild 1143 BLAKE2B ff3484d4768f8b7e0f2e744732e8a82a9bd6c4630b55469b9a8da428603cfcf68e6d7cb5a1d5257936aed687fa1db52b10741783dca78ff55ae9bf6e8434d5cb SHA512 719e7b390c4f9572d2d08192468bfd3a868a2bdcaa7ce30b2aaeb169c1c012cc041990148b33d92d1128bc394788c7aee01d5bcfe717bf5054c9d2397ea876ef -EBUILD jbig2dec-0.17.ebuild 1590 BLAKE2B f1e7607a3b5ba05ea92a1b7420a2b247c67665f4f5f3747c2b3a6ffb060d7b3c538a9e831bfa852ee9ff3b4a72051012664d8fabc8f2090b3ca6a31adfff3383 SHA512 40a6e503f715d5ed0446757edb7119c7fe28cfabbf144972c3a40b1902730eec8cf08eac3952223c710d697ddee9670e2e0c541a1948190b14d316feab52ad2a +EBUILD jbig2dec-0.17-r1.ebuild 1606 BLAKE2B 904c8caa04262fccf7e6e92ad4ea8c2dc973499e311d86f070ac5dea29e77f036171a63643977efd134620e3812778a863486c3a14170346e36c87aa69eb4f09 SHA512 bee52b7ca9cd1952d38ed147e08accde4bfbcdbb6fde65a23eaafd2c92d32cd5b7f496c34062916a699ee59487b15ced897797c56819bf64b43200d13472e1c5 MISC metadata.xml 473 BLAKE2B 6d374023a106375c7f5500968ed4ea2f4dd5584fb0db8f85b042844d08afb6196b7d7c019ae69b35917f43e496c9a25212aec328f0c3cf78aaa94b963de65c15 SHA512 501077ac27f5c6f8a616fa32cec23d28cb16dc0e0c19ce933cbc067494117c9c55fc3e00dfc21270892d57478a9e268f99215c8d074d6cc4114916f55a571a6f diff --git a/media-libs/jbig2dec/jbig2dec-0.17-r1.ebuild b/media-libs/jbig2dec/jbig2dec-0.17-r1.ebuild new file mode 100644 index 000000000000..4f69bb657ba9 --- /dev/null +++ b/media-libs/jbig2dec/jbig2dec-0.17-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) + +inherit autotools python-any-r1 + +DESCRIPTION="A decoder implementation of the JBIG2 image compression format" +HOMEPAGE="https://jbig2dec.com/" +SRC_URI="https://github.com/ArtifexSoftware/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz + test? ( http://jbig2dec.sourceforge.net/ubc/jb2streams.zip )" + +LICENSE="AGPL-3" +SLOT="0/$(ver_cut 1-2)" #698428 +KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="png static-libs test" + +BDEPEND=" + test? ( + app-arch/unzip + ${PYTHON_DEPS} + )" + +RDEPEND="png? ( media-libs/libpng:0= )" +DEPEND="${RDEPEND}" + +DOCS=( CHANGES README ) + +PATCHES=( "${FILESDIR}"/${PN}-0.17-fix-test_jbig2dec.py.patch ) + +pkg_setup() { + use test && python-any-r1_pkg_setup +} + +src_prepare() { + default + + if use test; then + mkdir "${WORKDIR}/ubc" || die + mv -v "${WORKDIR}"/*.jb2 "${WORKDIR}/ubc/" || die + mv -v "${WORKDIR}"/*.bmp "${WORKDIR}/ubc/" || die + fi + + # We only need configure.ac and config_types.h.in + sed -i \ + -e '/^# do we need automake?/,/^autoheader/d' \ + -e '/echo " $AUTOM.*/,$d' \ + autogen.sh \ + || die "failed to modify autogen.sh" + + ./autogen.sh || die + + eautoreconf +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use_with png libpng) +} + +src_install() { + default + find "${ED}" -name '*.la' -exec rm {} + || die +} diff --git a/media-libs/jbig2dec/jbig2dec-0.17.ebuild b/media-libs/jbig2dec/jbig2dec-0.17.ebuild deleted file mode 100644 index 0a030167ed52..000000000000 --- a/media-libs/jbig2dec/jbig2dec-0.17.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) - -inherit autotools python-any-r1 - -DESCRIPTION="A decoder implementation of the JBIG2 image compression format" -HOMEPAGE="https://jbig2dec.com/" -SRC_URI="https://github.com/ArtifexSoftware/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz - test? ( http://jbig2dec.sourceforge.net/ubc/jb2streams.zip )" - -LICENSE="AGPL-3" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="png static-libs test" - -BDEPEND=" - test? ( - app-arch/unzip - ${PYTHON_DEPS} - )" - -RDEPEND="png? ( media-libs/libpng:0= )" -DEPEND="${RDEPEND}" - -DOCS=( CHANGES README ) - -PATCHES=( "${FILESDIR}"/${PN}-0.17-fix-test_jbig2dec.py.patch ) - -pkg_setup() { - use test && python-any-r1_pkg_setup -} - -src_prepare() { - default - - if use test; then - mkdir "${WORKDIR}/ubc" || die - mv -v "${WORKDIR}"/*.jb2 "${WORKDIR}/ubc/" || die - mv -v "${WORKDIR}"/*.bmp "${WORKDIR}/ubc/" || die - fi - - # We only need configure.ac and config_types.h.in - sed -i \ - -e '/^# do we need automake?/,/^autoheader/d' \ - -e '/echo " $AUTOM.*/,$d' \ - autogen.sh \ - || die "failed to modify autogen.sh" - - ./autogen.sh || die - - eautoreconf -} - -src_configure() { - econf \ - $(use_enable static-libs static) \ - $(use_with png libpng) -} - -src_install() { - default - find "${ED}" -name '*.la' -exec rm {} + || die -} -- cgit v1.2.3