media-video/av1an: new package 1.12 (9999 recommended)

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Theo Anderson <telans@posteo.de>
This commit is contained in:
Theo Anderson
2021-02-10 19:25:37 +13:00
parent 4d84de936c
commit 654e07d3b1
4 changed files with 95 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST av1an-1.12.tar.gz 38440 BLAKE2B 19163ae77622c99255e5c5c06a9d89f315766d069d2f7c17414fab8cdd92e76cefc71103cf8afc2543b6b05136d1be32d1feefb88fba7837bea7f338647520c6 SHA512 2e55e595ff943324dbee5f91b4d6d85e52c052258cefd775bf78021893037d0bd1fd2e95ad4fb9303e3dac42fcb56107762faf0fe616fa2243303826463a9025

View File

@@ -0,0 +1,43 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
DESCRIPTION="Cross-platform framework to streamline encoding"
HOMEPAGE="https://github.com/master-of-zen/Av1an"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/master-of-zen/Av1an.git"
else
SRC_URI="https://github.com/master-of-zen/Av1an/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}"/${P^}
fi
LICENSE="MIT"
SLOT="0"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/matplotlib[${PYTHON_USEDEP}]
dev-python/psutil[${PYTHON_USEDEP}]
dev-python/scenedetect[${PYTHON_USEDEP}]
dev-python/scipy[${PYTHON_USEDEP}]
dev-python/tqdm[${PYTHON_USEDEP}]
media-libs/libaom[examples]
media-libs/opencv[python,${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
src_prepare() {
distutils-r1_src_prepare
sed -e '/opencv-python/d'\
-e '/scenedetect/d' \
-i setup.py || die
}

View File

@@ -0,0 +1,43 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
DESCRIPTION="Cross-platform framework to streamline encoding"
HOMEPAGE="https://github.com/master-of-zen/Av1an"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/master-of-zen/Av1an.git"
else
SRC_URI="https://github.com/master-of-zen/Av1an/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}"/${P^}
fi
LICENSE="MIT"
SLOT="0"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/matplotlib[${PYTHON_USEDEP}]
dev-python/psutil[${PYTHON_USEDEP}]
dev-python/scenedetect[${PYTHON_USEDEP}]
dev-python/scipy[${PYTHON_USEDEP}]
dev-python/tqdm[${PYTHON_USEDEP}]
media-libs/libaom[examples]
media-libs/opencv[python,${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
src_prepare() {
distutils-r1_src_prepare
sed -e '/opencv-python/d'\
-e '/scenedetect/d' \
-i setup.py || die
}

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>telans@posteo.de</email>
<name>Theo Anderson</name>
</maintainer>
</pkgmetadata>