Install this version:
emerge -a =media-gfx/guetzli-1.0.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =media-gfx/guetzli-1.0.1
Or alternatively:
emerge --autounmask-write -a =media-gfx/guetzli-1.0.1
# Copyright 1999-2024 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="JPEG encoder that aims for excellent compression density at high visual quality"
HOMEPAGE="https://github.com/google/guetzli"
SRC_URI="https://github.com/google/guetzli/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="media-libs/libpng:0"
DEPEND="${RDEPEND}"
src_prepare() {
sed -i "s/-O3//g" guetzli.make || die # Use user-specified optimization flags
eapply_user
}
src_compile() {
tc-export CXX
emake guetzli verbose=1
}
src_install() {
dobin bin/Release/guetzli
dodoc CONTRIBUTING.md README.md
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | guetzli-1.0.1.tar.gz | 97251 bytes | https://github.com/google/guetzli/archive/v1.0.1.tar.gz |