Package Details: kodi-addon-pvr-hts 21.2.4-1

Git Clone URL: https://aur.archlinux.org/kodi-addon-pvr-hts.git (read-only, click to copy)
Package Base: kodi-addon-pvr-hts
Description: Tvheadend HTSP PVR client addon for Kodi
Upstream URL: https://github.com/kodi-pvr/pvr.hts
Keywords: hts kodi pvr tvheadend
Licenses: GPL
Groups: kodi-addons
Submitter: AlD
Maintainer: AlD
Last Packager: AlD
Votes: 32
Popularity: 0.024936
First Submitted: 2015-08-11 02:08 (UTC)
Last Updated: 2024-06-11 11:27 (UTC)

Latest Comments

1 2 3 4 5 6 Next › Last »

AlD commented on 2024-04-15 21:07 (UTC)

Applied, thx.

sergiud commented on 2024-04-15 19:08 (UTC)

Unfortunately, the package unconditionally assumes (Unix) Makefiles CMake generator which causes the following error every time I update:

-- Configuring done (3.5s)
-- Generating done (0.0s)
-- Build files have been written to: /home/<user>/.cache/yay/kodi-addon-pvr-hts/src/pvr.hts/build
make: *** No targets specified and no makefile found.  Stop.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: kodi-addon-pvr-hts-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
kodi-addon-pvr-hts - exit status 4

because I have CMAKE_GENERATOR=Ninja defined in my ~/.bashrc.

Resolving this issue requires replacing all make calls either by cmake --build or cmake --install to be generator agnostic. I suggest the following changes:

diff --git a/PKGBUILD b/PKGBUILD
index 3d44752..9e493da 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,19 +21,15 @@ md5sums=('SKIP')
 _prefix='/usr'

 build() {
-  msg "Starting make..."
+  msg "Starting build..."

   cd "$srcdir/$_gitname"
-  mkdir -p build && pushd build
-  cmake \
+  cmake -S . -B build/ \
     -DCMAKE_INSTALL_PREFIX=$_prefix \
-    -DCMAKE_BUILD_TYPE=Release \
-    ..
-  make
-  popd
+    -DCMAKE_BUILD_TYPE=Release
+  cmake --build build/
 }

 package() {
-  cd "$srcdir/$_gitname/build"
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" cmake --install "$srcdir/$_gitname/build"
 }

DEUS commented on 2024-04-09 19:45 (UTC) (edited on 2024-05-12 07:28 (UTC) by DEUS)

OK, got some time and found the issue in /etc/makepkg.conf, it was issuing this as flag, when executing via commandline everything was OK. I was looking at the wrong spot and did not notice any change there. pacman change "RFC 26: Add no-omit-frame-pointer flags by default" added this.

As this is Arch and the AUR and it drove me crazy that the Nexus package is no longer in my cache to downgrade, so I've tried to fix it for myself, not sure how much gonna break with this but it compiles and runs on my Raspberry Pi 2 until AlD fixes this in a propper way. Start the install and wait for the error, then the CMakeCache.txt is created and the sed will work on the 2nd run, if done on the first it will break before. Edit PKGBUILD and PKGBUILD.in, not sure if only one is needed. correct the version and put the following line "sed -i '/-mno-omit-leaf-frame-pointer/d' CMakeCache.txt" before the cmake call, this removes -mno-omit-leaf-frame-pointer flag from the makefile like below, then it seems to work.

AlD commented on 2024-01-11 16:04 (UTC)

sorry, fixed

bedouin commented on 2024-01-11 13:40 (UTC) (edited on 2024-01-11 13:42 (UTC) by bedouin)

Version change from 20.6.5 to "0" in 2023-12-19 PKGBUILD prevents package from being upgraded. Upstream now claims version 20.7.0 for Nexus.

lod commented on 2023-01-18 10:21 (UTC) (edited on 2023-01-18 22:31 (UTC) by lod)

@dalu you need Kodi 20 to build it.

dalu commented on 2023-01-16 20:43 (UTC)

Build errors galore with the 20.6.0-1 package https://pastebin.com/WDsT40Zz

pejobo commented on 2023-01-15 21:07 (UTC)

Currently outdated / not yet updated to Nexus (v20)

kleini commented on 2022-06-22 08:35 (UTC)

pamac install kodi-addon-pvr-hts

would be much easier to install the addon.