diff options
Diffstat (limited to 'app-arch/advancecomp')
-rw-r--r-- | app-arch/advancecomp/Manifest | 4 | ||||
-rw-r--r-- | app-arch/advancecomp/advancecomp-2.0.ebuild | 45 | ||||
-rw-r--r-- | app-arch/advancecomp/advancecomp-2.1.ebuild | 36 |
3 files changed, 85 insertions, 0 deletions
diff --git a/app-arch/advancecomp/Manifest b/app-arch/advancecomp/Manifest index c2d780340d87..4973be164531 100644 --- a/app-arch/advancecomp/Manifest +++ b/app-arch/advancecomp/Manifest @@ -1,3 +1,7 @@ +DIST advancecomp-2.0.tar.gz 1292164 BLAKE2B 16f24820ac8f6de517edc91237b743935673894fd784271ab7ef7c1b5e7ff11fb4087dffa4e99b0b5b5ef550514f7267962cfcc7dde2976db69a28c68398c8ac SHA512 e324cdf1687d3a92d3416d07269b3d03087ccece9cf636cd4cd0075fbededcd27da5c84a2d77cc1265800f252fcd75a841459fcc55dd9d5eee3ea3fa48d9f906 +DIST advancecomp-2.1.tar.gz 1292135 BLAKE2B 0ad0586298c396f64dda1db3dd5865159b0897d5ee1485809531cad4e11fc9ab634f77c50e70065cf9d827fe4fad4a9d99a5e2587d0f3a8aaa55fe82dff008c1 SHA512 62abc585b282483bf5994491db3965463f4a54db642e489460d678f95faefc5d62f80bcd9e5a2a2ba3cd708d5cda7457a2b773be1a65385ef5528324e2d2949b DIST advancecomp-fcf71a89265c78fc26243574dda3a872574a5c02.tar.gz 1195310 BLAKE2B 9dcab7e266023f996504cfcfc9ba8237f216f2bf1af56d645e3fe7fb79a5e3d0dae2abdd47cc9c38c6ade385d1eb44b1e0ae6afa6fd2485afd1423be37276d06 SHA512 2c3e01146441aa940f6de464e0c19613f22d6a5fd671e4e0b1b83e68cad322ff0dc6be0fa328524332e6a782198edfeac0443b72a30d9c51c86e7c5ad141f6b7 +EBUILD advancecomp-2.0.ebuild 933 BLAKE2B bbf30e3d04be41ad781a48a4ae63d317744d74b214e6a31eb76e4a7c5527d4e7c66a75794e38ee3f471b9039dde5bad6e27d9515c09fc34aafc3a23c7fcb06a8 SHA512 70a941e00ea917af6405208db3747d5939a4b7ecc65a7189f6ed34922309af480873c39a4bdf3e533cdf5297d27d4ea0fa0ad04f082fd378218f4bed714591db +EBUILD advancecomp-2.1.ebuild 831 BLAKE2B 9ffb94c49e1846010b929613bf5ea7d015820948c648361ef83330074b40eb8d6e4f9e72840d7eb1c23091a80c2342fb895806d9e888f95ef224bcdddb3e31f0 SHA512 1d972f93e781077c3ca403c07d9a3130ac4282b3bdf8c79cab9702eb4c0c8919cb564c61f727032a3084de11ff1c205d33ed880cbc5570689387caa67601e8f3 EBUILD advancecomp-2.2_pre20190301.ebuild 1014 BLAKE2B 00a58e73636bb98f11a95210b994e04f50b7206849b2c2fabc84fb5ea8e1b4aeb955e9403aa357d78520965dd453a253a9e02451926a241ad39952786e837bc1 SHA512 3861751b3d39cdb35437ea7e655c003737a09efa036df428c6e642211aae3647d243cd163f78942746ed3acbdff3298090f10aa9e428de68e91a2b81549833c7 MISC metadata.xml 525 BLAKE2B 7b701e8291c27054417e28405eae6e285a384f80e96801fa7b088115a40abe3d35f2db1104a1b77a9a5e486327cdc91327427605172e4f00c61b515c91b0ef8c SHA512 4bde385cbadadb14a594602dddec98f079cf1f970138c63296ef1c634bdd9f352c9662b0064f3738017e9ee24bff5662e7e02df19797ae0276c7e889376857a7 diff --git a/app-arch/advancecomp/advancecomp-2.0.ebuild b/app-arch/advancecomp/advancecomp-2.0.ebuild new file mode 100644 index 000000000000..4fb17e83d9b8 --- /dev/null +++ b/app-arch/advancecomp/advancecomp-2.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2018 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-2+ Apache-2.0 LGPL-2.1+ MIT" +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 +} diff --git a/app-arch/advancecomp/advancecomp-2.1.ebuild b/app-arch/advancecomp/advancecomp-2.1.ebuild new file mode 100644 index 000000000000..5c2d7fe463cf --- /dev/null +++ b/app-arch/advancecomp/advancecomp-2.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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-2+ Apache-2.0 LGPL-2.1+ MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="" + +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 +} |