mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
update xbmc-rbp-git to pacman 4.1
This commit is contained in:
parent
9587441216
commit
9df37f5842
1 changed files with 20 additions and 20 deletions
|
@ -1,8 +1,16 @@
|
|||
# Contributor tomasgroth at yahoo.dk
|
||||
# Contributor WarheadsSE <max@warheads.net>
|
||||
_gitname="xbmc"
|
||||
pkgname=xbmc-rbp-git
|
||||
pkgver=20130203
|
||||
pkgrel=2
|
||||
pkgver=13.306.gcdedbd8
|
||||
#xbmc Gotham is version 13
|
||||
_cycle_version=13
|
||||
pkgver() {
|
||||
cd "$srcdir/$_gitname"
|
||||
git describe --tags |sed "s/[^-]*-/$_cycle_version./;s/-/./g"
|
||||
}
|
||||
epoch=1
|
||||
pkgrel=1
|
||||
buildarch=16
|
||||
|
||||
pkgdesc="A software media player and entertainment hub for digital media for the Raspberry Pi"
|
||||
|
@ -22,35 +30,27 @@ provides=("xbmc")
|
|||
conflicts=("xbmc")
|
||||
install="xbmc.install"
|
||||
source=(xbmc-ae04d99-321-texturepacker-hostflags-and-rework.patch
|
||||
xbmc.service)
|
||||
|
||||
xbmc.service
|
||||
"git://github.com/xbmc/xbmc.git")
|
||||
md5sums=('fc6a925a09ba1b13d84daf1121b42ab9'
|
||||
'76fae229ebc3bcfaab7e7f27e4fb51f5')
|
||||
'76fae229ebc3bcfaab7e7f27e4fb51f5'
|
||||
'SKIP')
|
||||
|
||||
_gitroot="git://github.com/xbmc"
|
||||
_gitname="xbmc"
|
||||
|
||||
_prefix=/usr
|
||||
|
||||
build() {
|
||||
cd "${srcdir}"
|
||||
|
||||
msg2 "Connecting to GIT server..."
|
||||
if [[ -d "${_gitname}" ]]; then
|
||||
cd "${_gitname}" && git pull origin
|
||||
msg2 "The local files are updated."
|
||||
else
|
||||
git clone --depth 1 "${_gitroot}/${_gitname}"
|
||||
fi
|
||||
msg2 "GIT checkout done or server timeout."
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/${_gitname}"
|
||||
|
||||
# fix lsb_release dependency
|
||||
sed -i -e 's:/usr/bin/lsb_release -d:cat /etc/arch-release:' xbmc/utils/SystemInfo.cpp
|
||||
|
||||
# Patch to fix TexturePacker build.
|
||||
patch -i ${srcdir}/xbmc-ae04d99-321-texturepacker-hostflags-and-rework.patch -p1
|
||||
git apply ${srcdir}/xbmc-ae04d99-321-texturepacker-hostflags-and-rework.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/${_gitname}"
|
||||
|
||||
# Bootstrapping XBMC
|
||||
./bootstrap
|
||||
|
|
Loading…
Reference in a new issue