media-gfx/guetzli - 1.0.1 (jm-overlay)

Search

Install

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

Package Information

Description:
JPEG encoder that aims for excellent compression density at high visual quality
Homepage:
https://github.com/google/guetzli
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
1.0.1 8 ~amd64 ~x86 0
View Raw Ebuild
# 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
}

Inherited Eclasses

Dependencies

DEPEND

media-libs/libpng:0

RDEPEND

media-libs/libpng:0

Manifest for 1.0.1

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