2013-03-24 19:16:15 +01:00
|
|
|
# Template file for 'omxplayer'
|
2014-09-29 09:53:35 +02:00
|
|
|
_githash=6ee9a0a548
|
2014-01-20 11:49:59 +01:00
|
|
|
|
2013-03-24 19:16:15 +01:00
|
|
|
pkgname=omxplayer
|
2014-09-29 09:53:35 +02:00
|
|
|
version=20140929
|
2013-07-15 06:34:30 +02:00
|
|
|
revision=1
|
2013-09-23 09:22:44 +02:00
|
|
|
short_desc="Commandline OMX player for the Raspberry Pi (git ${_githash})"
|
2013-03-24 19:16:15 +01:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
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
|
|
|
|
only_for_archs="armv6l"
|
2013-11-23 10:56:44 +01:00
|
|
|
build_style=gnu-makefile
|
2014-09-29 14:13:08 +02:00
|
|
|
make_build_args="XBPS_CROSS_BASE=$XBPS_CROSS_BASE"
|
2014-07-27 16:05:16 +02:00
|
|
|
hostmakedepends="pkg-config git"
|
2014-09-29 09:53:35 +02:00
|
|
|
makedepends="rpi-firmware>=20130913 pcre-devel boost-devel freetype-devel ffmpeg-devel>=2.4 dbus-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
depends="rpi-firmware>=20130913 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"
|
2013-03-24 19:16:15 +01:00
|
|
|
git clone $url ${pkgname}-${version}
|
2013-09-23 09:22:44 +02:00
|
|
|
cd ${pkgname}-${version}
|
|
|
|
git checkout ${_githash}
|
2013-03-24 19:16:15 +01:00
|
|
|
}
|
|
|
|
|
2013-07-15 06:34:30 +02:00
|
|
|
pre_build() {
|
|
|
|
sed -e 's,/usr/share/fonts/truetype/freefont,/usr/share/fonts/TTF,g' -i omxplayer.cpp
|
|
|
|
mkdir -p /opt/vc/lib
|
2013-03-24 19:16:15 +01:00
|
|
|
}
|