# Template file for 'omxplayer' pkgname=omxplayer version=20150907 revision=1 short_desc="Commandline OMX player for the Raspberry Pi" maintainer="Juan RP " license="GPL-2" homepage="https://github.com/popcornmix/omxplayer" _commit=4d8ffd13153bfef2966671cb4fb484afeaf792a8 wrksrc="omxplayer-$_commit" distfiles="$homepage/archive/$_commit.tar.gz" checksum=c6326b158010a873f9b5ca8843a4d3d7f1a2a24d3b4b1e43f433d173f8566314 # XXX only rpi only_for_archs="armv6l armv6l-musl armv7l armv7l-musl" build_style=gnu-makefile hostmakedepends="pkg-config" makedepends="rpi-userland-devel pcre-devel boost-devel freetype-devel ffmpeg-devel dbus-devel" depends="freefont-ttf" do_build() { sed -e 's,/usr/share/fonts/truetype/freefont,/usr/share/fonts/TTF,g' -i omxplayer.cpp mkdir -p /opt/vc/lib make CC=$CC XBPS_CROSS_BASE=$XBPS_CROSS_BASE ${makejobs} }