diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2013-11-02 20:38:57 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-02 23:24:06 -0500 |
commit | 17a3314af01ef435ffdf0466e5e13724dc60bebb (patch) | |
tree | 89996bd7396bacb93ec6a2ebfa9fcb048f216720 /libraries/libbluray/libbluray.SlackBuild | |
parent | 639421b8304eefd75c3095379411d1d5d30301eb (diff) |
libraries/libbluray: Updated for version 0.4.0.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Diffstat (limited to 'libraries/libbluray/libbluray.SlackBuild')
-rw-r--r-- | libraries/libbluray/libbluray.SlackBuild | 37 |
1 files changed, 30 insertions, 7 deletions
diff --git a/libraries/libbluray/libbluray.SlackBuild b/libraries/libbluray/libbluray.SlackBuild index a5d94dd4431e2..a12bfc0ea2447 100644 --- a/libraries/libbluray/libbluray.SlackBuild +++ b/libraries/libbluray/libbluray.SlackBuild @@ -2,10 +2,28 @@ # Slackware build script for libbluray -# Written by Larry Hajali <larryhaja[at]gmail[dot]com> +# Copyright 2011-2013 Larry Hajali <larryhaja[at]gmail[dot]com> +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libbluray -VERSION=${VERSION:-0.2.3} +VERSION=${VERSION:-0.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -57,6 +75,9 @@ 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" + sed -i \ + "s|/usr/lib/libbluray|/usr/lib${LIBDIRSUFFIX}/libbluray|" \ + src/libbluray/bdj/bdj.c else OPT_ARGS="--disable-bdjava" fi @@ -65,19 +86,21 @@ CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ - --enable-debug=no \ --enable-static=no \ + --enable-doxygen-man \ $OPT_ARGS \ --build=$ARCH-slackware-linux 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 |