summaryrefslogtreecommitdiffstats
path: root/wine
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2007-06-04 09:38:33 +0000
committer Eric Hameleers <alien@slackware.com>2007-06-04 09:38:33 +0000
commit0188f341ff620cf628487d29b6d9b45b5c9930a0 (patch)
tree4c703ae023a682d0e88e4dc1aa1295bf45bcb01d /wine
parent1271317134c73702863563c7f0cfd7ce4cca0d88 (diff)
downloadasb-0188f341ff620cf628487d29b6d9b45b5c9930a0.tar.gz
asb-0188f341ff620cf628487d29b6d9b45b5c9930a0.tar.xz
Update to 0.9.38
Diffstat (limited to 'wine')
-rwxr-xr-xwine/build/wine.SlackBuild29
1 files changed, 22 insertions, 7 deletions
diff --git a/wine/build/wine.SlackBuild b/wine/build/wine.SlackBuild
index a97fe9bb..f13540ab 100755
--- a/wine/build/wine.SlackBuild
+++ b/wine/build/wine.SlackBuild
@@ -50,6 +50,8 @@
# * Update.
# 0.9.37-1: 12/may/2007 by Eric Hameleers <alien@slackware.com>
# * Update.
+# 0.9.38-1: 04/jun/2007 by Eric Hameleers <alien@slackware.com>
+# * Update.
#
# Run 'sh wine.SlackBuild --cleanup' to build a Slackware package.
# The package (.tgz) plus descriptive .txt file are created in /tmp .
@@ -61,7 +63,7 @@
# Set initial variables:
PRGNAM=wine
-VERSION=${VERSION:-"0.9.37"}
+VERSION=${VERSION:-"0.9.38"}
ARCH=${ARCH:-"i486"}
BUILD=${BUILD:-1}
@@ -71,6 +73,11 @@ DOCS="ANNOUNCE AUTHORS COPYING.LIB ChangeLog LICENSE* README VERSION"
# supports hardware accelerated OpenGL:
OPENGL=${OPENGL:-"YES"} # Use 'YES' not 'yes' : case-sensitive!
+# If you set REQUIRE_FONTFORGE to "NO" then the script won't refuse to build
+# wine in case you don't have fontforge installed (needed basically to
+# generate the required base fonts).
+REQUIRE_FONTFORGE=${REQUIRE_FONTFORGE:-"YES"}
+
# Where do we look for sources?
CWD=`pwd`
SRCDIR=`dirname $0`
@@ -178,12 +185,20 @@ echo "|| $PRGNAM-$VERSION"
echo "++"
if ! which fontforge >/dev/null 2>&1 ; then
- echo "##"
- echo "## The 'fontforge' program does not seem to be installed."
- echo "## wine uses fontforge to generate TTF fonts that your Windows programs may want to use!"
- echo "## Continuing the build anyway, but you were warned..."
- echo "##"
- sleep 5
+ echo "##"
+ echo "## The 'fontforge' program does not seem to be installed."
+ echo "## Wine uses fontforge to generate TTF fonts"
+ echo "## that your Windows programs may want to use!"
+ if [ "$REQUIRE_FONTFORGE" != "YES" ]; then
+ echo "## Continuing the build anyway, but you were warned..."
+ echo "##"
+ sleep 5
+ else
+ echo "## Aborting the build - set the internal script variable:"
+ echo "## REQUIRE_FONTFORGE to 'NO' if you don't need fontforge."
+ echo "##"
+ exit 1
+ fi
fi
cd $TMP/tmp-$PRGNAM