# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 CMAKE_ECLASS=cmake inherit cmake DESCRIPTION="Library for encoding and decoding .avif files" HOMEPAGE="https://github.com/AOMediaCodec/libavif" SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v0.6.2.tar.gz" LICENSE="BSD-2" SLOT="0" KEYWORDS="~amd64" IUSE="" DEPEND=">=media-libs/libaom-1.1" RDEPEND="${DEPEND}" BDEPEND="" src_configure() { local mycmakeargs=( -DAVIF_CODEC_AOM=ON -DBUILD_SHARED_LIBS=ON ) cmake_src_configure } src_install() { cmake_src_install }