Thank you @wast3, this worked for me and solved the problems I had with IPTV Simple Client.
Search Criteria
Package Details: kodi-addon-inputstream-ffmpegdirect 21.3.5-5
Package Actions
Git Clone URL: | https://aur.archlinux.org/kodi-addon-inputstream-ffmpegdirect.git (read-only, click to copy) |
---|---|
Package Base: | kodi-addon-inputstream-ffmpegdirect |
Description: | Inputstream ffmpegdirect kodi plugin |
Upstream URL: | https://github.com/xbmc/inputstream.ffmpegdirect |
Keywords: | addon arm AUR kodi |
Licenses: | GPL |
Groups: | kodi |
Provides: | kodi-addon-inputstream-ffmpegdirect |
Submitter: | ivanich |
Maintainer: | ivanich |
Last Packager: | ivanich |
Votes: | 8 |
Popularity: | 0.014200 |
First Submitted: | 2021-02-21 20:51 (UTC) |
Last Updated: | 2024-04-16 18:19 (UTC) |
Dependencies (5)
- kodi (kodi-ext-gitAUR, kodi-gles)
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- kodi-dev (kodi-stable-git-devAUR, kodi-ext-git-devAUR, kodi-git-devAUR) (make)
- pkgconf (pkgconf-gitAUR) (make)
Required by (1)
Sources (1)
spontex commented on 2024-11-28 22:01 (UTC)
wast3 commented on 2024-11-28 17:56 (UTC) (edited on 2024-11-28 18:21 (UTC) by wast3)
Fails to build against ffmpeg 7. Needs a dependency to ffmpeg6.1 and the following added to the PKGBUILD:
-DFFMPEG_INCLUDE_DIRS=/usr/include/ffmpeg6.1
-DFFMPEG_LIBRARIES=/usr/lib/ffmpeg6.1
silex commented on 2024-11-15 11:08 (UTC) (edited on 2024-11-15 11:12 (UTC) by silex)
Building break with errors:
- static declaration of 'sincos' follows non-static declaration - resolved by deleting non-static declaration
/root/aur/inputstream.ffmpegdirect-21.3.5-Omega/build/build/libzvbi/src/libzvbi/src/io-sim.c:128:1: error: static declaration of 'sincos' follows non-static declaration
128 | sincos (double x,
| ^
~
In file included from /usr/include/features.h:511,
from /usr/include/bits/libc-header-start.h:33,
from /usr/include/math.h:27,
from /root/aur/inputstream.ffmpegdirect-21.3.5-Omega/build/build/libzvbi/src/libzvbi/src/io-sim.c:28:
/usr/include/bits/mathcalls.h:79:1: note: previous declaration of 'sincos' with type 'void(double, double , double '
79 | __MATHDECL_VEC (void,sincos,,
| ^~
- Didn't resolved
/usr/bin/ld: /tmp/ccfMF0oo.ltrans4.ltrans.o:(.data.rel.ro+0x8): undefined reference to `nettle_sha3_256_shake'
collect2: error: ld returned 1 exit status
ERROR: gnutls not found using pkg-config
[ 12%] Performing configure step for 'ffmpeg'
ERROR: gnutls not found using pkg-config
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.libera.chat.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
make[5]: *** [CMakeFiles/ffmpeg.dir/build.make:92: ffmpeg-prefix/src/ffmpeg-stamp/ffmpeg-configure] Error 1
make[4]: *** [CMakeFiles/Makefile2:87: CMakeFiles/ffmpeg.dir/all] Error 2
thepasto commented on 2024-04-16 18:15 (UTC) (edited on 2024-04-16 18:16 (UTC) by thepasto)
I think kodi-dev it's always required, so just put kodi-dev, for all architectures. If kodi-rpi-dev provides kodi-dev, rpi users should select the rpi one, when prompted. at least i guess so :)
ivanich commented on 2024-04-16 17:57 (UTC)
@thepasto would this work?
if [[ $CARCH == 'armv6h' || $CARCH == 'armv7h' || $CARCH == 'aarch64' ]]; then
makedepends+=('kodi-rpi-dev')
fi
thepasto commented on 2024-04-16 17:41 (UTC)
@ivanich kodi-rpi-dev breaks dependecies tree on non arm devices. Thank you
ivanich commented on 2024-04-16 15:33 (UTC)
@thepasto, it builds fine but I can't check whether it actually works or not because I'm not using kodi anymore. Also I've added kodi-rpi-dev to makedepends.
thepasto commented on 2024-04-16 15:07 (UTC) (edited on 2024-04-16 15:16 (UTC) by thepasto)
could you test that please?
# Maintainer: ivanich
pkgname=kodi-addon-inputstream-ffmpegdirect
pkgver=21.3.5
pkgrel=1
pkgdesc="Inputstream ffmpegdirect kodi plugin"
_koditarget=Omega
_gitname=inputstream.ffmpegdirect
arch=('armv6h' 'armv7h' 'aarch64' 'i686' 'x86_64')
url="https://github.com/xbmc/${_gitname}"
license=('GPL')
groups=('kodi')
makedepends=('cmake' 'git' 'autoconf' 'automake' 'patch' 'nasm' 'pkgconf')
provides=('kodi-addon-inputstream-ffmpegdirect')
depends=('kodi')
source=("https://github.com/xbmc/${_gitname}/archive/${pkgver}-${_koditarget}.tar.gz")
sha256sums=('b28ccbd489d9b69779fd818ee158f69ebd6fd85b1f0410ffc8098ff0c8665bdc')
build() {
mkdir -p "${_gitname}-${pkgver}-${_koditarget}/build"
cd "${_gitname}-${pkgver}-${_koditarget}/build"
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
..
make
}
package() {
cd "${_gitname}-${pkgver}-${_koditarget}/build"
make DESTDIR="${pkgdir}" install
}
nmars commented on 2024-04-03 13:57 (UTC)
please use this its binary ffmpeg direct https://github.com/arnesongit/inputstream.ffmpegdirect-binaries
hunted commented on 2024-04-03 10:16 (UTC)
For me too, like spontex, with the option=('lto') nothing changes, same error!
Pinned Comments