mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
added alarm/gst-imx
This commit is contained in:
parent
641d0c7ba7
commit
419c173b69
1 changed files with 36 additions and 0 deletions
36
alarm/gst-imx/PKGBUILD
Normal file
36
alarm/gst-imx/PKGBUILD
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
|
||||
buildarch=4
|
||||
|
||||
pkgname=gst-imx
|
||||
_commit=13ac91553c475ec3724870ec6c6540b3df758760
|
||||
pkgver=0.9.5
|
||||
pkgrel=1
|
||||
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=('3f623b52b288d5d92041f7cf7b6d913a')
|
||||
|
||||
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"
|
||||
|
||||
python2 waf build $MAKEFLAGS
|
||||
}
|
||||
|
||||
package() {
|
||||
cd gstreamer-imx-${_commit}
|
||||
python2 waf install --destdir="$pkgdir"
|
||||
}
|
Loading…
Reference in a new issue