5e57ac7b38
- Make omxplayer.bin the default binary - Rename omxplayer (the script) to omxplayer-dbus This way by default omxplayer does not need dbus, and somebody that need it can still use it with the omxplayer-dbus script.
25 lines
752 B
Text
25 lines
752 B
Text
# Template file for 'omxplayer'
|
|
pkgname=omxplayer
|
|
version=20150209
|
|
revision=1
|
|
short_desc="Commandline OMX player for the Raspberry Pi (git ${_gitshort})"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="GPL-2"
|
|
homepage="https://github.com/popcornmix/omxplayer"
|
|
|
|
# XXX only rpi
|
|
only_for_archs="armv6l armv7l"
|
|
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"
|
|
|
|
do_fetch() {
|
|
local url="git://github.com/popcornmix/omxplayer.git"
|
|
git clone $url ${wrksrc}
|
|
}
|
|
pre_build() {
|
|
sed -e 's,/usr/share/fonts/truetype/freefont,/usr/share/fonts/TTF,g' -i omxplayer.cpp
|
|
mkdir -p /opt/vc/lib
|
|
}
|