commit:     659acda4b77ece747c4d3d54f34ec9a4657d0a37
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 20 05:11:02 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb 20 05:25:43 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=659acda4

media-gfx/apngasm: drop 2.91-r1

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-gfx/apngasm/Manifest                         |  1 -
 media-gfx/apngasm/apngasm-2.91-r1.ebuild           | 52 ----------------------
 .../apngasm/files/apngasm-2.91-makefile.patch      | 22 ---------
 media-gfx/apngasm/metadata.xml                     |  4 --
 4 files changed, 79 deletions(-)

diff --git a/media-gfx/apngasm/Manifest b/media-gfx/apngasm/Manifest
index d29bfb20fae9..0cecabb76b20 100644
--- a/media-gfx/apngasm/Manifest
+++ b/media-gfx/apngasm/Manifest
@@ -1,2 +1 @@
-DIST apngasm-2.91-src.zip 597267 BLAKE2B 
a34a765fef49aa0ac29973b8dc450bfcdfe7aa83dffe19919f916a136db3d0bfebf3c1fac79bfb81a3900cee87afd888469e5432500d181a9539696b4573a42b
 SHA512 
2415389a989f7a7ff7f3e1328f7920c7515c9a492c89ef216ff53db68fe2f1a674ff60d5f4bfd5a8c710f625456557ae7d5b25f486ac826e3113976cd9fc11dc
 DIST apngasm-3.1.10.tar.gz 620031 BLAKE2B 
6885b87815e76e8b9eed58548568bf821dfdf61579f83fc1aa977638f34c2112ebbfebba3454b0a2cfc01b465e570a7976e0fb8046a0762e9d35cf30e3d3f4cd
 SHA512 
670d75251ddc771f9b2b4a1f401066f2012a6814bec781b918f1d9e8960835654c66c3d19b4c8920d5186d85af12cdc4bba8b61c8f3d349b4fc70513d8ecb34e

diff --git a/media-gfx/apngasm/apngasm-2.91-r1.ebuild 
b/media-gfx/apngasm/apngasm-2.91-r1.ebuild
deleted file mode 100644
index ef084fbd4c98..000000000000
--- a/media-gfx/apngasm/apngasm-2.91-r1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit flag-o-matic toolchain-funcs
-
-DESCRIPTION="create an APNG from multiple PNG files"
-HOMEPAGE="https://sourceforge.net/projects/apngasm/";
-SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}-src.zip"
-
-LICENSE="ZLIB 7z? ( LGPL-2.1 )"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="7z zopfli"
-
-RDEPEND="media-libs/libpng:0=
-       sys-libs/zlib
-       zopfli? ( app-arch/zopfli:= )"
-DEPEND="${RDEPEND}
-       app-arch/unzip"
-
-S=${WORKDIR}
-
-PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
-
-src_prepare() {
-       default
-
-       # remove bundled libs
-       rm -r zopfli zlib libpng || die
-
-       if use 7z; then
-               append-cflags -DFEATURE_7ZIP
-       else
-               sed -i '/^SRC_DIRS\s\+=/s/7z//' Makefile || die
-       fi
-
-       if use zopfli; then
-               append-cflags -DFEATURE_ZOPFLI
-               sed -i '/^LIBS\s\+=/s/$/ -lzopfli/' Makefile || die
-       fi
-}
-
-src_compile() {
-       emake CC="$(tc-getCC)"
-}
-
-src_install() {
-       dobin ${PN}
-       dodoc readme.txt
-}

diff --git a/media-gfx/apngasm/files/apngasm-2.91-makefile.patch 
b/media-gfx/apngasm/files/apngasm-2.91-makefile.patch
deleted file mode 100644
index b9fb9c20ee89..000000000000
--- a/media-gfx/apngasm/files/apngasm-2.91-makefile.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- apngasm-2.91-src/Makefile
-+++ apngasm-2.91-src/Makefile
-@@ -1,8 +1,7 @@
- PACKAGE    = apngasm
- CC         = gcc
--SRC_DIRS   = . 7z zopfli
--CFLAGS     = -Wall -pedantic -DFEATURE_7ZIP -DFEATURE_ZOPFLI
--CFLAGS_OPT = -O2
-+SRC_DIRS   = . 7z
-+CFLAGS     += -Wall -pedantic
- CFLAGS_7Z  = -Wno-sign-compare -Wno-reorder -Wno-maybe-uninitialized 
-Wno-parentheses
- LIBS       = -lstdc++ -lm -lpng -lz
- 
-@@ -16,7 +15,7 @@
- all : $(PACKAGE)
- 
- $(PACKAGE) : objdirs $(OBJECTS)
--      $(CC) -o $@ $(OBJECTS) -s $(LIBS)
-+      $(CC) -o $@ $(OBJECTS) $(LDFLAGS) $(LIBS)
- 
- objdirs :
-       mkdir -p $(OBJ_DIRS)

diff --git a/media-gfx/apngasm/metadata.xml b/media-gfx/apngasm/metadata.xml
index d31bd859a4ec..cff2266b257f 100644
--- a/media-gfx/apngasm/metadata.xml
+++ b/media-gfx/apngasm/metadata.xml
@@ -2,10 +2,6 @@
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
        <!-- maintainer-needed -->
-       <use>
-               <flag name="7z">Enable support for 7zip compression</flag>
-               <flag name="zopfli">Enable support for Zopfli compression</flag>
-       </use>
        <upstream>
                <remote-id type="sourceforge">apngasm</remote-id>
        </upstream>

Reply via email to