summaryrefslogtreecommitdiff
path: root/libraries/libbluray/libbluray.SlackBuild
diff options
context:
space:
mode:
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.