Skip to content

Commit

Permalink
[package] [libbluray-osmc] Bump to 0.9.3, use Kodi patches which incl…
Browse files Browse the repository at this point in the history
…ude clpi_parse.h in DESTDIR. Also depend on autoconf/automake as we patch the source

Signed-off-by: Sam Nazarko <email@samnazarko.co.uk>
  • Loading branch information
samnazarko committed Oct 6, 2016
1 parent ee7fd50 commit 1eb7f44
Show file tree
Hide file tree
Showing 3 changed files with 1,637 additions and 3 deletions.
9 changes: 7 additions & 2 deletions package/libbluray-osmc/build.sh
Expand Up @@ -5,7 +5,7 @@

. ../common.sh

pull_source "ftp://ftp.videolan.org/pub/videolan/libbluray/0.9.2/libbluray-0.9.2.tar.bz2" "$(pwd)/src"
pull_source "ftp://ftp.videolan.org/pub/videolan/libbluray/0.9.3/libbluray-0.9.3.tar.bz2" "$(pwd)/src"
if [ $? != 0 ]; then echo -e "Error downloading" && exit 1; fi
# Build in native environment
build_in_env "${1}" $(pwd) "libbluray-osmc"
Expand All @@ -31,9 +31,14 @@ then
handle_dep "libpng12-dev"
handle_dep "libfontconfig1-dev"
handle_dep "pkg-config"
handle_dep "autoconf"
handle_dep "automake"
echo "Package: ${1}-libbluray-osmc" >> files/DEBIAN/control && echo "Package: ${1}-libbluray-dev-osmc" >> files-dev/DEBIAN/control
pushd src/libbluray-*
./configure --prefix=/usr/osmc --disable-bdjava --enable-udf --with-freetype --with-fontconfig --with-libxml2
install_patch "../../patches" "all"
aclocal
autoconf
./configure --prefix=/usr/osmc --disable-bdjava --enable-udf --with-freetype --with-fontconfig --with-libxml2 --disable-examples
$BUILD
make install DESTDIR=${out}
if [ $? != 0 ]; then echo "Error occured during build" && exit 1; fi
Expand Down
2 changes: 1 addition & 1 deletion package/libbluray-osmc/files/DEBIAN/control
@@ -1,5 +1,5 @@
Origin: OSMC
Version: 0.9.2-1
Version: 0.9.3-1
Section: libs
Essential: No
Priority: optional
Expand Down

0 comments on commit 1eb7f44

Please sign in to comment.