PKGBUILDs/alarm/gst-omx-rpi/PKGBUILD

37 lines
1 KiB
Bash
Raw Normal View History

2014-08-31 17:53:52 +00:00
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
2013-07-13 17:05:38 +00:00
# Contributor: Kiril Zyapkov <kiril.zyapkov@gmail.com>
2015-02-05 00:29:43 +00:00
buildarch=20
2013-07-13 17:05:38 +00:00
_pkgname=gst-omx
pkgname=${_pkgname}-rpi
2014-08-31 17:53:52 +00:00
pkgver=1.2.0
2016-02-11 01:48:16 +00:00
pkgrel=3
2013-07-13 17:05:38 +00:00
pkgdesc="Gstreamer OpenMAX IL wrapper Plugin for Raspberry Pi"
2015-03-24 09:44:48 +00:00
arch=('armv6h' 'armv7h')
2013-07-13 17:05:38 +00:00
license=('LGPL')
url="http://gstreamer.freedesktop.org/"
depends=('gst-plugins-base-libs')
2013-07-14 10:44:01 +00:00
makedepends=('raspberrypi-firmware-tools' 'python2')
2013-07-13 17:05:38 +00:00
options=(!libtool)
source=(${url}/src/$_pkgname/$_pkgname-$pkgver.tar.xz)
2014-08-31 17:53:52 +00:00
md5sums=('d24e8c0153c35dfefee3e26b1c2c35f8')
2013-07-13 17:05:38 +00:00
2014-08-31 17:53:52 +00:00
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'
2013-07-13 17:05:38 +00:00
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
}