mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
Merge updates from master
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
DIST libavif-0.7.3.tar.gz 2893675 BLAKE2B 9cbfac039859f2b7fed975c8088698c8ab792773dd8a6512d5b2cf5827cb58d23a6aec6ca077da088af0dc4fb40a7d065ad5e5a8e0f4e8d11391acedb95ac31b SHA512 b8928755ee39964fd9d9575fdb393ffee0ac3597c1d6f6048e049e6c328d1e82febdb32bfa0b22e16a2fb73ff6cd1ad4af7f63fc9baccea22716d941385c028d
|
||||
DIST libavif-0.8.0.tar.gz 2914015 BLAKE2B c74381ae1aa1c9b82d2fec77e6bff9ec34ea6628e6985dbdd1a01a36cfceb64ee7eddaab29611ea4dc594125d301fc1818588c706171b7d288b58f24391cfeaf SHA512 362f3c3f8005ad0bce3026282722b26685ba09986def1f410aef25a8fb2b2035b91d1465a26cc1e9ad1cee0ee88b4110e7c92eddbe09a9e39c6ed05ab04d2b9e
|
||||
DIST libavif-0.8.1.tar.gz 2915941 BLAKE2B 40030a5a002e68231adf48ecc6e8012f7ec53506770872fc79dfd73496fa3a214c10cf5fb5826f145fe1f881adf2a3ecca13c33989b2f048aa72e455ab6950e0 SHA512 03692fbba49fde08d76cebb847d0404a81113824e9e65edc6a0977f323d060c394d111e2a7647788fa3115f3ae80b0fc92d4fe5be53852e6734b96a8f1c1a078
|
||||
@@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Library for encoding and decoding .avif files"
|
||||
HOMEPAGE="https://github.com/AOMediaCodec/libavif"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
|
||||
else
|
||||
SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS=""
|
||||
fi
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
IUSE="dav1d +libaom rav1e"
|
||||
|
||||
REQUIRED_USE="|| ( dav1d libaom )"
|
||||
|
||||
DEPEND="dav1d? ( media-libs/dav1d )
|
||||
libaom? ( >=media-libs/libaom-1.0.0_p20200507:= )
|
||||
rav1e? ( media-video/rav1e:=[capi] )
|
||||
media-libs/libpng
|
||||
virtual/jpeg
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DAVIF_BUILD_APPS=ON
|
||||
-DAVIF_CODEC_AOM=$(usex libaom ON OFF)
|
||||
-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
|
||||
-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use libaom && ! use rav1e ; then
|
||||
ewarn "libaom and rav1e flags are not set,"
|
||||
ewarn "libavif will work in read-only mode."
|
||||
ewarn "Enable libaom or rav1e flag if you want to save .AVIF files."
|
||||
fi
|
||||
}
|
||||
@@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Library for encoding and decoding .avif files"
|
||||
HOMEPAGE="https://github.com/AOMediaCodec/libavif"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
|
||||
else
|
||||
SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
IUSE="dav1d +libaom rav1e"
|
||||
|
||||
REQUIRED_USE="|| ( dav1d libaom )"
|
||||
|
||||
DEPEND="dav1d? ( media-libs/dav1d )
|
||||
libaom? ( >=media-libs/libaom-2.0.0:= )
|
||||
rav1e? ( media-video/rav1e:=[capi] )
|
||||
media-libs/libpng
|
||||
virtual/jpeg
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DAVIF_BUILD_APPS=ON
|
||||
-DAVIF_CODEC_AOM=$(usex libaom ON OFF)
|
||||
-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
|
||||
-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use libaom && ! use rav1e ; then
|
||||
ewarn "libaom and rav1e flags are not set,"
|
||||
ewarn "libavif will work in read-only mode."
|
||||
ewarn "Enable libaom or rav1e flag if you want to save .AVIF files."
|
||||
fi
|
||||
}
|
||||
@@ -1,69 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit cmake gnome2-utils
|
||||
|
||||
DESCRIPTION="Library for encoding and decoding .avif files"
|
||||
HOMEPAGE="https://github.com/AOMediaCodec/libavif"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
|
||||
else
|
||||
SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
IUSE="dav1d gdk-pixbuf +libaom rav1e"
|
||||
|
||||
REQUIRED_USE="|| ( dav1d libaom )"
|
||||
|
||||
DEPEND="dav1d? ( media-libs/dav1d )
|
||||
libaom? ( >=media-libs/libaom-2.0.0:= )
|
||||
rav1e? ( media-video/rav1e:=[capi] )
|
||||
media-libs/libpng
|
||||
virtual/jpeg
|
||||
gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DAVIF_BUILD_APPS=ON
|
||||
-DAVIF_CODEC_AOM=$(usex libaom ON OFF)
|
||||
-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
|
||||
-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if use gdk-pixbuf ; then
|
||||
gnome2_gdk_pixbuf_savelist
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use libaom && ! use rav1e ; then
|
||||
ewarn "libaom and rav1e flags are not set,"
|
||||
ewarn "libavif will work in read-only mode."
|
||||
ewarn "Enable libaom or rav1e flag if you want to save .AVIF files."
|
||||
fi
|
||||
|
||||
if use gdk-pixbuf ; then
|
||||
gnome2_gdk_pixbuf_update
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use gdk-pixbuf ; then
|
||||
gnome2_gdk_pixbuf_update
|
||||
fi
|
||||
}
|
||||
@@ -1,69 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit cmake gnome2-utils
|
||||
|
||||
DESCRIPTION="Library for encoding and decoding .avif files"
|
||||
HOMEPAGE="https://github.com/AOMediaCodec/libavif"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/AOMediaCodec/libavif.git"
|
||||
else
|
||||
SRC_URI="https://github.com/AOMediaCodec/libavif/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
IUSE="dav1d gdk-pixbuf +libaom rav1e"
|
||||
|
||||
REQUIRED_USE="|| ( dav1d libaom )"
|
||||
|
||||
DEPEND="dav1d? ( media-libs/dav1d )
|
||||
libaom? ( >=media-libs/libaom-2.0.0:= )
|
||||
rav1e? ( media-video/rav1e:=[capi] )
|
||||
media-libs/libpng
|
||||
virtual/jpeg
|
||||
gdk-pixbuf? ( x11-libs/gdk-pixbuf:2 )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DAVIF_BUILD_APPS=ON
|
||||
-DAVIF_CODEC_AOM=$(usex libaom ON OFF)
|
||||
-DAVIF_CODEC_DAV1D=$(usex dav1d ON OFF)
|
||||
-DAVIF_CODEC_RAV1E=$(usex rav1e ON OFF)
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DAVIF_BUILD_GDK_PIXBUF=$(usex gdk-pixbuf ON OFF)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if use gdk-pixbuf ; then
|
||||
gnome2_gdk_pixbuf_savelist
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use libaom && ! use rav1e ; then
|
||||
ewarn "libaom and rav1e flags are not set,"
|
||||
ewarn "libavif will work in read-only mode."
|
||||
ewarn "Enable libaom or rav1e flag if you want to save .AVIF files."
|
||||
fi
|
||||
|
||||
if use gdk-pixbuf ; then
|
||||
gnome2_gdk_pixbuf_update
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if use gdk-pixbuf ; then
|
||||
gnome2_gdk_pixbuf_update
|
||||
fi
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>dnovomesky@gmail.com</email>
|
||||
<name>Daniel Novomesky</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="dav1d">Enable faster decoding via dav1d</flag>
|
||||
<flag name="libaom">Use encoding/decoding via libaom</flag>
|
||||
<flag name="rav1e">Allow encoding via rav1e</flag>
|
||||
<flag name="gdk-pixbuf">Build a gdk-pixbuf loader</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user