Package Details: kodi-matrix-mpp-git-dev r58204.f8fdeb6b1b1.481f5d6-8

Git Clone URL: https://aur.archlinux.org/kodi-matrix-mpp-git.git (read-only, click to copy)
Package Base: kodi-matrix-mpp-git
Description: Kodi dev files (Matrix branch) with Rockchip MPP hardware acceleration
Upstream URL: https://kodi.tv
Licenses: GPL2
Conflicts: kodi-dev, kodi-matrix-dev
Provides: kodi-dev, kodi-matrix-dev
Submitter: boogiepop
Maintainer: boogiepop
Last Packager: boogiepop
Votes: 2
Popularity: 0.36
First Submitted: 2023-01-30 09:57 (UTC)
Last Updated: 2023-08-04 20:24 (UTC)

Dependencies (55)

Required by (57)

Sources (16)

Latest Comments

kyak commented on 2023-08-04 21:42 (UTC)

@boogiepop guh, i'm sorry, should've used Nexus in the first place..

And thanks for pointing to the kodi standalone service, nothing to do here.

boogiepop commented on 2023-08-04 21:37 (UTC)

@kyak Nexus(20) is the latest and greatest, Matrix is the older

This rate limiting should occur when you clean build several times in short span, so not in normal circumstances.

I had never never heard of standalone-service, but it seems there already is an AUR package for it, so what to do here? i did not understand. https://aur.archlinux.org/packages/kodi-standalone-service

Finally fix the Flatbuffers build error, and updated the rkmppdec to the latest where it handles >4b mems correctly.

kyak commented on 2023-08-04 21:19 (UTC)

I can also say that building this package is a pain. I also patched it locally, but that's not the biggest problem.

As I understand, it builds ffmpeg as part build process and downloads some tarballs.

I had to manually download gmp-6.2.0.tar.xz tarball from their FTP and put it in src/ffdirect-build/build/download. Their website was not responding.

Then I had to do the same for libxml2-2.9.10.tar.gz - I was getting errors 403 and also had to use FTP.

I then re-ran makepkg --noextract --noprepare to preserve my changes and to complete the build.

Just writing it here is case someone else has these problems.

kyak commented on 2023-08-04 21:08 (UTC)

@boogiepop well, Nexus is not the latest and greatest :)

I'll keep an eye on issue 19.

Meanwhile, is there a reason why you don't ship systemd unit with this package?

graysky did a great job here https://github.com/graysky2/kodi-standalone-service, and it is used by the kodi-rpi package in Arch Linux ARM repos.

boogiepop commented on 2023-08-04 07:56 (UTC) (edited on 2023-08-04 07:56 (UTC) by boogiepop)

@kyak, thanks for the feedback, i was aware of this and actually fixed it locally, but i am waiting the ffmpeg parts to settle down before i push the fix. You can in the meanwhile use Nexus, which does not have this.

There is also this https://github.com/hbiyik/FFmpeg/issues/19 issue which i think Kodi is the culprit.

kyak commented on 2023-08-03 20:48 (UTC)

@boogiepop I'm getting this error when building: https://github.com/xbmc/xbmc/issues/23331

Can you please apply this patch from the pull request? https://github.com/xbmc/xbmc/commit/351184d7e4e3edc447d04a297769eb41a477ba68.patch

Here's the diff for your convenience:

--- PKGBUILD.orig       2023-08-03 22:47:31.941819239 +0300
+++ PKGBUILD    2023-08-03 22:47:23.505221666 +0300
@@ -23,8 +23,8 @@

 pkgbase=kodi-matrix-mpp-git
 pkgname=("$pkgbase" "$pkgbase-eventclients" "$pkgbase-tools-texturepacker" "$pkgbase-dev" "$pkgbase-ffmpegdirect")
-pkgver=r58204.f8fdeb6b1b1.481f5d6
-pkgrel=7
+pkgver=r58206.f8fdeb6b1b1.a39ad4e
+pkgrel=1
 arch=('aarch64' 'arm7f')
 url="https://kodi.tv"
 license=('GPL2')
@@ -87,6 +87,7 @@
   0002-ffmpeg-buildsys.patch
   0003-rkmpp-4.patch
   0006-ffmpegdirect-buildsys.patch
+  0007-FlatBufferBuilder.patch::https://github.com/xbmc/xbmc/commit/351184d7e4e3edc447d04a297769eb41a477ba68.patch
 )
 noextract=(
   "libdvdcss-$_libdvdcss_version.tar.gz"
@@ -113,7 +114,8 @@
         '321f37d22a20b6e3b6925c193b802e4ff3d0bef1148209028e0b56b0decca27978cf994125f93f0a624892c002e364c82ead0fe15781ab00e84b2faf8a8f4c9c'
         '38af4bb3a2392dbad44ec1cc9b59b69f40d3f61344fac80a722528d0728132f71a25515d36b67b71046d13f2485b80da38fd1e4fb3021f3ddc4dab92dfb04c27'
         '31c0902cdde645b724a48b65a6ef824da6a69e5187b507175bf50a0ecb338a6e9576df4d2d5ef1d3c4f75819552b2b0aea3a1ffa6f14897af7f0ba66e6e26522'
-        '943d358b4c127b77a691886a48245604081e3fdb5f05cd9a9821b52acf46bc6736089348f3299e00f35bbc09ba501d136088d96c7f118b3f5f3fe1cb7d77c7fd')
+        '943d358b4c127b77a691886a48245604081e3fdb5f05cd9a9821b52acf46bc6736089348f3299e00f35bbc09ba501d136088d96c7f118b3f5f3fe1cb7d77c7fd'
+        '3debed4353672cdcf9215496ffc6d17c7427111b3be1e49497f16ead7f5e72411d811775e12cb5d1a0307ad48fa9f46bdc110e436c7f51416af2e3cdcc2e3540')

 pkgver() {
   cd "$_gitname"
@@ -139,6 +141,7 @@
   patch -p1 -N -i ../0001-upstream-build-fixes-from-debian.patch
   patch -p1 -N -i ../0002-ffmpeg-buildsys.patch
   cp ../0003-rkmpp-4.patch tools/depends/target/ffmpeg
+  patch -p1 -N -i ../0007-FlatBufferBuilder.patch

   cd ../"$_gitnameff"
   patch -p1 -N -i ../0006-ffmpegdirect-buildsys.patch