summaryrefslogtreecommitdiff
path: root/libraries/libbluray/libbluray.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2013-12-23 07:20:59 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-12-25 15:05:39 -0600
commitb1b2bb0d7ec6559c6c557c245fddb418b1e45045 (patch)
treee1b24849a2213d687f758ce97a098865e5957323 /libraries/libbluray/libbluray.SlackBuild
parent7582b7ee81425d269fcc5e577981db4a5020e3e3 (diff)
downloadslackbuilds-b1b2bb0d7ec6559c6c557c245fddb418b1e45045.tar.gz
libraries/libbluray: Updated for version 0.5.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libbluray/libbluray.SlackBuild')
-rw-r--r--libraries/libbluray/libbluray.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/libraries/libbluray/libbluray.SlackBuild b/libraries/libbluray/libbluray.SlackBuild
index 9c60b54f6d..5ca11aa1cc 100644
--- a/libraries/libbluray/libbluray.SlackBuild
+++ b/libraries/libbluray/libbluray.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libbluray
-VERSION=${VERSION:-0.4.0}
+VERSION=${VERSION:-0.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -74,7 +74,7 @@ sed -i -e '/pkg-config libbluray/d' -e 's|0644|0755|' player_wrappers/xine/Makef
# If you want bdjava enabled then set BDAJVA=yes to the slackbuild.
if [ "${BDJAVA:-no}" == 'yes' ]; then
- OPT_ARGS="--enable-bdjava"
+ OPT_ARGS="--enable-bdjava JDK_HOME=$JAVA_HOME"
sed -i \
"s|/usr/lib/libbluray|/usr/lib${LIBDIRSUFFIX}/libbluray|" \
src/libbluray/bdj/bdj.c
@@ -87,11 +87,10 @@ CFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--enable-static=no \
- --enable-doxygen-man \
$OPT_ARGS \
--build=$ARCH-slackware-linux
-CFLAGS="$SLKCFLAGS" make
+make
make install DESTDIR=$PKG
### The xine bluray plugin only works with xine-lib > 1.2.