summaryrefslogtreecommitdiff
path: root/libraries/opencv/opencv.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/opencv/opencv.SlackBuild')
-rw-r--r--libraries/opencv/opencv.SlackBuild12
1 files changed, 3 insertions, 9 deletions
diff --git a/libraries/opencv/opencv.SlackBuild b/libraries/opencv/opencv.SlackBuild
index 2a4730b8eb..7f34af1687 100644
--- a/libraries/opencv/opencv.SlackBuild
+++ b/libraries/opencv/opencv.SlackBuild
@@ -6,8 +6,8 @@
PRGNAM=opencv
SRCNAM=OpenCV
-VERSION=${VERSION:-2.3.1a}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.4.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -44,7 +44,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
-cd $SRCNAM-2.3.1
+cd $SRCNAM-2.4.0
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -52,12 +52,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Honor LIB_SUFFIX
-patch -p1 < $CWD/libopencv-2.3.1a-libdir.patch
-
-# Fix building with ffmmpeg 0.6/0.8
-patch -p1 < $CWD/opencv-2.3.1a-libav-0.7.patch
-
mkdir -p build
cd build
cmake \