mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
49 lines
1.1 KiB
Bash
49 lines
1.1 KiB
Bash
# Maintainer: Jonathan Hudson <jh+arch@daria.co.uk>
|
|
# Contributor: Huulivoide <jesse.jaara@gmail.com>
|
|
|
|
buildarch=16
|
|
|
|
pkgname=omxplayer-git
|
|
pkgver=20130803
|
|
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-compat raspberrypi-firmware-tools fbset)
|
|
makedepends=(git boost)
|
|
optdepends=(ttf-freefont)
|
|
provides=(omxplayer)
|
|
conflicts=(omxplayer omxplayer-bin)
|
|
source=(git://github.com/popcornmix/omxplayer.git
|
|
omxplayer.arch Makefile.arch Makefile.include.arch)
|
|
|
|
pkgver() {
|
|
cd omxplayer
|
|
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
|
|
}
|
|
|
|
prepare() {
|
|
cd "${srcdir}/omxplayer"
|
|
|
|
cp ../Makefile.arch Makefile
|
|
cp ../Makefile.include.arch Makefile.include
|
|
cp ../omxplayer.arch omxplayer
|
|
}
|
|
|
|
build() {
|
|
cd "${srcdir}/omxplayer"
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/omxplayer"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|
|
md5sums=('SKIP'
|
|
'305f8fedbc4638434475c4a83ee78578'
|
|
'cfd349a05cd8c456c6df25eec3fa6d86'
|
|
'ef4586f5e8b042e4940c0e43f3185bf1')
|