omxplayer: update to 20150526.

This commit is contained in:
Juan RP 2015-05-26 11:09:21 +02:00
parent 1cef683c9b
commit 2984d64ee2
1 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'omxplayer'
pkgname=omxplayer
version=20150406
version=20150526
revision=1
short_desc="Commandline OMX player for the Raspberry Pi (git ${_gitshort})"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
@ -8,9 +8,8 @@ license="GPL-2"
homepage="https://github.com/popcornmix/omxplayer"
# XXX only rpi
only_for_archs="armv6l armv7l"
only_for_archs="armv6l armv6l-musl armv7l armv7l-musl"
build_style=gnu-makefile
make_build_args="XBPS_CROSS_BASE=$XBPS_CROSS_BASE"
hostmakedepends="pkg-config git"
makedepends="rpi-firmware pcre-devel boost-devel freetype-devel ffmpeg-devel dbus-devel"
depends="freefont-ttf"
@ -19,7 +18,8 @@ do_fetch() {
local url="git://github.com/popcornmix/omxplayer.git"
git clone $url ${wrksrc}
}
pre_build() {
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}
}