PKGBUILDs/alarm/gst-omx-rpi/PKGBUILD

39 lines
1.2 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>
2017-08-02 00:53:59 +00:00
# Contributor: Cyril Lashkevich <notorca@gmail.com>
2013-07-13 17:05:38 +00:00
2022-02-07 02:17:01 +00:00
buildarch=4
2013-07-13 17:05:38 +00:00
2019-05-07 00:18:09 +00:00
pkgname=gst-omx-rpi
pkgver=1.16.0
2017-08-02 00:53:59 +00:00
pkgrel=1
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')
2019-05-07 00:18:09 +00:00
makedepends=('raspberrypi-firmware' 'python2')
2013-07-13 17:05:38 +00:00
options=(!libtool)
2019-05-07 00:18:09 +00:00
source=(http://gstreamer.freedesktop.org/src/gst-omx/gst-omx-$pkgver.tar.xz)
md5sums=('c6f8554513980682099a2a9832250b01')
2013-07-13 17:05:38 +00:00
build() {
2019-05-07 00:18:09 +00:00
cd $srcdir/gst-omx-$pkgver
export LDFLAGS+=' -L/opt/vc/lib'
export 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'
export PKG_CONFIG_PATH="/opt/vc/lib/pkgconfig"
2013-07-13 17:05:38 +00:00
./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() {
2019-05-07 00:18:09 +00:00
cd gst-omx-$pkgver
2013-07-13 17:05:38 +00:00
make DESTDIR="${pkgdir}" install
}