Add python-av-bin package

This commit is contained in:
2025-02-03 16:10:28 -07:00
parent 64d773516d
commit 8f4a8e68ad
2 changed files with 42 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
pkgbase = python-av-bin
pkgdesc = Pythonic bindings for FFmpeg's libraries (binary package)
pkgver = 14.1.0
pkgrel = 1
url = https://pyav.basswood-io.com/docs/stable/
arch = x86_64
license = BSD-3-Clause
makedepends = python-installer
depends = ffmpeg
depends = python
depends = python-numpy
depends = python-pillow
provides = python-av
conflicts = python-av
conflicts = python-av-git
source = https://files.pythonhosted.org/packages/cp313/a/av/av-14.1.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
sha256sums = 222303728d59edfbc241d7e944d5479d3bdfe98d33574a5e60aa7a23d54568fa
pkgname = python-av-bin
+23
View File
@@ -0,0 +1,23 @@
# Maintainer: restitux <restitux@ohea.xyz>
_pkgname=av
pkgname=python-$_pkgname-bin
pkgver=14.1.0
pkgrel=1
pkgdesc="Pythonic bindings for FFmpeg's libraries (binary package)"
arch=('x86_64')
url="https://pyav.basswood-io.com/docs/stable/"
license=('BSD-3-Clause')
provides=('python-av')
conflicts=('python-av' 'python-av-git')
depends=('ffmpeg' 'python' 'python-numpy' 'python-pillow')
makedepends=('python-installer')
_py=cp313
_wheel_name=${_pkgname//-/_}-$pkgver-$_py-${_py}-manylinux_2_17_$arch.manylinux2014_$arch.whl
source=(https://files.pythonhosted.org/packages/$_py/${_pkgname::1}/$_pkgname/$_wheel_name)
sha256sums=('222303728d59edfbc241d7e944d5479d3bdfe98d33574a5e60aa7a23d54568fa')
package() {
python -m installer --destdir="$pkgdir" $_wheel_name
}