mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 12:33:40 -04:00
media-libs/libavif: removed warning, slotting for rebuilds
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
@@ -1,14 +1,14 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI="7"
|
||||||
|
|
||||||
inherit cmake
|
inherit cmake
|
||||||
|
|
||||||
DESCRIPTION="Library for encoding and decoding .avif files"
|
DESCRIPTION="Library for encoding and decoding .avif files"
|
||||||
HOMEPAGE="https://github.com/AOMediaCodec/libavif"
|
HOMEPAGE="https://github.com/AOMediaCodec/libavif"
|
||||||
|
|
||||||
if [[ ${PV} == *9999* ]]; then
|
if [[ "${PV}" == *9999* ]]; then
|
||||||
inherit git-r3
|
inherit git-r3
|
||||||
EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
|
EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
|
||||||
else
|
else
|
||||||
@@ -23,8 +23,8 @@ IUSE="dav1d +libaom rav1e"
|
|||||||
REQUIRED_USE="|| ( dav1d libaom )"
|
REQUIRED_USE="|| ( dav1d libaom )"
|
||||||
|
|
||||||
DEPEND="dav1d? ( media-libs/dav1d )
|
DEPEND="dav1d? ( media-libs/dav1d )
|
||||||
libaom? ( >=media-libs/libaom-1.1 )
|
libaom? ( >=media-libs/libaom-1.1:= )
|
||||||
rav1e? ( media-video/rav1e[capi] )
|
rav1e? ( media-video/rav1e:=[capi] )
|
||||||
media-libs/libpng
|
media-libs/libpng
|
||||||
"
|
"
|
||||||
RDEPEND="${DEPEND}"
|
RDEPEND="${DEPEND}"
|
||||||
@@ -32,11 +32,11 @@ BDEPEND=""
|
|||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
local mycmakeargs=(
|
local mycmakeargs=(
|
||||||
-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
|
-DAVIF_BUILD_APPS=ON
|
||||||
-DAVIF_CODEC_AOM=$(usex libaom ON OFF)
|
-DAVIF_CODEC_AOM=$(usex libaom ON OFF)
|
||||||
|
-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
|
||||||
-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
|
-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
|
||||||
-DBUILD_SHARED_LIBS=ON
|
-DBUILD_SHARED_LIBS=ON
|
||||||
-DAVIF_BUILD_APPS=ON
|
|
||||||
)
|
)
|
||||||
cmake_src_configure
|
cmake_src_configure
|
||||||
}
|
}
|
||||||
@@ -47,16 +47,4 @@ pkg_postinst() {
|
|||||||
ewarn "libavif will work in read-only mode."
|
ewarn "libavif will work in read-only mode."
|
||||||
ewarn "Enable libaom or rav1e flag if you want to save .AVIF files."
|
ewarn "Enable libaom or rav1e flag if you want to save .AVIF files."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if use libaom ; then
|
|
||||||
elog "When you upgrade libaom in the future,"
|
|
||||||
elog " you may need to re-emerge libavif again"
|
|
||||||
elog " to ensure correct AVIF import/export functions."
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use rav1e ; then
|
|
||||||
elog "When you upgrade rav1e in the future,"
|
|
||||||
elog " you may need to re-emerge libavif again"
|
|
||||||
elog " to ensure correct AVIF export function."
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
@@ -1,14 +1,14 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI="7"
|
||||||
|
|
||||||
inherit cmake
|
inherit cmake
|
||||||
|
|
||||||
DESCRIPTION="Library for encoding and decoding .avif files"
|
DESCRIPTION="Library for encoding and decoding .avif files"
|
||||||
HOMEPAGE="https://github.com/AOMediaCodec/libavif"
|
HOMEPAGE="https://github.com/AOMediaCodec/libavif"
|
||||||
|
|
||||||
if [[ ${PV} == *9999* ]]; then
|
if [[ "${PV}" == *9999* ]]; then
|
||||||
inherit git-r3
|
inherit git-r3
|
||||||
EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
|
EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
|
||||||
else
|
else
|
||||||
@@ -23,8 +23,8 @@ IUSE="dav1d +libaom rav1e"
|
|||||||
REQUIRED_USE="|| ( dav1d libaom )"
|
REQUIRED_USE="|| ( dav1d libaom )"
|
||||||
|
|
||||||
DEPEND="dav1d? ( media-libs/dav1d )
|
DEPEND="dav1d? ( media-libs/dav1d )
|
||||||
libaom? ( >=media-libs/libaom-1.1 )
|
libaom? ( >=media-libs/libaom-1.1:= )
|
||||||
rav1e? ( media-video/rav1e[capi] )
|
rav1e? ( media-video/rav1e:=[capi] )
|
||||||
media-libs/libpng
|
media-libs/libpng
|
||||||
virtual/jpeg
|
virtual/jpeg
|
||||||
"
|
"
|
||||||
@@ -33,11 +33,11 @@ BDEPEND=""
|
|||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
local mycmakeargs=(
|
local mycmakeargs=(
|
||||||
-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
|
-DAVIF_BUILD_APPS=ON
|
||||||
-DAVIF_CODEC_AOM=$(usex libaom ON OFF)
|
-DAVIF_CODEC_AOM=$(usex libaom ON OFF)
|
||||||
|
-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
|
||||||
-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
|
-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
|
||||||
-DBUILD_SHARED_LIBS=ON
|
-DBUILD_SHARED_LIBS=ON
|
||||||
-DAVIF_BUILD_APPS=ON
|
|
||||||
)
|
)
|
||||||
cmake_src_configure
|
cmake_src_configure
|
||||||
}
|
}
|
||||||
@@ -48,16 +48,4 @@ pkg_postinst() {
|
|||||||
ewarn "libavif will work in read-only mode."
|
ewarn "libavif will work in read-only mode."
|
||||||
ewarn "Enable libaom or rav1e flag if you want to save .AVIF files."
|
ewarn "Enable libaom or rav1e flag if you want to save .AVIF files."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if use libaom ; then
|
|
||||||
elog "When you upgrade libaom in the future,"
|
|
||||||
elog " you may need to re-emerge libavif again"
|
|
||||||
elog " to ensure correct AVIF import/export functions."
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use rav1e ; then
|
|
||||||
elog "When you upgrade rav1e in the future,"
|
|
||||||
elog " you may need to re-emerge libavif again"
|
|
||||||
elog " to ensure correct AVIF export function."
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
@@ -1,14 +1,14 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
# Copyright 1999-2020 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI="7"
|
||||||
|
|
||||||
inherit cmake
|
inherit cmake
|
||||||
|
|
||||||
DESCRIPTION="Library for encoding and decoding .avif files"
|
DESCRIPTION="Library for encoding and decoding .avif files"
|
||||||
HOMEPAGE="https://github.com/AOMediaCodec/libavif"
|
HOMEPAGE="https://github.com/AOMediaCodec/libavif"
|
||||||
|
|
||||||
if [[ ${PV} == *9999* ]]; then
|
if [[ "${PV}" == *9999* ]]; then
|
||||||
inherit git-r3
|
inherit git-r3
|
||||||
EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
|
EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
|
||||||
else
|
else
|
||||||
@@ -23,8 +23,8 @@ IUSE="dav1d +libaom rav1e"
|
|||||||
REQUIRED_USE="|| ( dav1d libaom )"
|
REQUIRED_USE="|| ( dav1d libaom )"
|
||||||
|
|
||||||
DEPEND="dav1d? ( media-libs/dav1d )
|
DEPEND="dav1d? ( media-libs/dav1d )
|
||||||
libaom? ( >=media-libs/libaom-1.1 )
|
libaom? ( >=media-libs/libaom-1.1:= )
|
||||||
rav1e? ( media-video/rav1e[capi] )
|
rav1e? ( media-video/rav1e:=[capi] )
|
||||||
media-libs/libpng
|
media-libs/libpng
|
||||||
virtual/jpeg
|
virtual/jpeg
|
||||||
"
|
"
|
||||||
@@ -33,11 +33,11 @@ BDEPEND=""
|
|||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
local mycmakeargs=(
|
local mycmakeargs=(
|
||||||
-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
|
-DAVIF_BUILD_APPS=ON
|
||||||
-DAVIF_CODEC_AOM=$(usex libaom ON OFF)
|
-DAVIF_CODEC_AOM=$(usex libaom ON OFF)
|
||||||
|
-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
|
||||||
-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
|
-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
|
||||||
-DBUILD_SHARED_LIBS=ON
|
-DBUILD_SHARED_LIBS=ON
|
||||||
-DAVIF_BUILD_APPS=ON
|
|
||||||
)
|
)
|
||||||
cmake_src_configure
|
cmake_src_configure
|
||||||
}
|
}
|
||||||
@@ -48,16 +48,4 @@ pkg_postinst() {
|
|||||||
ewarn "libavif will work in read-only mode."
|
ewarn "libavif will work in read-only mode."
|
||||||
ewarn "Enable libaom or rav1e flag if you want to save .AVIF files."
|
ewarn "Enable libaom or rav1e flag if you want to save .AVIF files."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if use libaom ; then
|
|
||||||
elog "When you upgrade libaom in the future,"
|
|
||||||
elog " you may need to re-emerge libavif again"
|
|
||||||
elog " to ensure correct AVIF import/export functions."
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use rav1e ; then
|
|
||||||
elog "When you upgrade rav1e in the future,"
|
|
||||||
elog " you may need to re-emerge libavif again"
|
|
||||||
elog " to ensure correct AVIF export function."
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user