summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgraysky2021-01-15 04:47:22 -0500
committergraysky2021-01-15 04:47:26 -0500
commit19bdda28e7c97d0e64fcc8a83159b9c547635673 (patch)
tree85f99aa1dcd803c3afd5dd38ade3269ca0f671e8
parentd304d05c413614f367e72b731597b1473b96dadf (diff)
downloadaur-19bdda28e7c97d0e64fcc8a83159b9c547635673.tar.gz
Update to r56939.6995aad7c37-1
Build with native LTO enabled. On aarch64, total installed size reported by pacman vs the identical commit built without native LTO enabled is approx 10% smaller. In addition to the size savings, in general, there known gains in efficiency and speed in the executables/DSOs compiled with LTO. See the following and some of the links therein: https://fedoraproject.org/wiki/LTOByDefault
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD5
2 files changed, 12 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dd874d125a80..9cc911b0797b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
pkgbase = kodi-git
- pkgver = r56885.b783517b55d
+ pkgver = r56939.6995aad7c37
pkgrel = 1
url = https://kodi.tv
arch = x86_64
@@ -107,7 +107,7 @@ pkgname = kodi-git
optdepends = pulseaudio: PulseAudio support
optdepends = upower: Display battery level
provides = xbmc
- provides = kodi=r56885.b783517b55d
+ provides = kodi=r56939.6995aad7c37
conflicts = xbmc
conflicts = kodi
replaces = xbmc
@@ -137,7 +137,7 @@ pkgname = kodi-git-x11
depends = tinyxml
depends = kodi-git
provides = KODI-GIT-BIN
- provides = kodi-x11=r56885.b783517b55d
+ provides = kodi-x11=r56939.6995aad7c37
conflicts = kodi-x11
replaces = kodi-bin
@@ -165,7 +165,7 @@ pkgname = kodi-git-wayland
depends = waylandpp
depends = kodi-git
provides = KODI-GIT-BIN
- provides = kodi-wayland=r56885.b783517b55d
+ provides = kodi-wayland=r56939.6995aad7c37
conflicts = kodi-wayland
pkgname = kodi-git-gbm
@@ -193,13 +193,13 @@ pkgname = kodi-git-gbm
depends = tinyxml
depends = kodi-git
provides = KODI-GIT-BIN
- provides = kodi-gbm=r56885.b783517b55d
+ provides = kodi-gbm=r56939.6995aad7c37
conflicts = kodi-gbm
pkgname = kodi-git-eventclients
pkgdesc = Kodi Event Clients (master branch)
optdepends = python: most eventclients are implemented in python
- provides = kodi-eventclients=r56885.b783517b55d
+ provides = kodi-eventclients=r56939.6995aad7c37
conflicts = kodi-eventclients
pkgname = kodi-git-tools-texturepacker
@@ -208,12 +208,12 @@ pkgname = kodi-git-tools-texturepacker
depends = giflib
depends = libjpeg-turbo
depends = lzo
- provides = kodi-tools-texturepacker=r56885.b783517b55d
+ provides = kodi-tools-texturepacker=r56939.6995aad7c37
conflicts = kodi-tools-texturepacker
pkgname = kodi-git-dev
pkgdesc = Kodi dev files (master branch)
depends = kodi-git
- provides = kodi-dev=r56885.b783517b55d
+ provides = kodi-dev=r56939.6995aad7c37
conflicts = kodi-dev
diff --git a/PKGBUILD b/PKGBUILD
index b0c0c55a33c7..ae8fa6a6c9c4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,7 +21,7 @@ pkgname=(
"$pkgbase" "$pkgbase-x11" "$pkgbase-wayland" "$pkgbase-gbm"
"$pkgbase-eventclients" "$pkgbase-tools-texturepacker" "$pkgbase-dev"
)
-pkgver=r56885.b783517b55d
+pkgver=r56939.6995aad7c37
pkgrel=1
arch=('x86_64')
url="https://kodi.tv"
@@ -77,6 +77,8 @@ source=(
"http://mirrors.kodi.tv/build-deps/sources/flatbuffers-$_flatbuffers_version.tar.gz"
"http://mirrors.kodi.tv/build-deps/sources/spdlog-$_spdlog_version.tar.gz"
cheat-sse-build.patch
+ # this causes issues for the official iOS app
+ # see: https://github.com/xbmc/Official-Kodi-Remote-iOS/issues/95
0001-Revert-jsonrpc-remove-ambiguous-and-duplicate-Player.patch
)
noextract=(
@@ -133,6 +135,7 @@ build() {
_args=(
-DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_INSTALL_LIBDIR=/usr/lib
+ -DUSE_LTO=$(nproc)
-DENABLE_EVENTCLIENTS=ON
-DENABLE_INTERNAL_FFMPEG=ON
-DENABLE_INTERNAL_FMT=ON