# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit autotools xdg multilib-minimal if [[ ${PV} == *9999 ]] ; then EGIT_REPO_URI="https://github.com/strukturag/libheif.git" inherit git-r3 else SRC_URI="https://github.com/strukturag/libheif/releases/download/v${PV}/${P}.tar.gz" KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" fi DESCRIPTION="ISO/IEC 23008-12:2017 HEIF file format decoder and encoder" HOMEPAGE="https://github.com/strukturag/libheif" LICENSE="GPL-3" SLOT="0/1.12" IUSE="+aom gdk-pixbuf go rav1e test +threads x265" REQUIRED_USE="test? ( go )" RESTRICT="!test? ( test )" BDEPEND=" test? (