initial import
This commit is contained in:
25
gst-python/PKGBUILD
Normal file
25
gst-python/PKGBUILD
Normal file
@@ -0,0 +1,25 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=gst-python
|
||||
pkgver=1.18.3
|
||||
pkgrel=1
|
||||
pkgdesc='Multimedia graph framework - python bindings'
|
||||
url='https://gstreamer.freedesktop.org/'
|
||||
arch=('i686' 'x86_64')
|
||||
license=('LGPL-2.1')
|
||||
depends=('python-gobject' 'gst-plugins-base-libs')
|
||||
makedepends=('meson')
|
||||
source=("https://gstreamer.freedesktop.org/src/${pkgname}/${pkgname}-${pkgver}.tar.xz")
|
||||
sha512sums=('b24d85cfe6b852957e9d7a80652652b967b6bd024ac8652cc8c0d1fa5d463fb7b0ab5d48d796895c26684fd3c0bd4722a1bcaca96333ee71e572cd4b071c5f9f')
|
||||
|
||||
build() {
|
||||
hyperbola-meson ${pkgname}-${pkgver} build
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" meson install -C build
|
||||
python -m compileall -d /usr/lib "$pkgdir/usr/lib"
|
||||
python -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
|
||||
install -Dm644 "${srcdir}/$pkgname-$pkgver/COPYING" -t "${pkgdir}/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user