diff options
author | orbea <orbea@riseup.net> | 2024-01-26 19:33:40 -0800 |
---|---|---|
committer | Viorel Munteanu <ceamac@gentoo.org> | 2024-02-23 10:40:23 +0200 |
commit | 5441db5c039154a997b964c464333120427196ca (patch) | |
tree | 89476018a84d033954dea72f9f57166b9d1e3cfa /dev-util/maxcso | |
parent | app-misc/fastfetch: drop 2.8.3 (diff) | |
download | gentoo-5441db5c039154a997b964c464333120427196ca.tar.gz gentoo-5441db5c039154a997b964c464333120427196ca.tar.bz2 gentoo-5441db5c039154a997b964c464333120427196ca.zip |
dev-util/maxcso: build with app-arch/libdeflate
Upstream now supports an external libdeflate.
Upstream-PR: https://github.com/unknownbrackets/maxcso/pull/83
Upstream-Commit: https://github.com/unknownbrackets/maxcso/commit/49493443fc5b337bd77df3cfb1726c39fea9896c
Signed-off-by: orbea <orbea@riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/35035
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
Diffstat (limited to 'dev-util/maxcso')
-rw-r--r-- | dev-util/maxcso/maxcso-9999.ebuild | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/dev-util/maxcso/maxcso-9999.ebuild b/dev-util/maxcso/maxcso-9999.ebuild index d96731620d13..5ef2e19bfd9f 100644 --- a/dev-util/maxcso/maxcso-9999.ebuild +++ b/dev-util/maxcso/maxcso-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021-2022 Gentoo Authors +# Copyright 2021-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -15,22 +15,31 @@ else KEYWORDS="~amd64 ~x86" fi -LICENSE="ISC MIT LGPL-2.1+ Apache-2.0" +LICENSE="ISC LGPL-2.1+ Apache-2.0" SLOT="0" DEPEND=" - app-arch/lz4 - dev-libs/libuv + app-arch/libdeflate[zlib] + app-arch/lz4:= + dev-libs/libuv:= sys-libs/zlib " RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" src_compile() { - emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" + emake \ + CC="$(tc-getCC)" \ + CXX="$(tc-getCXX)" \ + PKG_CONFIG="$(tc-getPKG_CONFIG)" \ + USE_EXTERNAL_LIBDEFLATE=1 } src_install() { - emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install + emake install \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}"/usr \ + USE_EXTERNAL_LIBDEFLATE=1 + dodoc README.md README_CSO.md README_ZSO.md } |