Kodi Community Forum
need commits for ffmpeg, libdvdcss, libdvdnav, and libdvdread for Leia18.0a1 - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: need commits for ffmpeg, libdvdcss, libdvdnav, and libdvdread for Leia18.0a1 (/showthread.php?tid=329236)



need commits for ffmpeg, libdvdcss, libdvdnav, and libdvdread for Leia18.0a1 - graysky - 2018-03-05

One way of building on Arch Linux is to pre-download the supported versions of libdvdcss, libdvdnav, libdvdread, and ffmpeg and then run camke pointing to these pre-downloaded packages.  My question what are the supported versions of these for Leia18.0a1 and in which file can I find them in the source?

Here is a bash-style example of what I mean:
Code:
pkgbase=kodi
pkgver=17.6
_codename=Krypton
_libdvdcss_commit="2f12236bc1c92f73c21e973363f79eb300de603f"
_libdvdnav_commit="981488f7f27554b103cca10c1fbeba027396c94a"
_libdvdread_commit="17d99db97e7b8f23077b342369d3c22a6250affd"
_ffmpeg_version="3.1.11-$_codename-17.5"

source=(
  "$pkgbase-$pkgver-$_codename.tar.gz::https://github.com/xbmc/xbmc/archive/$pkgver-$_codename.tar.gz"
  "$pkgbase-libdvdcss-$_libdvdcss_commit.tar.gz::https://github.com/xbmc/libdvdcss/archive/$_libdvdcss_commit.tar.gz"
  "$pkgbase-libdvdnav-$_libdvdnav_commit.tar.gz::https://github.com/xbmc/libdvdnav/archive/$_libdvdnav_commit.tar.gz"
  "$pkgbase-libdvdread-$_libdvdread_commit.tar.gz::https://github.com/xbmc/libdvdread/archive/$_libdvdread_commit.tar.gz"
  "$pkgbase-ffmpeg-$_ffmpeg_version.tar.gz::https://github.com/xbmc/FFmpeg/archive/$_ffmpeg_version.tar.gz"
)

  cmake -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_INSTALL_LIBDIR=/usr/lib \
    -DENABLE_EVENTCLIENTS=ON \
    -DLIRC_DEVICE=/run/lirc/lircd \
    -Dlibdvdcss_URL="$srcdir/$pkgbase-libdvdcss-$_libdvdcss_commit.tar.gz" \
    -Dlibdvdnav_URL="$srcdir/$pkgbase-libdvdnav-$_libdvdnav_commit.tar.gz" \
    -Dlibdvdread_URL="$srcdir/$pkgbase-libdvdread-$_libdvdread_commit.tar.gz" \
    -DFFMPEG_URL="$srcdir/$pkgbase-ffmpeg-$_ffmpeg_version.tar.gz" \
    ../"xbmc-$pkgver-$_codename"/project/cmake



RE: need commits for ffmpeg, libdvdcss, libdvdnav, and libdvdread for Leia18.0a1 - nickr - 2018-03-05

Does this example help?

https://github.com/xbmc/xbmc/blob/7552090748c0f48f06181f59e65918f5a905d247/tools/depends/target/libdvdcss/DVDCSS-VERSION


RE: need commits for ffmpeg, libdvdcss, libdvdnav, and libdvdread for Leia18.0a1 - graysky - 2018-03-06

(2018-03-05, 23:34)nickr Wrote: Does this example help?

https://github.com/xbmc/xbmc/blob/7552090748c0f48f06181f59e65918f5a905d247/tools/depends/target/libdvdcss/DVDCSS-VERSION
 I think I got it... so one should point to the URL from each of file and then use the latest corresponding commit?  For example for 18.0a1:
Code:
URLPATH="https://github.com/xbmc/xbmc/blob/master/tools/depends/target"
$URLPATH/libdvdcss/DVDCSS-VERSION
$URLPATH/libdvdnav/DVDNAV-VERSION
$URLPATH/libdvdread/DVDREAD-VERSION
$URLPATH/ffmpeg/FFMPEG-VERSION

To arrive at:
Code:
​​​​​​
_libdvdcss_commit="2f12236bc1c92f73c21e973363f79eb300de603f"
_libdvdnav_commit="981488f7f27554b103cca10c1fbeba027396c94a"
_libdvdread_commit="6f3f53a63549d937e75c0db132fb1bce6b71a496"
_ffmpeg_version="3.4.1-$_codename-Alpha-1"