From 97c6b7965f2d1c728d318cdb128071deb3a86d83 Mon Sep 17 00:00:00 2001 From: Ryan Fox Date: Mon, 3 Apr 2023 01:10:47 -0700 Subject: [PATCH] dev-python/ffpyplayer: add 4.5.0 --- dev-python/ffpyplayer/Manifest | 1 + dev-python/ffpyplayer/ffpyplayer-4.5.0.ebuild | 32 +++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 dev-python/ffpyplayer/ffpyplayer-4.5.0.ebuild diff --git a/dev-python/ffpyplayer/Manifest b/dev-python/ffpyplayer/Manifest index e0e1489..d1a1abf 100644 --- a/dev-python/ffpyplayer/Manifest +++ b/dev-python/ffpyplayer/Manifest @@ -1 +1,2 @@ DIST ffpyplayer-4.4.0.gh.tar.gz 3695913 BLAKE2B be0c4063a108cbd637ffca0a9a73f41759b755486d46503bd8ccfbc84d42edffbfdb3fd5a9093708dff9c34b7493c90b1f6dacdce622226ae4bfcf8535b705b0 SHA512 da2cc2e81a7a21c4aeb6667756a645b3e3db82a66f998a3505d24f431306b113f60faae848a2e36c037c473414da0400be65e0844c081d9eb811de4d7d708b4e +DIST ffpyplayer-4.5.0.gh.tar.gz 3695929 BLAKE2B 0b1f48e510bf3ae89a87002f77d4eaae4537fb8f0e7596cf6078abca949c4966d786f58d54247bd9a8612e8e1eb2b9dbc9d999c98780dc041fc83ab8421dfd35 SHA512 63678f54ab16d0b3070f83c7ff84c4a99a0fbf7eb3130c0863064571e11d1061a407265e2d7f1096a9c782f8bf7b2c6baabf803fd2cb11fe76b83e8c1d9e318f diff --git a/dev-python/ffpyplayer/ffpyplayer-4.5.0.ebuild b/dev-python/ffpyplayer/ffpyplayer-4.5.0.ebuild new file mode 100644 index 0000000..86f71e9 --- /dev/null +++ b/dev-python/ffpyplayer/ffpyplayer-4.5.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) + +inherit distutils-r1 + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/matham/ffpyplayer.git" +else + SRC_URI="https://github.com/matham/ffpyplayer/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~amd64" +fi + +DESCRIPTION="Python bindings for the FFmpeg media player" +HOMEPAGE="https://matham.github.io/ffpyplayer/" +LICENSE="LGPL-3" +SLOT="0" + +DEPEND=" + media-video/ffmpeg[postproc] + media-libs/libsdl2 + media-libs/sdl2-mixer +" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +distutils_enable_tests setup.py