2014-04-29 03:04:48 +00:00
|
|
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
|
|
|
|
buildarch=4
|
|
|
|
|
|
|
|
pkgname=gst-imx
|
2015-02-02 03:16:15 +00:00
|
|
|
_commit=0a7330439cec5e3bb955828a1fc8b7fe55d0d8e3
|
2014-12-27 15:02:40 +00:00
|
|
|
pkgver=0.10.0
|
2015-02-02 03:16:15 +00:00
|
|
|
pkgrel=6
|
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")
|
2015-02-02 03:16:15 +00:00
|
|
|
md5sums=('643ceb9d45db45cf58f3f7622d881cbb')
|
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" \
|
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() {
|
|
|
|
cd gstreamer-imx-${_commit}
|
|
|
|
python2 waf install --destdir="$pkgdir"
|
|
|
|
}
|