alarm/kodi-c1 to 16.1-2

This commit is contained in:
moonman 2016-05-07 09:14:42 +00:00
parent e7dc565d46
commit 2c0ed130f6
2 changed files with 1441 additions and 7 deletions

View file

@ -1,4 +1,5 @@
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
# Maintainer: Oleg Rakhmanov <oleg@archlinuxarm.org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: BlackIkeEagle < ike DOT devolder AT gmail DOT com >
# Contributor: Brad Fanella <bradfanella@archlinux.us>
@ -8,9 +9,6 @@
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Maxime Gauduin <alucryd@gmail.com>
# Prevent autobuild till GCC5.2 issues get resolved.
noautobuild=1
buildarch=4
_prefix=/usr
@ -19,7 +17,7 @@ pkgbase=kodi-c1
pkgname=('kodi-c1' 'kodi-c1-eventclients')
_commit=cdb7704d1174395f399657fd3f562fe236516b9f
pkgver=16.1
pkgrel=1
pkgrel=2
arch=('armv7h')
url="http://kodi.tv"
license=('GPL2')
@ -34,8 +32,10 @@ makedepends=(
'mesa' 'libdcadec.so' 'libcrossguid'
)
source=("https://github.com/Owersun/xbmc/archive/${_commit}.tar.gz")
sha256sums=('a56165257af0ee6899317093c412603b01967068536ae200dfcab0b74bdc501d')
source=("https://github.com/Owersun/xbmc/archive/${_commit}.tar.gz"
'gcc6_fix.patch')
sha256sums=('a56165257af0ee6899317093c412603b01967068536ae200dfcab0b74bdc501d'
'b0fe75d10b2678894d1dec48f3258c0bec2a4a170f33d76a9a8334bb1969b18f')
prepare() {
cd xbmc-${_commit}
@ -43,12 +43,14 @@ prepare() {
find -type f -name *.py -exec sed 's|^#!.*python$|#!/usr/bin/python2|' -i "{}" +
sed 's|^#!.*python$|#!/usr/bin/python2|' -i tools/depends/native/rpl-native/rpl
sed 's/python/python2/' -i tools/Linux/kodi.sh.in
patch -Np1 -i ${srcdir}/gcc6_fix.patch
}
build() {
cd xbmc-${_commit}
CFLAGS=`echo $CFLAGS | sed -e 's/vfpv3-d16/neon/'`" -D_GLIBCXX_USE_CXX11_ABI=1" && CXXFLAGS="$CFLAGS"
CFLAGS=`echo $CFLAGS | sed -e 's/vfpv3-d16/neon/'` && CXXFLAGS="$CFLAGS"
LDFLAGS+=" -L/usr/lib/mali-egl -L/usr/lib/aml_libs"
# Bootstrapping

1432
alarm/kodi-c1/gcc6_fix.patch Normal file

File diff suppressed because it is too large Load diff