summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-arch/advancecomp/Manifest1
-rw-r--r--app-arch/advancecomp/advancecomp-2.3.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/app-arch/advancecomp/Manifest b/app-arch/advancecomp/Manifest
index bd12c7510490..98d02d75ff6d 100644
--- a/app-arch/advancecomp/Manifest
+++ b/app-arch/advancecomp/Manifest
@@ -1 +1,2 @@
+DIST advancecomp-2.3.tar.gz 1292157 BLAKE2B 7fdbbc4c53c58a4988339189d5e2e2412e782a69081b6ba39f86f4c2b101b03d8400f8104091eb8b22d2d4969515c8126011e79e346787bddba77d67387a6efe SHA512 87dc6a25139708b975ff138f73555fb2053c0fb8310412823624de7786a2034657fc3b4ddb6eeda332788073bbe21ea955b7368707186ee3bb61d1fe59e672e3
DIST advancecomp-fcf71a89265c78fc26243574dda3a872574a5c02.tar.gz 1195310 BLAKE2B 9dcab7e266023f996504cfcfc9ba8237f216f2bf1af56d645e3fe7fb79a5e3d0dae2abdd47cc9c38c6ade385d1eb44b1e0ae6afa6fd2485afd1423be37276d06 SHA512 2c3e01146441aa940f6de464e0c19613f22d6a5fd671e4e0b1b83e68cad322ff0dc6be0fa328524332e6a782198edfeac0443b72a30d9c51c86e7c5ad141f6b7
diff --git a/app-arch/advancecomp/advancecomp-2.3.ebuild b/app-arch/advancecomp/advancecomp-2.3.ebuild
new file mode 100644
index 000000000000..2d742f6a747a
--- /dev/null
+++ b/app-arch/advancecomp/advancecomp-2.3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Recompress ZIP, PNG and MNG, considerably improving compression"
+HOMEPAGE="
+ https://www.advancemame.it/comp-readme.html
+ https://github.com/amadvance/advancecomp/
+"
+SRC_URI="
+ https://github.com/amadvance/advancecomp/releases/download/v${PV}/${P}.tar.gz
+"
+
+LICENSE="GPL-2+ Apache-2.0 LGPL-2.1+ MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+ app-arch/bzip2:=
+ sys-libs/zlib:=
+"
+DEPEND="
+ ${RDEPEND}
+"
+
+# Tests seem to rely on exact output:
+# https://sourceforge.net/p/advancemame/bugs/270/
+RESTRICT="test"
+
+src_configure() {
+ local myconf=(
+ --enable-bzip2
+ # (--disable-* arguments are mishandled)
+ # --disable-debug
+ # --disable-valgrind
+ )
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ default
+ dodoc HISTORY
+}