diff options
author | Sam James <sam@gentoo.org> | 2023-03-09 07:44:34 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-03-09 07:57:02 +0000 |
commit | be3b16b8435f258fb3a4f3751dd9833e72816349 (patch) | |
tree | a17375b799cce8dcc49b0bd9f11280e99a3fa1b6 /media-libs/jbig2enc/jbig2enc-0.29.ebuild | |
parent | media-libs/jbig2enc: drop 0.28-r1 (diff) | |
download | gentoo-be3b16b8435f258fb3a4f3751dd9833e72816349.tar.gz gentoo-be3b16b8435f258fb3a4f3751dd9833e72816349.tar.bz2 gentoo-be3b16b8435f258fb3a4f3751dd9833e72816349.zip |
media-libs/jbig2enc: EAPI 8, fix build w/ newer leptonica
Closes: https://bugs.gentoo.org/814473
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/jbig2enc/jbig2enc-0.29.ebuild')
-rw-r--r-- | media-libs/jbig2enc/jbig2enc-0.29.ebuild | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/media-libs/jbig2enc/jbig2enc-0.29.ebuild b/media-libs/jbig2enc/jbig2enc-0.29.ebuild deleted file mode 100644 index fa9f4ee5a609..000000000000 --- a/media-libs/jbig2enc/jbig2enc-0.29.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -DESCRIPTION="JBIG2 Encoder and libs" -HOMEPAGE="https://github.com/agl/jbig2enc" -SRC_URI="https://github.com/agl/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~loong x86 ~ppc-macos" -IUSE="gif jpeg png tiff webp" - -RDEPEND="media-libs/leptonica[gif?,jpeg?,png?,tiff?,webp?]" -DEPEND="${RDEPEND}" - -src_prepare() { - default - - # remove -Werror - sed -i -e '/AM_INIT_AUTOMAKE/s/-Werror//' configure.ac || die 'sed on configure.ac failed' - # prevent static linking and QA notice about insecure RUNPATHs - # TODO: --disable-rpath (new in 0.29)? - sed -i -e '/jbig2_LDFLAGS/d' src/Makefile.am || die 'sed on src/Makefile.am failed' - - eautoreconf -} - -src_install() { - default - - find "${ED}" -name '*.la' -delete || die - find "${ED}" -name '*.a' -delete || die -} |