aur/xbmc-rbp-git fix autoconf 1.13 errors

This commit is contained in:
moonman 2013-05-12 08:52:00 -06:00
parent 22b388aa93
commit 69e6365454

View file

@ -2,7 +2,7 @@
# Contributor WarheadsSE <max@warheads.net>
_gitname="xbmc"
pkgname=xbmc-rbp-git
pkgver=13.497.g44f0991
pkgver=13.359.g795a693
#xbmc Gotham is version 13
_cycle_version=13
pkgver() {
@ -10,7 +10,7 @@ pkgver() {
git describe --tags |sed "s/[^-]*-/$_cycle_version./;s/-/./g"
}
epoch=1
pkgrel=2
pkgrel=1
buildarch=16
pkgdesc="A software media player and entertainment hub for digital media for the Raspberry Pi"
@ -29,8 +29,8 @@ optdepends=(
provides=("xbmc")
conflicts=("xbmc")
install="xbmc.install"
source=(xbmc-ae04d99-321-texturepacker-hostflags-and-rework.patch
xbmc.service
source=('xbmc-ae04d99-321-texturepacker-hostflags-and-rework.patch'
'xbmc.service'
"git://github.com/xbmc/xbmc.git")
md5sums=('fc6a925a09ba1b13d84daf1121b42ab9'
'76fae229ebc3bcfaab7e7f27e4fb51f5'
@ -45,9 +45,13 @@ prepare() {
# fix lsb_release dependency
sed -i -e 's:/usr/bin/lsb_release -d:cat /etc/arch-release:' xbmc/utils/SystemInfo.cpp
#fix autoconf 1.13 deprecated macros
sed -i 's/^AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' lib/libdvd/libdvdcss/configure.ac
# Patch to fix TexturePacker build.
git apply ${srcdir}/xbmc-ae04d99-321-texturepacker-hostflags-and-rework.patch
# fix samba4 libsmbclient.h location
sed -e 's/\(#include \)<libsmbclient\.h>/\1<samba-4.0\/libsmbclient\.h>/g' \
-i xbmc/filesystem/SmbFile.cpp \