Anonymous committed 50b3ee1

Update libbluray to 0.4.0

Signed-off-by: Lee Pak Hong <>

Comments (0)

Files changed (1)


 # Linux forum at and from tidbits collected 
 # from all over the internet. 
-# Generated by sbbuilder-0.4.15, written by Rodrigo Bistolfi 
+# Generated by sbbuilder-, written by Rodrigo Bistolfi 
 # (rbistolfi) and Raimon Grau Cuscó (Kidd) for VectorLinux.
 # Please put your name below if you add some original scripting lines.
 NAME="libbluray"            #Enter package Name!
-VERSION=${VERSION:-"0.2.3"}      #Enter package Version!
+VERSION=${VERSION:-"0.4.0"}      #Enter package Version!
 VER=$(echo $VERSION|sed 's/-/_/') #this fixes - in version
-VL_PACKAGER=${VL_PACKAGER:-"vector"}   #Enter your Name!
+VL_PACKAGER=${VL_PACKAGER:-"hata_ph"}   #Enter your Name!
 LINK=${LINK:-"$NAME/$VERSION/$NAME-$VERSION.tar.bz2"}  #Enter URL for package here!
 ADDRB=${ADDRB:-""} #Add deps that need to be added to the slack-required file here
 EXRB=${EXRB:-""} #Add deps that need to be excluded from the slack-required file here
-MAKEDEPENDS=${MAKEDEPENDS:-""} #Add deps needed TO BUILD this package here.
+MAKEDEPENDS=${MAKEDEPENDS:-"freetype libxml2"} #Add deps needed TO BUILD this package here.
 # DO NOT EXECUTE if NORUN is set to 1
 if [[ "$ARCH" = i?86 ]]; then
   SLKCFLAGS="-O2 -march=i586 -mtune=i686"
-  CONFIGURE_TRIPLET="i486-vector-linux"
+  CONFIGURE_TRIPLET="i586-vector-linux"
 elif [ "$ARCH" = "x86_64" ]; then
   SLKCFLAGS="-O2 -fpic"
 # Put any Patches here *NOTE this only works if all 
 # your patches use the -p1 strip option!
-for i in $CWD/patches/*;do
-  patch -p1 <$i
-  mkdir -p $PKG/usr/doc/$NAME-$VERSION/patches/
-  cp $i $PKG/usr/doc/$NAME-$VERSION/patches/
+#for i in $CWD/patches/*;do
+#  patch -p1 <$i
+#  mkdir -p $PKG/usr/doc/$NAME-$VERSION/patches/
+#  cp $i $PKG/usr/doc/$NAME-$VERSION/patches/
 mkdir -p $PKG/usr/doc/$NAME-$VERSION
+cp -a COPYING ChangeLog README* $PKG/usr/doc/$NAME-$VERSION
 cat $CWD/$NAME.SlackBuild > $PKG/usr/doc/$NAME-$VERSION/$NAME.SlackBuild
 echo "fi" >> $PKG/install/
+cat >> $PKG/install/ << EOF
+# update rarian database
+if [ -x usr/bin/rarian-sk-update ]; then
+  usr/bin/rarian-sk-update 1> /dev/null 2> /dev/null
+# update mime database
+if [ -x usr/bin/update-mime-database ]; then
+  usr/bin/update-mime-database usr/share/mime 1> /dev/null 2> /dev/null
+# update desktop entries
+if [ -x usr/bin/update-desktop-database ]; then
+  usr/bin/update-desktop-database 1> /dev/null 2> /dev/null
+# update hicolor icons
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+	rm -f usr/share/icons/hicolor/icon-theme.cache
+usr/bin/gtk-update-icon-cache -f -q usr/share/icons/hicolor 1>/dev/null 2>/dev/null
+if [ -x /usr/bin/glib-compile-schemas ]; then
+  /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas/ >/dev/null 2>&1
+# Restart gconfd-2 if running to reload new gconf settings
+if ps acx | grep -q gconfd-2 ; then
+        killall -HUP gconfd-2 ;
+# A good idea whenever kernel modules are added or changed:
+if [ -x sbin/depmod ]; then
+  /sbin/depmod -a 1> /dev/null 2> /dev/null
 #if there is a slack-desc in src dir use it
 if test -f $CWD/slack-desc; then
 # customary to leave one space after the ':'.
-$NAME: $NAME (Blu-Ray Disc playback library)
+$NAME: $NAME (Blur-Ray Discs playback library)
-$NAME: Libbluray is an open-source library designed for Blu-Ray Discs playback
-$NAME: for media players, liek VLC or MPlayer.
+$NAME: libbluray is an open-source library designed for Blu-Ray Discs 
+$NAME: playback for media players, like VLC or MPlayer.
 $NAME: License: GPL
-$NAME: Authors: 
+$NAME: Authors:
 $NAME: Website: