libraries/libbluray: Enable xine-plugin.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Alexander Verbovetsky 2016-07-17 06:41:20 +07:00 committed by Willy Sudiarto Raharjo
parent 6c723ef387
commit 2eb7bf8cde
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 5 additions and 9 deletions

View file

@ -13,5 +13,3 @@ slackbuild as:
Most commercial Blu-Ray are protected by AACS or BD+ technologies and this
library is not enough to playback those discs.
Note: The xine plugin has been disabled because it requires xine-lib > 1.2.0.

View file

@ -24,7 +24,7 @@
PRGNAM=libbluray
VERSION=${VERSION:-0.9.2}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -92,13 +92,11 @@ CFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
### The xine bluray plugin only works with xine-lib > 1.2.
### Disabling for now.
# Install the xine bluray plugin
#CFLAGS="$SLKCFLAGS -I$PKG/usr/include" \
#LDFLAGS="-L$PKG/usr/lib$LIBDIRSUFFIX" \
#LIBS_BD="-lbluray" \
#make -C player_wrappers/xine DESTDIR=$PKG install
CFLAGS="$SLKCFLAGS -I$PKG/usr/include" \
LDFLAGS="-L$PKG/usr/lib$LIBDIRSUFFIX" \
LIBS_BD="-lbluray" \
make -C player_wrappers/xine DESTDIR=$PKG install
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true