2013-03-24 19:16:15 +01:00
|
|
|
# Template file for 'omxplayer'
|
|
|
|
pkgname=omxplayer
|
2015-05-26 11:09:21 +02:00
|
|
|
version=20150526
|
2013-07-15 06:34:30 +02:00
|
|
|
revision=1
|
2014-12-10 13:32:39 +01:00
|
|
|
short_desc="Commandline OMX player for the Raspberry Pi (git ${_gitshort})"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2013-03-24 19:16:15 +01:00
|
|
|
license="GPL-2"
|
2014-07-13 10:14:03 +02:00
|
|
|
homepage="https://github.com/popcornmix/omxplayer"
|
2013-03-24 19:16:15 +01:00
|
|
|
|
|
|
|
# XXX only rpi
|
2015-05-26 11:09:21 +02:00
|
|
|
only_for_archs="armv6l armv6l-musl armv7l armv7l-musl"
|
2013-11-23 10:56:44 +01:00
|
|
|
build_style=gnu-makefile
|
2014-07-27 16:05:16 +02:00
|
|
|
hostmakedepends="pkg-config git"
|
2015-03-09 21:33:57 +01:00
|
|
|
makedepends="rpi-firmware pcre-devel boost-devel freetype-devel ffmpeg-devel dbus-devel"
|
2014-12-10 13:32:39 +01:00
|
|
|
depends="freefont-ttf"
|
2013-03-24 19:16:15 +01:00
|
|
|
|
|
|
|
do_fetch() {
|
2013-07-15 06:34:30 +02:00
|
|
|
local url="git://github.com/popcornmix/omxplayer.git"
|
2015-03-09 21:33:57 +01:00
|
|
|
git clone $url ${wrksrc}
|
2013-03-24 19:16:15 +01:00
|
|
|
}
|
2015-05-26 11:09:21 +02:00
|
|
|
do_build() {
|
2013-07-15 06:34:30 +02:00
|
|
|
sed -e 's,/usr/share/fonts/truetype/freefont,/usr/share/fonts/TTF,g' -i omxplayer.cpp
|
|
|
|
mkdir -p /opt/vc/lib
|
2015-05-26 11:09:21 +02:00
|
|
|
make CC=$CC XBPS_CROSS_BASE=$XBPS_CROSS_BASE ${makejobs}
|
2013-03-24 19:16:15 +01:00
|
|
|
}
|