2014-04-29 03:04:48 +00:00
|
|
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
|
|
|
|
buildarch=4
|
|
|
|
|
|
|
|
pkgname=gst-imx
|
2014-09-12 01:01:06 +00:00
|
|
|
_commit=9b9b2d3b105f9ce7bc52a2f110bfcc9d90698633
|
2014-09-05 21:35:21 +00:00
|
|
|
pkgver=0.9.8
|
2014-09-12 01:01:06 +00:00
|
|
|
pkgrel=2
|
2014-04-29 03:04:48 +00:00
|
|
|
pkgdesc="GStreamer plugins for i.MX platforms"
|
|
|
|
arch=('armv7h')
|
|
|
|
license=('LGPL')
|
|
|
|
url="https://github.com/Freescale/gstreamer-imx"
|
|
|
|
depends=('gst-plugins-base-libs' 'libfslvpuwrap' 'gpu-viv-bin-mx6q-fb')
|
2014-05-07 00:18:06 +00:00
|
|
|
makedepends=('python2' 'linux-headers-imx6-fsl')
|
2014-04-29 03:04:48 +00:00
|
|
|
source=("https://github.com/Freescale/gstreamer-imx/archive/${_commit}.tar.gz")
|
2014-09-12 01:01:06 +00:00
|
|
|
md5sums=('f38c776e35e016370f1fff08a6c48c93')
|
2014-04-29 03:04:48 +00:00
|
|
|
|
|
|
|
LDFLAGS+=' -L/opt/fsl/lib'
|
|
|
|
CPPFLAGS+=' -I/opt/fsl/include'
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd gstreamer-imx-${_commit}
|
|
|
|
|
|
|
|
export PKG_CONFIG_PATH='/opt/fsl/lib/pkgconfig'
|
|
|
|
|
|
|
|
python2 waf configure --prefix=/usr \
|
|
|
|
--with-package-name="GStreamer plugins for i.MX platforms" \
|
2014-08-02 16:48:33 +00:00
|
|
|
--with-package-origin="https://github.com/archlinuxarm/PKGBUILDs/tree/master/alarm/gst-imx" \
|
|
|
|
--egl-platform=fb
|
2014-04-29 03:04:48 +00:00
|
|
|
|
|
|
|
python2 waf build $MAKEFLAGS
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd gstreamer-imx-${_commit}
|
|
|
|
python2 waf install --destdir="$pkgdir"
|
|
|
|
}
|