diff options
author | Christoph Willing <chris.willing@linux.com> | 2018-04-03 14:05:34 +1000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-04-07 08:13:07 +0700 |
commit | 93cc840d43cb1b7921c26bd1ce4c50c1f051cb3d (patch) | |
tree | f05ae85475d2a453f4d420e0bd58cb253db068fe /graphics | |
parent | 2735e4f40b8bae91e23f2480e1cacde6e827548f (diff) |
graphics/opencolorio: Updated for version 1.1.0
Signed-off-by: Christoph Willing <chris.willing@linux.com>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/opencolorio/opencolorio.SlackBuild | 15 | ||||
-rw-r--r-- | graphics/opencolorio/opencolorio.info | 6 |
2 files changed, 11 insertions, 10 deletions
diff --git a/graphics/opencolorio/opencolorio.SlackBuild b/graphics/opencolorio/opencolorio.SlackBuild index be4f400fb1fee..caffe8c1e4fc2 100644 --- a/graphics/opencolorio/opencolorio.SlackBuild +++ b/graphics/opencolorio/opencolorio.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for opencolorio -# Copyright 2015-2017 Christoph Willing Brisbane, Australia +# Copyright 2015-2018 Christoph Willing Brisbane, Australia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,14 +24,14 @@ PRGNAM=opencolorio SRCNAM=OpenColorIO -VERSION=${VERSION:-1.0.9.20170426} -BUILD=${BUILD:-2} +VERSION=${VERSION:-1.1.0} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PYTHON_VERSIONS=${PYTHON_VERSIONS:-"2 3"} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -42,8 +42,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i586" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -70,6 +70,7 @@ for v in $PYTHON_VERSIONS ; do rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION + sed -i -e 's/-Wall -Wextra/-Wextra/' CMakeLists.txt chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -102,7 +103,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a INSTALL LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a INSTALL LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/graphics/opencolorio/opencolorio.info b/graphics/opencolorio/opencolorio.info index 343861eb78a9d..cec70056cde7c 100644 --- a/graphics/opencolorio/opencolorio.info +++ b/graphics/opencolorio/opencolorio.info @@ -1,8 +1,8 @@ PRGNAM="opencolorio" -VERSION="1.0.9.20170426" +VERSION="1.1.0" HOMEPAGE="http://opencolorio.org/" -DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/opencolorio/OpenColorIO-1.0.9.20170426.tar.gz" -MD5SUM="9da889c60e914caa68686d9b8f5cb33c" +DOWNLOAD="https://github.com/imageworks/OpenColorIO/archive/v1.1.0/OpenColorIO-1.1.0.tar.gz" +MD5SUM="802d8f5b1d1fe316ec5f76511aa611b8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3" |