aboutsummaryrefslogtreecommitdiff
path: root/graphics/oyranos/oyranos.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/oyranos/oyranos.SlackBuild')
-rw-r--r--graphics/oyranos/oyranos.SlackBuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/graphics/oyranos/oyranos.SlackBuild b/graphics/oyranos/oyranos.SlackBuild
index 3bc4176cf6cde..19eb8ffe2cd2b 100644
--- a/graphics/oyranos/oyranos.SlackBuild
+++ b/graphics/oyranos/oyranos.SlackBuild
@@ -2,9 +2,10 @@
# Slackware build script for xcm
# Written by Diogo Leal (diogo@diogoleal.com)
+# Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org>
PRGNAM=oyranos
-VERSION=${VERSION:-0.3.1}
+VERSION=${VERSION:-0.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -41,7 +42,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvfz $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -50,6 +51,11 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+patch -p1 < $CWD/configure_tests.patch
+patch -p1 < $CWD/makefile.in.patch
+patch -p1 < $CWD/oyranos_file.cpp.patch
+patch -p1 < $CWD/qcmsevents.cpp.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \