Package Details: kodi-git-tools-texturepacker r73067.9076c3af25d-1

Git Clone URL: https://aur.archlinux.org/kodi-git.git (read-only, click to copy)
Package Base: kodi-git
Description: Kodi Texturepacker tool (master branch)
Upstream URL: https://kodi.tv
Licenses: GPL-2.0-or-later
Conflicts: kodi-tools-texturepacker
Provides: kodi-tools-texturepacker
Submitter: BlackIkeEagle
Maintainer: graysky
Last Packager: graysky
Votes: 84
Popularity: 0.000000
First Submitted: 2014-10-23 06:38 (UTC)
Last Updated: 2026-09-25 20:38 (UTC)

Dependencies (61)

Required by (0)

Sources (9)

Pinned Comments

graysky commented on 2022-06-11 11:49 (UTC)

@laichiaheng - kodi is bound to a specific version of ffmpeg which is generally older than Arch's package. We avoid incompatibilities by using that specific version (ie internal ffmpeg). Recommend that you build kodi in clean chroot. See: https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot

I wrote a script that automates much of that called clean-chroot-manager offered here in the AUR.

Latest Comments

1 2 3 4 5 6 .. 56 Next › Last »

FunctionalHacker commented on 2026-09-25 19:22 (UTC)

==> Validating source files with b2sums...
    xbmc ... Skipped
    libdvdcss-1.5.0.tar.bz2 ... FAILED
    libdvdnav-7.0.0.tar.bz2 ... FAILED
    libdvdread-7.0.1.tar.bz2 ... FAILED
    ffmpeg-9.0.2.tar.xz ... Passed
    crossguid-ca1bf4b810e2d188d04cb6286f957008ee1b7681.tar.gz ... Passed
    fstrcmp-0.7.D001.tar.gz ... Passed
    flatbuffers-23.3.3.tar.gz ... Passed
    libudfread-1.2.0.tar.bz2 ... Passed

Had to run updpkgsums and now it compiles

FunctionalHacker commented on 2026-08-18 03:14 (UTC)

PR 28977 is merged already. Had to edit PKGBUILD to remove the patch because it was failing.

KaoriMiyazono commented on 2026-05-03 20:40 (UTC)

Can you add kodi to the provides array in the PKGBUILD please?

Ram-Z commented on 2026-03-22 12:30 (UTC)

Unable to build at the moment.

libudfread has been upgraded to 1.2.0 and the archive replaced with a .tar.bz2.

Following patch fixes this:

diff --git a/PKGBUILD b/PKGBUILD
index 9f68d2a..7492b38 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -72,7 +72,7 @@ _ffmpeg_version="8.0.1"
 _crossguid_version="ca1bf4b810e2d188d04cb6286f957008ee1b7681"
 _fstrcmp_version="0.7.D001"
 _flatbuffers_version="23.3.3"
-_libudfread_version="1.1.2"
+_libudfread_version="1.2.0"
 source=(
   "git+https://github.com/xbmc/xbmc.git#branch=$_codename"
   "libdvdcss-$_libdvdcss_version.tar.gz::https://github.com/xbmc/libdvdcss/archive/refs/tags/$_libdvdcss_version.tar.gz"
@@ -82,7 +82,7 @@ source=(
   "https://mirrors.kodi.tv/build-deps/sources/crossguid-$_crossguid_version.tar.gz"
   "https://mirrors.kodi.tv/build-deps/sources/fstrcmp-$_fstrcmp_version.tar.gz"
   "https://mirrors.kodi.tv/build-deps/sources/flatbuffers-$_flatbuffers_version.tar.gz"
-  "https://mirrors.kodi.tv/build-deps/sources/libudfread-$_libudfread_version.tar.gz"
+  "https://mirrors.kodi.tv/build-deps/sources/libudfread-$_libudfread_version.tar.bz2"
 )
 noextract=(
   "libdvdcss-$_libdvdcss_version.tar.gz"
@@ -92,7 +92,7 @@ noextract=(
   "crossguid-$_crossguid_version.tar.gz"
   "fstrcmp-$_fstrcmp_version.tar.gz"
   "flatbuffers-$_flatbuffers_version.tar.gz"
-  "libudfread-$_libudfread_version.tar.gz"
+  "libudfread-$_libudfread_version.tar.bz2"
 )
 b2sums=('SKIP'
         '2f503d3ab767094958f7ec10b4ad11ffd02665deee571c8f3c739bef5fc7e2ff84babc5a3fdee638dc095f896b72fe3ce65e6b688674cb5f7b7b77190992688c'
@@ -102,7 +102,7 @@ b2sums=('SKIP'
         '0f78a8ab5a420297f666b3b8156d499a9141ec25c049d4d2bb2ba594dc585abe211a149b83c605cce4f5530207231a065d5f3a87a0c969781de8c6381afa2527'
         'a8b68fcb8613f0d30e5ff7b862b37408472162585ca71cdff328e3299ff50476fd265467bbd77b352b22bb88c590969044f74d91c5468475504568fd269fa69e'
         'be5e3c8ea81ce4b6f2e2c1b2f22e1172434c435f096fa7dade060578c506cff0310e3e2ef0627e26ce2be44f740652eb9a8e1b63578c18f430f7925820f04e66'
-        '1801d84a0ca38410a78f23e7d44f37e6d53346753c853df2e7380d259ce1ae7f0c712825b95a5753ad0bc6360cfffe1888b9e7bc30da8b84549e0f1198248f61')
+        '954caea7ae3cc91034ce1ba802e445f4989b9a75ec34b9373b523a312d7ed6296f14c32579edb5ef094379fbd1f48dd94d7dbc9a34ecdb263d765c23b63a81d4')

 pkgver() {
   cd "$_gitname"
@@ -178,7 +178,7 @@ build() {
     -DCROSSGUID_URL="$srcdir/crossguid-$_crossguid_version.tar.gz"
     -DFSTRCMP_URL="$srcdir/fstrcmp-$_fstrcmp_version.tar.gz"
     -DFLATBUFFERS_URL="$srcdir/flatbuffers-$_flatbuffers_version.tar.gz"
-    -DUDFREAD_URL="$srcdir/libudfread-$_libudfread_version.tar.gz"
+    -DUDFREAD_URL="$srcdir/libudfread-$_libudfread_version.tar.bz2"
     -DAPP_RENDER_SYSTEM=$_renderer
   )

graysky commented on 2025-11-27 13:15 (UTC) (edited on 2025-11-30 10:47 (UTC) by graysky)

I bisected the problem to https://github.com/xbmc/xbmc/commit/42aab8bf10adc59bac7715fac63e68cd4a6d6a99

https://github.com/xbmc/xbmc/issues/27537

graysky commented on 2025-11-24 05:51 (UTC)

I get the same, have you checked for an open issue upstream? If not, can you please open one?

FunctionalHacker commented on 2025-11-23 21:09 (UTC) (edited on 2025-11-23 21:10 (UTC) by FunctionalHacker)

The build fails for me right at the end on the linking stage.

[ 98%] Linking CXX static library libkodi.a
[ 98%] Built target libkodi
[ 98%] Building CXX object CMakeFiles/kodi.dir/xbmc/platform/posix/main.cpp.o
[100%] Linking CXX executable kodi.bin
/usr/bin/ld.gold: fatal error: build/lib/: pread failed: Is a directory
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/kodi.dir/build.make:588: kodi.bin] Error 1
make[1]: *** [CMakeFiles/Makefile2:7431: CMakeFiles/kodi.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

I've tried on 2 different computers and also change the linker from gold to mold, similar error with that too.

graysky commented on 2025-07-11 19:44 (UTC)

Thanks @dobo

dobo commented on 2025-07-11 18:46 (UTC)

Current diff to make it compile:

diff --git a/PKGBUILD b/PKGBUILD
index ad2a499..f374127 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -39,7 +39,7 @@ makedepends=(
   'libvdpau' 'libxrandr' 'libxslt' 'lirc' 'lzo' 'mesa' 'nasm'
   'pipewire' 'python-pycryptodomex' 'python-pillow' 'python-pybluez'
   'python-simplejson' 'smbclient' 'sndio' 'spdlog' 'taglib'
-  'tinyxml' 'swig' 'upower' 'giflib' 'rapidjson' 'ghostscript' 'meson' 'gtest'
+  'tinyxml' 'swig' 'upower' 'giflib' 'nlohmann-json' 'ghostscript' 'meson' 'gtest'
   'graphviz' 'pcre' 'tinyxml2' 'libdisplay-info' 'exiv2'
   # cmake/scripts/linux/Install.cmake calls distutils
   # python 3.12 does no longer come with distutils on board
@@ -68,7 +68,7 @@ _codename=master
 _libdvdcss_version="1.4.3-Next-Nexus-Alpha2-2"
 _libdvdnav_version="6.1.1-Next-Nexus-Alpha2-2"
 _libdvdread_version="6.1.3-Next-Nexus-Alpha2-2"
-_ffmpeg_version="7.1"
+_ffmpeg_version="7.1.1"
 _crossguid_version="ca1bf4b810e2d188d04cb6286f957008ee1b7681"
 _fstrcmp_version="0.7.D001"
 _flatbuffers_version="23.3.3"
@@ -98,7 +98,7 @@ b2sums=('SKIP'
         '2f503d3ab767094958f7ec10b4ad11ffd02665deee571c8f3c739bef5fc7e2ff84babc5a3fdee638dc095f896b72fe3ce65e6b688674cb5f7b7b77190992688c'
         'db4d05836d8fbb3637ae50bdbfc0e4b612ee6b3be24addfea94ce772c3bf28d58b63a3f252d6f9f016f72f8cbb841cc1820b091226b136f4c4664385a32da73c'
         'c94feb5a03a12efa5b7767965118d2500a088299ea36f3b82e46d157e45893e6b04503cb50f179ca681bac914457607fab26acfa6e304752b355c407578572d1'
-        'bd9d3b8cb071fee266fb22fc510d3e920a5d7ae8d446637e7fcef9c9a7a6ff3b9d49c9e948e071bdedacaafac2f793b2616c922a58bf432502823da4f42a9ac9'
+        'afa8b398c5a23273ad935c159604a774ecffa3c2cc4526866251d398a55b19f8add26e5b28a231096e499b5971a5c1122f1037811baabfa2815e7be18dee6363'
         '0f78a8ab5a420297f666b3b8156d499a9141ec25c049d4d2bb2ba594dc585abe211a149b83c605cce4f5530207231a065d5f3a87a0c969781de8c6381afa2527'
         'a8b68fcb8613f0d30e5ff7b862b37408472162585ca71cdff328e3299ff50476fd265467bbd77b352b22bb88c590969044f74d91c5468475504568fd269fa69e'
         'be5e3c8ea81ce4b6f2e2c1b2f22e1172434c435f096fa7dade060578c506cff0310e3e2ef0627e26ce2be44f740652eb9a8e1b63578c18f430f7925820f04e66'
@@ -121,6 +121,8 @@ prepare() {
     msg "Building with clang"
     export CC=clang CXX=clang++
   fi
+  # https://github.com/xbmc/xbmc/issues/26959#issuecomment-3061651077
+  sed -i xbmc/addons/Scraper.h -e 's#constexpr auto format(const ADDON::ContentType\& type, FormatContext\& ctx)#constexpr auto format(const ADDON::ContentType\& type, FormatContext\& ctx) const#'
 }

 build() {