aur/omxplayer-git to 285.1091db2-1

This commit is contained in:
Kevin Mihelich 2014-01-31 03:41:22 +00:00
parent 4b449965bd
commit 087d55ec7a
2 changed files with 17 additions and 32 deletions

View file

@ -1,26 +1,26 @@
# Maintainer: Huulivoide <gmail.com: jesse.jaara>
# Contributor: Jonathan Hudson <daria.co.uk: jh+arch>
buildarch=18
# If you are building this on the original 256MB Raspberry Pi
# you need to enable some swap (100MB ?) or the build will fail
# on OMXPlayerSubtitles.cpp
pkgname=omxplayer-git
pkgver=284.583f016
pkgver=285.1091db2
pkgrel=1
pkgdesc="omxplayer is a command line media player for the RaspberryPi"
arch=('arm' 'armv6h')
url="https://github.com/popcornmix/omxplayer"
license=(GPL2)
depends=(ffmpeg raspberrypi-firmware-tools fbset dbus)
makedepends=(git boost)
optdepends=(ttf-freefont)
depends=('ffmpeg' 'raspberrypi-firmware-tools' 'fbset')
makedepends=('git' 'boost')
optdepends=('ttf-freefont')
provides=(omxplayer)
conflicts=(omxplayer omxplayer-bin)
conflicts=('omxplayer' 'omxplayer-bin')
source=(git://github.com/popcornmix/omxplayer.git
omxplayer.arch Makefile.arch Makefile.include.arch)
md5sums=('SKIP'
'b256bd3a81a974543a0afc62b62e5c28'
'462e40e8da2e2b10cb32138e7885d285'
'a8635442d02665944c04c18606453a04')
Makefile.arch Makefile.include.arch)
pkgver() {
cd omxplayer
@ -32,7 +32,8 @@ prepare() {
cp ../Makefile.arch Makefile
cp ../Makefile.include.arch Makefile.include
cp ../omxplayer.arch omxplayer
sed 's|truetype/freefont|TTF|g' -i omxplayer.cpp
}
build() {
@ -46,3 +47,7 @@ package() {
make DESTDIR="${pkgdir}" install
}
md5sums=('SKIP'
'462e40e8da2e2b10cb32138e7885d285'
'a8635442d02665944c04c18606453a04')

View file

@ -1,20 +0,0 @@
#!/bin/bash
[ -e /usr/bin/omxplayer.bin ] && OMXPLAYER="/usr/bin/omxplayer.bin" || exit 255
FNTOPT=
if [ -e /usr/share/fonts/TTF/FreeSans.ttf ]; then
FNTOPT=$FNTOPT" --font /usr/share/fonts/TTF/FreeSans.ttf"
fi
if [ -e /usr/share/fonts/TTF/FreeSansOblique.ttf ]; then
FNTOPT=$FNTOPT" --italic-font /usr/share/fonts/TTF/FreeSansOblique.ttf"
fi
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
eval $(dbus-launch --sh-syntax)
fi
[ $# = 0 ] && exec $OMXPLAYER --help || \
[ "$1" = '-h' -o "$1" = '--help' ] && exec $OMXPLAYER --help || \
clear ; exec $OMXPLAYER$FNTOPT "$@" #>/dev/null 2>&1