2013-11-16 18:40:58 +00:00
|
|
|
# Maintainer: Huulivoide <gmail.com: jesse.jaara>
|
|
|
|
# Contributor: Jonathan Hudson <daria.co.uk: jh+arch>
|
2013-06-23 17:46:15 +00:00
|
|
|
|
2014-01-31 03:41:22 +00:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2013-11-16 19:01:58 +00:00
|
|
|
|
2013-06-23 17:35:56 +00:00
|
|
|
pkgname=omxplayer-git
|
2014-06-21 02:55:50 +00:00
|
|
|
pkgver=340.f322182
|
2013-06-23 17:35:56 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="omxplayer is a command line media player for the RaspberryPi"
|
|
|
|
arch=('arm' 'armv6h')
|
2013-08-13 01:17:55 +00:00
|
|
|
url="https://github.com/popcornmix/omxplayer"
|
2013-06-23 17:35:56 +00:00
|
|
|
license=(GPL2)
|
2014-01-31 03:41:22 +00:00
|
|
|
depends=('ffmpeg' 'raspberrypi-firmware-tools' 'fbset')
|
|
|
|
makedepends=('git' 'boost')
|
|
|
|
optdepends=('ttf-freefont')
|
2013-06-23 17:35:56 +00:00
|
|
|
provides=(omxplayer)
|
2014-01-31 03:41:22 +00:00
|
|
|
conflicts=('omxplayer' 'omxplayer-bin')
|
2013-08-13 01:17:55 +00:00
|
|
|
source=(git://github.com/popcornmix/omxplayer.git
|
2014-01-31 03:41:22 +00:00
|
|
|
Makefile.arch Makefile.include.arch)
|
2013-08-13 01:17:55 +00:00
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd omxplayer
|
|
|
|
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
|
|
|
|
}
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd "${srcdir}/omxplayer"
|
2013-06-23 17:35:56 +00:00
|
|
|
|
|
|
|
cp ../Makefile.arch Makefile
|
|
|
|
cp ../Makefile.include.arch Makefile.include
|
2014-01-31 03:41:22 +00:00
|
|
|
|
|
|
|
sed 's|truetype/freefont|TTF|g' -i omxplayer.cpp
|
2013-08-13 01:17:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/omxplayer"
|
|
|
|
|
2013-06-23 17:35:56 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2013-08-13 01:17:55 +00:00
|
|
|
cd "${srcdir}/omxplayer"
|
|
|
|
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2013-06-23 17:35:56 +00:00
|
|
|
}
|
2014-01-31 03:41:22 +00:00
|
|
|
|
|
|
|
md5sums=('SKIP'
|
|
|
|
'462e40e8da2e2b10cb32138e7885d285'
|
|
|
|
'a8635442d02665944c04c18606453a04')
|