| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# Copyright 1999-2025 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit edo git-r3 toolchain-funcs
DESCRIPTION="A tool for measuring perceived differences between images"
HOMEPAGE="https://github.com/google/butteraugli"
EGIT_REPO_URI="https://github.com/google/${PN}.git"
LICENSE="Apache-2.0"
SLOT="0"
RDEPEND="media-libs/libjpeg-turbo:=
media-libs/libpng:=
virtual/zlib:0="
src_compile() {
edo cd butteraugli
emake CXX="$(tc-getCXX)"
}
src_install() {
einstalldocs
dobin butteraugli/butteraugli
}
media-libs/libjpeg-turbo:= media-libs/libpng:= virtual/zlib:0=