2014-08-10 22:08:37 +00:00
|
|
|
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# Contributor: Huulivoide <gmail.com: jesse.jaara>
|
|
|
|
# Contributor: Jonathan Hudson <daria.co.uk: jh+arch>
|
2014-01-31 03:41:22 +00:00
|
|
|
|
2015-02-05 00:27:08 +00:00
|
|
|
buildarch=20
|
2013-11-16 19:01:58 +00:00
|
|
|
|
2013-06-23 17:35:56 +00:00
|
|
|
pkgname=omxplayer-git
|
2018-11-11 00:28:30 +00:00
|
|
|
pkgver=517.a70e9b4
|
2017-01-25 01:34:40 +00:00
|
|
|
pkgrel=1
|
2013-06-23 17:35:56 +00:00
|
|
|
pkgdesc="omxplayer is a command line media player for the RaspberryPi"
|
2015-03-14 01:08:17 +00:00
|
|
|
arch=('armv6h' 'armv7h')
|
2013-08-13 01:17:55 +00:00
|
|
|
url="https://github.com/popcornmix/omxplayer"
|
2013-06-23 17:35:56 +00:00
|
|
|
license=(GPL2)
|
2016-12-11 23:22:17 +00:00
|
|
|
depends=('ffmpeg' 'raspberrypi-firmware' 'fbset')
|
2014-01-31 03:41:22 +00:00
|
|
|
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')
|
2014-08-10 22:08:37 +00:00
|
|
|
source=('git://github.com/popcornmix/omxplayer.git'
|
2018-10-04 12:57:36 +00:00
|
|
|
'0001-alarm-fixes.patch'
|
|
|
|
'0002-fix-keyboard-input.patch')
|
2014-08-10 22:08:37 +00:00
|
|
|
md5sums=('SKIP'
|
2018-10-04 12:57:36 +00:00
|
|
|
'fe4efaa1cf49570a65c51cef319fdf8b'
|
|
|
|
'28cb317db75a866b22484ac16eb3152a')
|
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
|
|
|
|
2014-09-24 14:53:51 +00:00
|
|
|
git apply ../0001-alarm-fixes.patch
|
2018-10-04 12:57:36 +00:00
|
|
|
git apply ../0002-fix-keyboard-input.patch
|
2013-08-13 01:17:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/omxplayer"
|
|
|
|
|
2016-02-18 01:13:08 +00:00
|
|
|
[[ $CARCH == "armv7h" ]] && CFLAGS=`echo $CFLAGS | sed -e 's/vfpv3-d16/neon/'` && CXXFLAGS="$CFLAGS"
|
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
|
|
|
}
|