27 lines
930 B
Bash
27 lines
930 B
Bash
# Template file for 'gst-omx'
|
|
pkgname=gst-omx
|
|
version=1.10.1
|
|
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)"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="http://gstreamer.freedesktop.org"
|
|
distfiles="${homepage}/src/${pkgname}/${pkgname}-${version}.tar.xz"
|
|
checksum=1b07b9ceb4552c0911af1e3b97987e3314c601eacfbc09f1cca8632e98581231
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
i686*|x86_64*|aarch64*)
|
|
# XXX bellagio target
|
|
configure_args=" --with-omx-target=generic"
|
|
;;
|
|
armv[67]*)
|
|
configure_args=" --with-omx-target=rpi"
|
|
makedepends+=" rpi-firmware rpi-userland-devel"
|
|
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
|