diff options
author | Michael Mair-Keimberger <mmk@levelnine.at> | 2023-09-17 15:48:54 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2023-09-17 15:48:54 +0200 |
commit | f486f3457412c8c1303a4cdca36feab722debb99 (patch) | |
tree | 98d0f12af9f60b87929cbd7ccd3d396262d902d5 /media-gfx/apngopt | |
parent | media-gfx/apngopt: EAPI8 bump, fix #724818 (diff) | |
download | gentoo-f486f3457412c8c1303a4cdca36feab722debb99.tar.gz gentoo-f486f3457412c8c1303a4cdca36feab722debb99.tar.bz2 gentoo-f486f3457412c8c1303a4cdca36feab722debb99.zip |
media-gfx/apngopt: remove old
Closes: https://bugs.gentoo.org/724818
Closes: https://github.com/gentoo/gentoo/pull/32875
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-gfx/apngopt')
-rw-r--r-- | media-gfx/apngopt/apngopt-1.4.ebuild | 39 | ||||
-rw-r--r-- | media-gfx/apngopt/files/apngopt-1.4-makefile.patch | 27 |
2 files changed, 0 insertions, 66 deletions
diff --git a/media-gfx/apngopt/apngopt-1.4.ebuild b/media-gfx/apngopt/apngopt-1.4.ebuild deleted file mode 100644 index d8c6b4c2f53b..000000000000 --- a/media-gfx/apngopt/apngopt-1.4.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -DESCRIPTION="optimize APNG images" -HOMEPAGE="https://sourceforge.net/projects/apng/" -SRC_URI="mirror://sourceforge/apng/${P}-src.zip" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="sys-libs/zlib - >=app-arch/zopfli-1.0.1-r2:= - media-libs/libpng:0=" -DEPEND="${RDEPEND} - app-arch/unzip" - -S=${WORKDIR} - -PATCHES=( "${FILESDIR}"/${P}-makefile.patch ) - -src_prepare() { - default - rm -rf libpng zlib zopfli || die -} - -src_compile() { - emake CC="$(tc-getCC)" ${PN} -} - -src_install() { - dobin ${PN} - dodoc readme.txt -} diff --git a/media-gfx/apngopt/files/apngopt-1.4-makefile.patch b/media-gfx/apngopt/files/apngopt-1.4-makefile.patch deleted file mode 100644 index 4ec6084139a0..000000000000 --- a/media-gfx/apngopt/files/apngopt-1.4-makefile.patch +++ /dev/null @@ -1,27 +0,0 @@ -Use system zopfli library and respect CFLAGS. - ---- apngopt-1.4-src/Makefile -+++ apngopt-1.4-src/Makefile -@@ -1,10 +1,10 @@ - PACKAGE = apngopt - CC = gcc --SRC_DIRS = . 7z zopfli -+SRC_DIRS = . 7z - CFLAGS = -Wall -pedantic --CFLAGS_OPT = -O2 -+#CFLAGS_OPT = -O2 - CFLAGS_7Z = -Wno-sign-compare -Wno-reorder -Wno-maybe-uninitialized -Wno-parentheses --LIBS = -lstdc++ -lm -lpng -lz -+LIBS = -lstdc++ -lm -lpng -lz -lzopfli - - INCUDE_DIRS := $(addprefix -I./, $(SRC_DIRS)) - OBJ_DIRS := $(addprefix obj/, $(SRC_DIRS)) -@@ -16,7 +16,7 @@ - all : $(PACKAGE) - - $(PACKAGE) : objdirs $(OBJECTS) -- $(CC) -o $@ $(OBJECTS) -s $(LIBS) -+ $(CC) -o $@ $(OBJECTS) $(LIBS) - - objdirs : - mkdir -p $(OBJ_DIRS) |