mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
alarm/gst-omx-rpi to 1.16.0-1
This commit is contained in:
parent
3627475e4d
commit
8f838fd927
1 changed files with 12 additions and 11 deletions
|
@ -4,25 +4,26 @@
|
||||||
|
|
||||||
buildarch=20
|
buildarch=20
|
||||||
|
|
||||||
_pkgname=gst-omx
|
pkgname=gst-omx-rpi
|
||||||
pkgname=${_pkgname}-rpi
|
pkgver=1.16.0
|
||||||
pkgver=1.12.2
|
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Gstreamer OpenMAX IL wrapper Plugin for Raspberry Pi"
|
pkgdesc="Gstreamer OpenMAX IL wrapper Plugin for Raspberry Pi"
|
||||||
arch=('armv6h' 'armv7h')
|
arch=('armv6h' 'armv7h')
|
||||||
license=('LGPL')
|
license=('LGPL')
|
||||||
url="http://gstreamer.freedesktop.org/"
|
url="http://gstreamer.freedesktop.org/"
|
||||||
depends=('gst-plugins-base-libs')
|
depends=('gst-plugins-base-libs')
|
||||||
makedepends=('raspberrypi-firmware-tools' 'python2')
|
makedepends=('raspberrypi-firmware' 'python2')
|
||||||
options=(!libtool)
|
options=(!libtool)
|
||||||
source=(${url}/src/$_pkgname/$_pkgname-$pkgver.tar.xz)
|
source=(http://gstreamer.freedesktop.org/src/gst-omx/gst-omx-$pkgver.tar.xz)
|
||||||
md5sums=('4a1404a20b72e4ab6e826500218ec308')
|
md5sums=('c6f8554513980682099a2a9832250b01')
|
||||||
|
|
||||||
LDFLAGS+=' -L/opt/vc/lib'
|
|
||||||
CPPFLAGS+=' -I/opt/vc/include -I/opt/vc/include/IL -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux'
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $srcdir/$_pkgname-$pkgver
|
cd $srcdir/gst-omx-$pkgver
|
||||||
|
|
||||||
|
export LDFLAGS+=' -L/opt/vc/lib'
|
||||||
|
export CPPFLAGS+=' -I/opt/vc/include -I/opt/vc/include/IL -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux'
|
||||||
|
export PKG_CONFIG_PATH="/opt/vc/lib/pkgconfig"
|
||||||
|
|
||||||
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
|
||||||
--with-package-name="GStreamer OpenMAX IL wrapper Plugin (ArchlinuxARM/RPi)" \
|
--with-package-name="GStreamer OpenMAX IL wrapper Plugin (ArchlinuxARM/RPi)" \
|
||||||
--with-package-origin="http://www.archlinuxarm.org/" \
|
--with-package-origin="http://www.archlinuxarm.org/" \
|
||||||
|
@ -32,6 +33,6 @@ build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd $_pkgname-$pkgver
|
cd gst-omx-$pkgver
|
||||||
make DESTDIR="${pkgdir}" install
|
make DESTDIR="${pkgdir}" install
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue