xbmc / inputstream.ffmpegdirect

Supports streams opened by FFmpeg's libavformat or Kodi's cURL such as plain TS, HLS and DASH (non-DRM) as well as many others. There is support for Archive/Catchup services where there is a replay window and can timeshift across that span. Also provides timeshift for live streams where rewind/pause and fast-forward would not have been available.
GNU General Public License v2.0
57 stars 40 forks source link

Newe Version 20.5.0-3 can't install under Manjaro #285

Open HRompel opened 3 months ago

HRompel commented 3 months ago

Hello,

a update from 20.5.0-2 => 20.5.0-3 doesn't work. So i deinstall the Add-On and try to new install the Version 20.5.0-3, but nothing. inxi.txt kodi-addon-inputstream-ffmpegdirect_Error.txt

Is this a Problem from my Manjaro or from the Addon?

Greetings from germany Heiko

HRompel commented 3 months ago

Hello, i Think the PKGBUILD is wrong.

I need the right one.

========

# Maintainer: ivanich
pkgname=kodi-addon-inputstream-ffmpegdirect
pkgver=20.5.0
pkgrel=3
pkgdesc="Inputstream ffmpegdirect kodi plugin"
_koditarget=Nexus
_gitname=inputstream.ffmpegdirect
_kodiver=20.5
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"
        "https://github.com/xbmc/xbmc/archive/${_kodiver}-${_koditarget}.tar.gz"
)

sha256sums=('a849b6b4d5ce740ec3552d244acc4c7a4d64792358428f5154236052473d5734'
            '9bf3257ebf251d20f276b7f90681985a270779150af2fb395d4b593c04002deb')

prepare() {
        cd xbmc-${_kodiver}-${_koditarget}
}

build() {
        mkdir -p "${_gitname}-${pkgver}-${_koditarget}/build"
        cd "${_gitname}-${pkgver}-${_koditarget}/build"

        cmake \
                -DCMAKE_INSTALL_PREFIX=/usr \
                -DCMAKE_INSTALL_LIBDIR=/usr/lib/kodi \
                -DCMAKE_BUILD_TYPE=Release \
                -DBUILD_SHARED_LIBS=1 \
                -DADDONS_TO_BUILD=${_gitname} \
                -DADDONS_SRC_PREFIX=../.. \
                ../../xbmc-${_kodiver}-${_koditarget}/cmake/addons
        make
}

package() {
        cd "${_gitname}-${pkgver}-${_koditarget}/build"
        install -d "${pkgdir}/usr"
        mv .install/lib "${pkgdir}/usr/"
        mv .install/share "${pkgdir}/usr/"
}

Greetings from Germany Heiko

AlwinEsch commented 3 months ago

Have created a fix request about, see https://github.com/xbmc/inputstream.ffmpegdirect/pull/287.

But as it seems you takes the Manjaro to create them, then you need to wait until they update the script or if you can edit, to change to pkgver=20.5.1 and the 9bf3257ebf251d20f276b7f90681985a270779150af2fb395d4b593c04002deb to new sha256sum (after the add-on release 20.5.1).