diff options
author | orbea <orbea@riseup.net> | 2021-11-29 14:47:39 -0800 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-12-05 03:52:50 +0000 |
commit | 6608f92a76237bedab022c62bef7cf157e2b28a6 (patch) | |
tree | 3380a7826587a15e208b2a8745f632a5ed1d92ed /dev-util/maxcso | |
parent | dev-perl/Test-Warnings: Stabilize 0.31.0 arm64, #828215 (diff) | |
download | gentoo-6608f92a76237bedab022c62bef7cf157e2b28a6.tar.gz gentoo-6608f92a76237bedab022c62bef7cf157e2b28a6.tar.bz2 gentoo-6608f92a76237bedab022c62bef7cf157e2b28a6.zip |
dev-util/maxcso: New package
Closes: https://github.com/gentoo/gentoo/pull/23119
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/maxcso')
-rw-r--r-- | dev-util/maxcso/Manifest | 1 | ||||
-rw-r--r-- | dev-util/maxcso/maxcso-1.13.0.ebuild | 36 | ||||
-rw-r--r-- | dev-util/maxcso/maxcso-9999.ebuild | 36 | ||||
-rw-r--r-- | dev-util/maxcso/metadata.xml | 17 |
4 files changed, 90 insertions, 0 deletions
diff --git a/dev-util/maxcso/Manifest b/dev-util/maxcso/Manifest new file mode 100644 index 000000000000..3b0c381aed69 --- /dev/null +++ b/dev-util/maxcso/Manifest @@ -0,0 +1 @@ +DIST maxcso-1.13.0.tar.gz 3734868 BLAKE2B 8c8db7741d8c5fb42ca26660221f2f56141845ad8ab95cf84e910e15b6a01109203015de9fec51da23e786a5015399bfdee2782f7e195c6557ce2e05c901f4e4 SHA512 1d09dee8094d09debe69764f06356339de60da01aaaac7d372c66c4909b86625114f8d6dbdce22d9d700340f9a7b07f1ff71031ad8f1465a65fd38cd5df21209 diff --git a/dev-util/maxcso/maxcso-1.13.0.ebuild b/dev-util/maxcso/maxcso-1.13.0.ebuild new file mode 100644 index 000000000000..a9f29908ada6 --- /dev/null +++ b/dev-util/maxcso/maxcso-1.13.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Fast cso compressor" +HOMEPAGE="https://github.com/unknownbrackets/maxcso" +if [[ "${PV}" == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/unknownbrackets/maxcso.git" +else + SRC_URI="https://github.com/unknownbrackets/maxcso/archive/v${PV}/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="ISC MIT LGPL-2.1+ Apache-2.0" +SLOT="0" + +BDEPEND="virtual/pkgconfig" +RDEPEND=" + app-arch/lz4 + dev-libs/libuv + sys-libs/zlib +" +DEPEND="${RDEPEND}" + +src_compile() { + emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install + dodoc README.md README_CSO.md README_ZSO.md +} diff --git a/dev-util/maxcso/maxcso-9999.ebuild b/dev-util/maxcso/maxcso-9999.ebuild new file mode 100644 index 000000000000..a9f29908ada6 --- /dev/null +++ b/dev-util/maxcso/maxcso-9999.ebuild @@ -0,0 +1,36 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Fast cso compressor" +HOMEPAGE="https://github.com/unknownbrackets/maxcso" +if [[ "${PV}" == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/unknownbrackets/maxcso.git" +else + SRC_URI="https://github.com/unknownbrackets/maxcso/archive/v${PV}/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="ISC MIT LGPL-2.1+ Apache-2.0" +SLOT="0" + +BDEPEND="virtual/pkgconfig" +RDEPEND=" + app-arch/lz4 + dev-libs/libuv + sys-libs/zlib +" +DEPEND="${RDEPEND}" + +src_compile() { + emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install + dodoc README.md README_CSO.md README_ZSO.md +} diff --git a/dev-util/maxcso/metadata.xml b/dev-util/maxcso/metadata.xml new file mode 100644 index 000000000000..f8d5fdccbd73 --- /dev/null +++ b/dev-util/maxcso/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'> +<pkgmetadata> + <maintainer type="person"> + <email>orbea@riseup.net</email> + <name>orbea</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription> + A fast ISO to CSO compression program for use with PSP and PS2 + emulators, which uses multiple algorithms for best compression + ratio. + </longdescription> +</pkgmetadata> |