summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2017-12-18 17:14:09 +0100
committerMichael Weber <xmw@gentoo.org>2017-12-18 17:14:49 +0100
commitda376cd85321532dd3f30b9a3e8f1d33b25d8bd4 (patch)
treea701c8c001623cc808dc85a1a784e5583637613b /app-arch/advancecomp
parentapp-arch/advancecomp: Remove old. (diff)
downloadgentoo-da376cd85321532dd3f30b9a3e8f1d33b25d8bd4.tar.gz
gentoo-da376cd85321532dd3f30b9a3e8f1d33b25d8bd4.tar.bz2
gentoo-da376cd85321532dd3f30b9a3e8f1d33b25d8bd4.zip
app-arch/advancecomp: Version bump.
Closes: https://bugs.gentoo.org/621278 Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-arch/advancecomp')
-rw-r--r--app-arch/advancecomp/Manifest1
-rw-r--r--app-arch/advancecomp/advancecomp-1.23.ebuild6
-rw-r--r--app-arch/advancecomp/advancecomp-2.0.ebuild45
3 files changed, 48 insertions, 4 deletions
diff --git a/app-arch/advancecomp/Manifest b/app-arch/advancecomp/Manifest
index 79afc0f2f916..3454e85b39ff 100644
--- a/app-arch/advancecomp/Manifest
+++ b/app-arch/advancecomp/Manifest
@@ -1,2 +1,3 @@
DIST advancecomp-1.15.tar.gz 259340 BLAKE2B 64be369b56962b8612d46190a1ee2ccd3d3cae32867891a2dcec6fc24c1ea76c41fb3eb3980d1e43d642011d43250ad49a75f98ba4cb86f8e511c130ab2678a4 SHA512 18d6abb4c739c16e340bad2e87f89b545d0ecb660897a109a038b2a236bab6ce3d3b3ad572839fb4ce7981c5f150d8ed2447654291a8d808bbb85e70152e47ba
DIST advancecomp-1.23.tar.gz 1288937 BLAKE2B 48044f8e896e29ec41518f50daee50bd10e43d474a966f3a9d5ff1c567fb21366f09b1b7ead51323ec5a959fceafd4df247e469c4ba015ad3cfdb9b2f187bfdd SHA512 2218d8677787d3f72434e2d5dd3f6b21f69de7042c7533ad29625522adedd56d765e70e4749bbfac14973b9b2bb6958db2900e62b26e5242106caf760cbc2236
+DIST advancecomp-2.0.tar.gz 1292164 BLAKE2B 16f24820ac8f6de517edc91237b743935673894fd784271ab7ef7c1b5e7ff11fb4087dffa4e99b0b5b5ef550514f7267962cfcc7dde2976db69a28c68398c8ac SHA512 e324cdf1687d3a92d3416d07269b3d03087ccece9cf636cd4cd0075fbededcd27da5c84a2d77cc1265800f252fcd75a841459fcc55dd9d5eee3ea3fa48d9f906
diff --git a/app-arch/advancecomp/advancecomp-1.23.ebuild b/app-arch/advancecomp/advancecomp-1.23.ebuild
index d31dd6087b6d..da4307230c37 100644
--- a/app-arch/advancecomp/advancecomp-1.23.ebuild
+++ b/app-arch/advancecomp/advancecomp-1.23.ebuild
@@ -17,10 +17,8 @@ IUSE="mng png test"
RDEPEND="app-arch/bzip2
sys-libs/zlib"
DEPEND="${RDEPEND}"
-# test? (
-# app-text/tofrodos
-# dev-util/valgrind
-# )"
+# test? ( dev-util/valgrind )
+# test? ( app-text/tofrodos )
RESTRICT="test" #282441, #523212
diff --git a/app-arch/advancecomp/advancecomp-2.0.ebuild b/app-arch/advancecomp/advancecomp-2.0.ebuild
new file mode 100644
index 000000000000..da4307230c37
--- /dev/null
+++ b/app-arch/advancecomp/advancecomp-2.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils
+
+DESCRIPTION="Recompress ZIP, PNG and MNG, considerably improving compression"
+HOMEPAGE="http://www.advancemame.it/comp-readme.html"
+SRC_URI="https://github.com/amadvance/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-3 LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="mng png test"
+
+RDEPEND="app-arch/bzip2
+ sys-libs/zlib"
+DEPEND="${RDEPEND}"
+# test? ( dev-util/valgrind )
+# test? ( app-text/tofrodos )
+
+RESTRICT="test" #282441, #523212
+
+src_configure() {
+ econf --enable-bzip2 \
+ $(use_enable test valgrind)
+}
+
+src_install() {
+ dobin advdef advzip
+
+ if use png; then
+ dobin advpng
+ doman doc/advpng.1
+ fi
+
+ if use mng; then
+ dobin advmng
+ doman doc/advmng.1
+ fi
+
+ dodoc HISTORY AUTHORS README
+ doman doc/advdef.1 doc/advzip.1
+}