Created
July 29, 2013 15:22
-
-
Save ginobvhc/6105102 to your computer and use it in GitHub Desktop.
omxplayer change repo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Jonathan Hudson <jh+arch@daria.co.uk> | |
pkgname=omxplayer-git | |
pkgver=20130708 | |
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 pcre rtmpdump fbset ffmpeg-compat freetype2) | |
makedepends=(git boost) | |
optdepends=(ttf-freefont) | |
provides=(omxplayer) | |
conflicts=(omxplayer omxplayer-bin) | |
source=(omxplayer.arch Makefile.arch Makefile.include.arch) | |
md5sums=('305f8fedbc4638434475c4a83ee78578' | |
'5a15874072dec90013b8bec7383f1459' | |
'3af60fb0782a32471bba9913c25ce322' | |
) | |
_gitroot="https://github.com/huceke/omxplayer.git" | |
_gitname="omxplayer" | |
build() { | |
cd "$srcdir" | |
msg "Connecting to GIT server...." | |
if [ -d $_gitname ] ; then | |
( cd $_gitname && git pull ) || warning "Git pull failed!" | |
else | |
git clone --depth=1 $_gitroot | |
fi | |
msg "GIT checkout done or server timeout" | |
cd $_gitname | |
# msg "Applying font path patch" | |
# patch -Np1 -i ../omxfont.patch || msg "and I don't care" | |
msg "Starting make..." | |
cp omxplayer omxplayer.dist.sh | |
cp Makefile Makefile.dist | |
cp Makefile.include Makefile.include.dist | |
cp ../Makefile.arch Makefile | |
cp ../Makefile.include.arch Makefile.include | |
cp ../omxplayer.arch omxplayer | |
make | |
} | |
package() { | |
cd "$srcdir/$_gitname" | |
make DESTDIR="$pkgdir" install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment