aboutsummaryrefslogtreecommitdiff
path: root/games/chromium-bsu
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja@gmail.com>2014-06-01 10:50:02 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-06-01 10:50:02 +0700
commitbd10b45f3dd388ff1ea8f2db6a29790a01722cc6 (patch)
treeb8ee0e9bd38d0ad4d28ab85aedb24d3402bb47bd /games/chromium-bsu
parent63f1b11c0b4a59cb5adc4654f70443aa67bf3bc3 (diff)
games/chromium-bsu: Updated for version 0.9.15.1 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/chromium-bsu')
-rw-r--r--games/chromium-bsu/chromium-bsu.SlackBuild25
-rw-r--r--games/chromium-bsu/chromium-bsu.info12
-rw-r--r--games/chromium-bsu/doinst.sh6
3 files changed, 25 insertions, 18 deletions
diff --git a/games/chromium-bsu/chromium-bsu.SlackBuild b/games/chromium-bsu/chromium-bsu.SlackBuild
index d21b45708726..f8adb1cac70b 100644
--- a/games/chromium-bsu/chromium-bsu.SlackBuild
+++ b/games/chromium-bsu/chromium-bsu.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for chromium
#
# Copyright 2007 Niklas "Nille" Åkerström
+# Copyright 2014 Larry Hajali <larryhaja[at]gmail[dot]com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +26,7 @@
# Modified by Erik Hanson <erik@slackbuilds.org>
PRGNAM=chromium-bsu
-VERSION=0.9.14.1
+VERSION=${VERSION:-0.9.15.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -48,6 +49,8 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+else
+ SLKCFLAGS="-O2"
fi
set -e
@@ -65,27 +68,25 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --bindir=/usr/games \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
- --disable-glut \
- --disable-openal
-
-# --enable doesn't work, use --disable instead.
-# Use --disable-sdl to use glut instead of SDL.
-# --disable-sdl --disable-sdlmixer
+ --disable-rpath \
+ --with-x
make
-make install-strip DESTDIR=$PKG
+make install DESTDIR=$PKG
+
+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
-gzip -9 $PKG/usr/man/man?/*.?
+find $PKG/usr/man -type f -exec gzip -9 {} \;
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp \
- ABOUT-NLS AUTHORS ChangeLog COPYING NEWS README* data/doc/*.htm \
+ AUTHORS ChangeLog COPYING NEWS README* data/doc/*.htm \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/games/chromium-bsu/chromium-bsu.info b/games/chromium-bsu/chromium-bsu.info
index 8931a7c4ad6c..b228aa2e1226 100644
--- a/games/chromium-bsu/chromium-bsu.info
+++ b/games/chromium-bsu/chromium-bsu.info
@@ -1,10 +1,10 @@
PRGNAM="chromium-bsu"
-VERSION="0.9.14.1"
+VERSION="0.9.15.1"
HOMEPAGE="http://chromium-bsu.sourceforge.net"
-DOWNLOAD="http://downloads.sourceforge.net/chromium-bsu/chromium-bsu-0.9.14.1.tar.gz"
-MD5SUM="b8b41d08cd20cd870f497d06cf103db3"
+DOWNLOAD="http://downloads.sourceforge.net/chromium-bsu/chromium-bsu-0.9.15.1.tar.gz"
+MD5SUM="bd332a890ae9e5115f2808198a51a92b"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="OpenAL ftgl libglpng"
-MAINTAINER="Niklas 'Nille' Åkerström"
-EMAIL="nille.kungen[AT]gmail.com"
+REQUIRES="freealut quesoglc libglpng"
+MAINTAINER="Larry Hajali"
+EMAIL="larryhaja[at]gmail[dot]com"
diff --git a/games/chromium-bsu/doinst.sh b/games/chromium-bsu/doinst.sh
index 2e82bb7622c6..76cc38a548b1 100644
--- a/games/chromium-bsu/doinst.sh
+++ b/games/chromium-bsu/doinst.sh
@@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi