From 7704617ac494d9b7ca973597ce85d0b6cf1883e7 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Wed, 11 Feb 2015 18:27:16 +0000 Subject: [PATCH] alarm/gst-imx to 0.10.0.r9.g461d306-1 --- alarm/gst-imx/PKGBUILD | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/alarm/gst-imx/PKGBUILD b/alarm/gst-imx/PKGBUILD index 70c22eea9..5f7cbb359 100644 --- a/alarm/gst-imx/PKGBUILD +++ b/alarm/gst-imx/PKGBUILD @@ -3,23 +3,29 @@ buildarch=4 pkgname=gst-imx -_commit=0a7330439cec5e3bb955828a1fc8b7fe55d0d8e3 -pkgver=0.10.0 -pkgrel=6 +pkgver=0.10.0.r9.g461d306 +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=('643ceb9d45db45cf58f3f7622d881cbb') +makedepends=('python2' 'linux-headers-imx6-fsl' 'git') +source=('git+https://github.com/Freescale/gstreamer-imx.git') +md5sums=('SKIP') LDFLAGS+=' -L/opt/fsl/lib' CPPFLAGS+=' -I/opt/fsl/include' +pkgver() { + cd gstreamer-imx + ( set -o pipefail + git describe --long --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + ) +} + build() { - cd gstreamer-imx-${_commit} + cd gstreamer-imx export PKG_CONFIG_PATH='/opt/fsl/lib/pkgconfig' @@ -33,6 +39,6 @@ build() { } package() { - cd gstreamer-imx-${_commit} + cd gstreamer-imx python2 waf install --destdir="$pkgdir" }