mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
alarm/kodi-c1 to 15.2-2
This commit is contained in:
parent
6e7c288a9a
commit
1efd096673
2 changed files with 7 additions and 46 deletions
|
@ -17,9 +17,9 @@ _prefix=/usr
|
|||
|
||||
pkgbase=kodi-c1
|
||||
pkgname=('kodi-c1' 'kodi-c1-eventclients')
|
||||
_commit=e8a3b9d8631b415950faa9919526e738eefe0947
|
||||
_commit=3a59f4b03708451273668022f415123522f634fd
|
||||
pkgver=15.2
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
arch=('armv7h')
|
||||
url="http://kodi.tv"
|
||||
license=('GPL2')
|
||||
|
@ -32,22 +32,13 @@ makedepends=(
|
|||
'python2-pybluez' 'python2-simplejson' 'rtmpdump' 'sdl2' 'sdl_image'
|
||||
'shairplay' 'smbclient' 'swig' 'taglib' 'tinyxml' 'unzip' 'upower' 'yajl' 'zip'
|
||||
)
|
||||
source=("https://github.com/Owersun/xbmc/archive/${_commit}.tar.gz"
|
||||
"https://github.com/xbmc/xbmc/commit/99ce2fd1f0c872b3854dc3678e111dddfb9bcbd4.patch"
|
||||
'kodi_to_15.2_removed_png.patch'
|
||||
"https://raw.githubusercontent.com/xbmc/xbmc/Isengard/media/Splash.png")
|
||||
sha256sums=('49dfb68a4264b68ce92c3f2a35b036ea1803b42be72f7044faa551e6564a9f5c'
|
||||
'9065e6ae2bef4ba0fa9ef4fe3b57d978aef69fd1bd96eea722da80f3522f2c0e'
|
||||
'f6b251f1be432a6328b3869c666ec4fb39165f34544bd7c36fde99abc6f8a993'
|
||||
'37eea35a0ccb0cb509d09c96b059741a9e3c87f222a69c58ae00c604cc520141')
|
||||
|
||||
source=("https://github.com/Owersun/xbmc/archive/${_commit}.tar.gz")
|
||||
sha256sums=('96200ef955a65f9fa87a66b27b4374a2badd89d9a1d20c02f6fdca760f35a3ca')
|
||||
|
||||
prepare() {
|
||||
cd xbmc-${_commit}
|
||||
|
||||
# Bring kodi up to 15.2 release
|
||||
patch -Np1 -i ${srcdir}/99ce2fd1f0c872b3854dc3678e111dddfb9bcbd4.patch
|
||||
patch -Np1 -i ${srcdir}/kodi_to_15.2_removed_png.patch
|
||||
cp -r ${srcdir}/Splash.png ./media/
|
||||
|
||||
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
|
||||
|
@ -56,7 +47,7 @@ prepare() {
|
|||
build() {
|
||||
cd xbmc-${_commit}
|
||||
|
||||
CFLAGS=`echo $CFLAGS | sed -e 's/vfpv3-d16/neon/'` && CXXFLAGS="$CFLAGS"
|
||||
CFLAGS=`echo $CFLAGS | sed -e 's/vfpv3-d16/neon/'`" -D_GLIBCXX_USE_CXX11_ABI=1" && CXXFLAGS="$CFLAGS"
|
||||
LDFLAGS+=" -L/usr/lib/mali-egl -L/usr/lib/aml_libs"
|
||||
|
||||
# Bootstrapping
|
||||
|
|
|
@ -1,30 +0,0 @@
|
|||
diff --git a/configure.ac b/configure.ac
|
||||
index d2cd5b2..686f4a2 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -2,7 +2,7 @@
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ(2.59)
|
||||
-AC_INIT([kodi], [15.1.903], [http://trac.kodi.tv])
|
||||
+AC_INIT([kodi], [15.2.000], [http://trac.kodi.tv])
|
||||
AC_CONFIG_HEADERS([xbmc/config.h])
|
||||
AH_TOP([#pragma once])
|
||||
m4_include([m4/ax_prog_cc_for_build.m4])
|
||||
diff --git a/version.txt b/version.txt
|
||||
index c427834..6bf96a6 100644
|
||||
--- a/version.txt
|
||||
+++ b/version.txt
|
||||
@@ -3,9 +3,9 @@ COMPANY_NAME XBMC-Foundation
|
||||
WEBSITE http://kodi.tv
|
||||
VERSION_MAJOR 15
|
||||
VERSION_MINOR 2
|
||||
-VERSION_TAG RC3
|
||||
-VERSION_CODE 151903
|
||||
-ADDON_API 15.1.903
|
||||
+VERSION_TAG
|
||||
+VERSION_CODE 152000
|
||||
+ADDON_API 15.2.000
|
||||
|
||||
# Notes:
|
||||
# Change AC_INIT in configure.ac
|
Loading…
Reference in a new issue