mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
alarm/kodi-c1 to 15.2-1
This commit is contained in:
parent
c12404471a
commit
c98f3b665b
2 changed files with 51 additions and 7 deletions
|
@ -8,15 +8,18 @@
|
|||
# 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
|
||||
|
||||
pkgbase=kodi-c1
|
||||
pkgname=('kodi-c1' 'kodi-c1-eventclients')
|
||||
_commit=bd5505a1bf162d15b31f67584bfeef3d5b30b1a1
|
||||
pkgver=15.alpha2
|
||||
pkgrel=2
|
||||
_commit=e8a3b9d8631b415950faa9919526e738eefe0947
|
||||
pkgver=15.2
|
||||
pkgrel=1
|
||||
arch=('armv7h')
|
||||
url="http://kodi.tv"
|
||||
license=('GPL2')
|
||||
|
@ -29,12 +32,22 @@ makedepends=(
|
|||
'python2-pybluez' 'python2-simplejson' 'rtmpdump' 'sdl2' 'sdl_image'
|
||||
'shairplay' 'smbclient' 'swig' 'taglib' 'tinyxml' 'unzip' 'upower' 'yajl' 'zip'
|
||||
)
|
||||
source=("https://github.com/mdrjr/xbmc/archive/${_commit}.tar.gz")
|
||||
sha256sums=('f7916ec6da57d6c17fb6b64619b6d820d230c79221c5656089626bfe44762d5c')
|
||||
|
||||
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')
|
||||
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
|
||||
|
@ -63,6 +76,7 @@ build() {
|
|||
--enable-external-libraries \
|
||||
--with-lirc-device=/run/lirc/lircd \
|
||||
--disable-vaapi \
|
||||
--disable-vdpau \
|
||||
--disable-static --enable-shared \
|
||||
--disable-rsxs \
|
||||
--enable-codec=amcodec
|
||||
|
@ -123,7 +137,7 @@ package_kodi-c1-eventclients() {
|
|||
conflicts=('kodi-eventclients')
|
||||
depends=('cwiid')
|
||||
|
||||
cd xbmc-${_commit}
|
||||
cd ${srcdir}/xbmc-${_commit}
|
||||
|
||||
make DESTDIR="$pkgdir" eventclients WII_EXTRA_OPTS=-DCWIID_OLD
|
||||
|
||||
|
|
30
alarm/kodi-c1/kodi_to_15.2_removed_png.patch
Normal file
30
alarm/kodi-c1/kodi_to_15.2_removed_png.patch
Normal file
|
@ -0,0 +1,30 @@
|
|||
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