summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-10-10 17:47:35 +0200
committerMichał Górny <mgorny@gentoo.org>2023-10-10 19:57:51 +0200
commit9b520c8081c4aee7a8877a8e93c17f71ba9eeaa0 (patch)
treebf2b46969604a7ee11c0e4be721521795b3aa789 /app-arch/advancecomp
parentxfce-base/thunar: Bump to 4.19.0 (diff)
downloadgentoo-9b520c8081c4aee7a8877a8e93c17f71ba9eeaa0.tar.gz
gentoo-9b520c8081c4aee7a8877a8e93c17f71ba9eeaa0.tar.bz2
gentoo-9b520c8081c4aee7a8877a8e93c17f71ba9eeaa0.zip
app-arch/advancecomp: Bump to 2.6
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-arch/advancecomp')
-rw-r--r--app-arch/advancecomp/Manifest1
-rw-r--r--app-arch/advancecomp/advancecomp-2.6.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/app-arch/advancecomp/Manifest b/app-arch/advancecomp/Manifest
index fc18aefa31d7..cc99230eb93b 100644
--- a/app-arch/advancecomp/Manifest
+++ b/app-arch/advancecomp/Manifest
@@ -1 +1,2 @@
DIST advancecomp-2.5.tar.gz 1315529 BLAKE2B 6d5844e64595f611ecf5a1ae69fa0208d324745fde91e63e2d934ca7c7ea6ce67da88063563ccfb67d8762eccff0723bc8f0e47b9322691a67bc7cc80a2039b0 SHA512 3beb26e9afdafb62ab13c3c56902b71b5dabccfa458c9930bdfd0a835149c46bed22bfac7b529c341f241bb8f7670c4cda4c50fd34df31b9a3902f8b8b655049
+DIST advancecomp-2.6.tar.gz 1343700 BLAKE2B 8666565721090217c396cb992b62c3f7c4c06932705db1f71acaa8283fd2795206808811ecd293344293e01a15da58675e8f397f1114c5ad5cc3186627286979 SHA512 10cc2a72b0cf486868b52cdb78a8dc2c965bfa9f43f712fdf97af58e4b0eac62460a635fe58435e2efbc605ed281b8bf0dc560b08bbbe66ee5a8673ec40ea0a6
diff --git a/app-arch/advancecomp/advancecomp-2.6.ebuild b/app-arch/advancecomp/advancecomp-2.6.ebuild
new file mode 100644
index 000000000000..eaedfe05ebdc
--- /dev/null
+++ b/app-arch/advancecomp/advancecomp-2.6.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2023 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"
+# Tests seem to rely on exact output:
+# https://sourceforge.net/p/advancemame/bugs/270/
+RESTRICT="test"
+
+RDEPEND="
+ app-arch/bzip2:=
+ sys-libs/zlib:=
+"
+DEPEND="
+ ${RDEPEND}
+"
+
+src_configure() {
+ local myconf=(
+ --enable-bzip2
+ # (--disable-* arguments are mishandled)
+ # --disable-debug
+ # --disable-valgrind
+ )
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ default
+ dodoc HISTORY
+}