2014-04-29 03:04:48 +00:00
|
|
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
|
|
|
|
buildarch=4
|
|
|
|
|
|
|
|
pkgname=gst-imx
|
2015-07-14 00:07:36 +00:00
|
|
|
pkgver=0.10.2.r6.gfa39070
|
2015-02-11 18:27:16 +00:00
|
|
|
pkgrel=1
|
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')
|
2015-02-11 18:27:16 +00:00
|
|
|
makedepends=('python2' 'linux-headers-imx6-fsl' 'git')
|
|
|
|
source=('git+https://github.com/Freescale/gstreamer-imx.git')
|
|
|
|
md5sums=('SKIP')
|
2014-04-29 03:04:48 +00:00
|
|
|
|
|
|
|
LDFLAGS+=' -L/opt/fsl/lib'
|
|
|
|
CPPFLAGS+=' -I/opt/fsl/include'
|
|
|
|
|
2015-02-11 18:27:16 +00:00
|
|
|
pkgver() {
|
|
|
|
cd gstreamer-imx
|
|
|
|
( set -o pipefail
|
|
|
|
git describe --long --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
2014-04-29 03:04:48 +00:00
|
|
|
build() {
|
2015-02-11 18:27:16 +00:00
|
|
|
cd gstreamer-imx
|
2014-04-29 03:04:48 +00:00
|
|
|
|
|
|
|
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" \
|
2014-09-22 13:56:07 +00:00
|
|
|
--egl-platform=fb \
|
|
|
|
--kernel-headers=/usr/include
|
2014-04-29 03:04:48 +00:00
|
|
|
|
|
|
|
python2 waf build $MAKEFLAGS
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2015-02-11 18:27:16 +00:00
|
|
|
cd gstreamer-imx
|
2014-04-29 03:04:48 +00:00
|
|
|
python2 waf install --destdir="$pkgdir"
|
|
|
|
}
|