2015-03-09 15:49:49 +01:00
|
|
|
# Template file for 'gst-omx'
|
|
|
|
pkgname=gst-omx
|
|
|
|
version=1.2.0
|
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
|
|
|
hostmakedepends="pkg-config python glib-devel"
|
|
|
|
makedepends="gst-plugins-base1-devel"
|
|
|
|
short_desc="GStreamer OpenMAX IL wrapper plugin (1.x)"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2015-03-09 15:49:49 +01:00
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://gstreamer.freedesktop.org"
|
|
|
|
distfiles="${homepage}/src/${pkgname}/${pkgname}-${version}.tar.xz"
|
|
|
|
checksum=0b4874961e6488ad9e5808114bd486ea981c540907262caab1419355fd82d745
|
|
|
|
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
i686*|x86_64*)
|
|
|
|
# XXX bellagio target
|
|
|
|
configure_args=" --with-omx-target=generic"
|
|
|
|
;;
|
|
|
|
armv[67]*)
|
|
|
|
configure_args=" --with-omx-target=rpi"
|
|
|
|
makedepends+=" rpi-firmware"
|
|
|
|
CFLAGS+=" -I${XBPS_CROSS_BASE}/opt/vc/include/IL"
|
|
|
|
CFLAGS+=" -I${XBPS_CROSS_BASE}/opt/vc/include/interface/vcos/pthreads"
|
|
|
|
CFLAGS+=" -I${XBPS_CROSS_BASE}/opt/vc/include/interface/vmcs_host/linux"
|
|
|
|
;;
|
|
|
|
esac
|