blob: 4c5c4cbd1f0ce56e28cf85a782d6ea24851c5c0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{13..14} )
inherit distutils-r1
DESCRIPTION="Target File Size Video Compression for Discord with FFmpeg"
HOMEPAGE="https://github.com/zfleeman/ffmpeg4discord"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/zfleeman/ffmpeg4discord.git"
else
SRC_URI="https://github.com/zfleeman/ffmpeg4discord/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
LICENSE="GPL-3"
SLOT=0
BDEPEND="
>=dev-python/setuptools-69[${PYTHON_USEDEP}]
test? (
dev-python/coverage[${PYTHON_USEDEP}]
)
"
RDEPEND="
>=dev-python/flask-3.0.1[${PYTHON_USEDEP}]
>=dev-python/ffmpeg-python-0.2.0[${PYTHON_USEDEP}]
>=dev-python/platformdirs-4.5.0[${PYTHON_USEDEP}]
media-video/ffmpeg[x264,gpl]
"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
|