PKGBUILDs/aur/omxplayer-git/PKGBUILD

53 lines
1.2 KiB
Bash
Raw Normal View History

2013-06-23 17:35:56 +00:00
# Maintainer: Jonathan Hudson <jh+arch@daria.co.uk>
2013-08-13 01:17:55 +00:00
# Contributor: Huulivoide <jesse.jaara@gmail.com>
2013-06-23 17:35:56 +00:00
buildarch=16
2013-06-23 17:35:56 +00:00
pkgname=omxplayer-git
2013-08-13 01:17:55 +00:00
pkgver=20130803
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)
2013-08-13 01:49:03 +00:00
depends=(ffmpeg raspberrypi-firmware-tools fbset)
2013-06-23 17:35:56 +00:00
makedepends=(git boost)
optdepends=(ttf-freefont)
provides=(omxplayer)
conflicts=(omxplayer omxplayer-bin)
2013-08-13 01:17:55 +00:00
source=(git://github.com/popcornmix/omxplayer.git
2013-08-13 01:49:03 +00:00
omxplayer.arch Makefile.arch Makefile.include.arch
gen_version.patch)
2013-08-13 01:17:55 +00:00
pkgver() {
cd omxplayer
2013-08-13 01:49:03 +00:00
patch -p1 -i ../gen_version.patch
2013-08-13 01:17:55 +00:00
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
cp ../omxplayer.arch omxplayer
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
}
2013-08-13 01:17:55 +00:00
md5sums=('SKIP'
'305f8fedbc4638434475c4a83ee78578'
'cfd349a05cd8c456c6df25eec3fa6d86'
2013-08-13 01:49:03 +00:00
'ef4586f5e8b042e4940c0e43f3185bf1'
'da0a86d33865c0f93dbf226ec397f488')