media-gfx/guetzli - 1.0.1 (nest)

Search

Package Information

Description:
Perceptual JPEG encoder
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-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="Perceptual JPEG encoder"
HOMEPAGE="https://github.com/google/guetzli"
SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug"

RDEPEND="media-libs/libpng:0="
BDEPEND="virtual/pkgconfig"

src_prepare() {
	default

	# respect FLAGS
	sed -i 's/-O3 -g //' guetzli.make || die "sed failed"
}

src_compile() {
	emake CXX="$(tc-getCXX)" verbose=1 config="$(usex debug debug release '' '')"
}

src_install() {
	dobin bin/Release/guetzli
}

USE Flags

Dependencies

RDEPEND

media-libs/libpng:0=

BDEPEND

virtual/pkgconfig

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