mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
alarm/gst-imx to 0.10.0.r9.g461d306-1
This commit is contained in:
parent
a54a7364e7
commit
7704617ac4
1 changed files with 14 additions and 8 deletions
|
@ -3,23 +3,29 @@
|
||||||
buildarch=4
|
buildarch=4
|
||||||
|
|
||||||
pkgname=gst-imx
|
pkgname=gst-imx
|
||||||
_commit=0a7330439cec5e3bb955828a1fc8b7fe55d0d8e3
|
pkgver=0.10.0.r9.g461d306
|
||||||
pkgver=0.10.0
|
pkgrel=1
|
||||||
pkgrel=6
|
|
||||||
pkgdesc="GStreamer plugins for i.MX platforms"
|
pkgdesc="GStreamer plugins for i.MX platforms"
|
||||||
arch=('armv7h')
|
arch=('armv7h')
|
||||||
license=('LGPL')
|
license=('LGPL')
|
||||||
url="https://github.com/Freescale/gstreamer-imx"
|
url="https://github.com/Freescale/gstreamer-imx"
|
||||||
depends=('gst-plugins-base-libs' 'libfslvpuwrap' 'gpu-viv-bin-mx6q-fb')
|
depends=('gst-plugins-base-libs' 'libfslvpuwrap' 'gpu-viv-bin-mx6q-fb')
|
||||||
makedepends=('python2' 'linux-headers-imx6-fsl')
|
makedepends=('python2' 'linux-headers-imx6-fsl' 'git')
|
||||||
source=("https://github.com/Freescale/gstreamer-imx/archive/${_commit}.tar.gz")
|
source=('git+https://github.com/Freescale/gstreamer-imx.git')
|
||||||
md5sums=('643ceb9d45db45cf58f3f7622d881cbb')
|
md5sums=('SKIP')
|
||||||
|
|
||||||
LDFLAGS+=' -L/opt/fsl/lib'
|
LDFLAGS+=' -L/opt/fsl/lib'
|
||||||
CPPFLAGS+=' -I/opt/fsl/include'
|
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() {
|
build() {
|
||||||
cd gstreamer-imx-${_commit}
|
cd gstreamer-imx
|
||||||
|
|
||||||
export PKG_CONFIG_PATH='/opt/fsl/lib/pkgconfig'
|
export PKG_CONFIG_PATH='/opt/fsl/lib/pkgconfig'
|
||||||
|
|
||||||
|
@ -33,6 +39,6 @@ build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd gstreamer-imx-${_commit}
|
cd gstreamer-imx
|
||||||
python2 waf install --destdir="$pkgdir"
|
python2 waf install --destdir="$pkgdir"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue