mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
add extra/gst-omx-rpi
This commit is contained in:
parent
fb25c3a2cd
commit
319d8403f8
1 changed files with 35 additions and 0 deletions
35
alarm/gst-omx-rpi/PKGBUILD
Normal file
35
alarm/gst-omx-rpi/PKGBUILD
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
# Contributor: Kiril Zyapkov <kiril.zyapkov@gmail.com>
|
||||||
|
|
||||||
|
buildarch=16
|
||||||
|
|
||||||
|
_pkgname=gst-omx
|
||||||
|
pkgname=${_pkgname}-rpi
|
||||||
|
pkgver=1.0.0
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Gstreamer OpenMAX IL wrapper Plugin for Raspberry Pi"
|
||||||
|
arch=('armv6h')
|
||||||
|
license=('LGPL')
|
||||||
|
url="http://gstreamer.freedesktop.org/"
|
||||||
|
depends=('gst-plugins-base-libs')
|
||||||
|
makedepends=('raspberrypi-firmware-tools')
|
||||||
|
options=(!libtool)
|
||||||
|
source=(${url}/src/$_pkgname/$_pkgname-$pkgver.tar.xz)
|
||||||
|
md5sums=('bb34b5742223267298bcffc209104a92')
|
||||||
|
|
||||||
|
LDFLAGS='-L/opt/vc/lib'
|
||||||
|
CPPFLAGS='-I/opt/vc/include -I/opt/vc/include/IL -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux'
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $srcdir/$_pkgname-$pkgver
|
||||||
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
|
||||||
|
--with-package-name="GStreamer OpenMAX IL wrapper Plugin (ArchlinuxARM/RPi)" \
|
||||||
|
--with-package-origin="http://www.archlinuxarm.org/" \
|
||||||
|
--with-omx-target=rpi
|
||||||
|
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $_pkgname-$pkgver
|
||||||
|
make DESTDIR="${pkgdir}" install
|
||||||
|
}
|
Loading…
Reference in a new issue