mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
37 lines
1 KiB
Bash
37 lines
1 KiB
Bash
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
buildarch=4
|
|
|
|
pkgname=gst-imx
|
|
_commit=837109543112810d8f50cbadb882b714fab082b4
|
|
pkgver=0.9.7
|
|
pkgrel=4
|
|
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')
|
|
makedepends=('python2' 'linux-headers-imx6-fsl')
|
|
source=("https://github.com/Freescale/gstreamer-imx/archive/${_commit}.tar.gz")
|
|
md5sums=('4212c9ef2a1616d2450d203d59b6fa65')
|
|
|
|
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" \
|
|
--with-package-origin="https://github.com/archlinuxarm/PKGBUILDs/tree/master/alarm/gst-imx" \
|
|
--egl-platform=fb
|
|
|
|
python2 waf build $MAKEFLAGS
|
|
}
|
|
|
|
package() {
|
|
cd gstreamer-imx-${_commit}
|
|
python2 waf install --destdir="$pkgdir"
|
|
}
|