diff options
author | Hunter Sezen <orbea@riseup.net> | 2019-05-04 01:55:56 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-05-04 01:55:56 +0700 |
commit | 6f2a3441921456e964b40c90d2386a3d68717efd (patch) | |
tree | 49777504bad99f9a93d1a568d14e8013217be9a8 | |
parent | 8543371a7db4fb8b8de2faeaac8d430e23675eb6 (diff) | |
download | slackbuilds-6f2a3441921456e964b40c90d2386a3d68717efd.tar.gz |
libraries/glfw3: Updated for version 3.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | libraries/glfw3/README | 2 | ||||
-rw-r--r-- | libraries/glfw3/glfw3.SlackBuild | 12 | ||||
-rw-r--r-- | libraries/glfw3/glfw3.info | 8 |
3 files changed, 10 insertions, 12 deletions
diff --git a/libraries/glfw3/README b/libraries/glfw3/README index 3093fd4ef6..818509e526 100644 --- a/libraries/glfw3/README +++ b/libraries/glfw3/README @@ -8,5 +8,3 @@ Unix-like systems using the X Window System, such as Linux and FreeBSD. GLFW is licensed under the zlib/libpng license. This is version 3 of GLFW with an incompatible API to GLFW 2. - -vulkansdk is an optional dependency for vulkan support. diff --git a/libraries/glfw3/glfw3.SlackBuild b/libraries/glfw3/glfw3.SlackBuild index dd9194c695..29af606599 100644 --- a/libraries/glfw3/glfw3.SlackBuild +++ b/libraries/glfw3/glfw3.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for glfw3 # Copyright 2015 Jeffrey T. Read <bitwize@gmail.com> USA -# Copyright 2018 Hunter Sezen California, USA +# Copyright 2018-2019 Hunter Sezen California, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ PRGNAM=glfw3 SRCNAM=${PRGNAM%3} -VERSION=${VERSION:-3.2.1} +VERSION=${VERSION:-3.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -71,15 +71,15 @@ 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 {} \; -# glfw3 doesn'5 install documentation or examples so don't build them. +# glfw3 doesn't install documentation or examples so don't build them. mkdir -p build cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DLIB_SUFFIX=${LIBDIRSUFFIX} \ - -DBUILD_SHARED_LIBS=1 \ + -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \ + -DBUILD_SHARED_LIBS=ON \ -DGLFW_BUILD_EXAMPLES=OFF \ -DGLFW_BUILD_DOCS=OFF \ -DCMAKE_BUILD_TYPE=Release .. @@ -91,7 +91,7 @@ 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING.txt README.md $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE.md 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/libraries/glfw3/glfw3.info b/libraries/glfw3/glfw3.info index 0ddf17534d..4c365a3564 100644 --- a/libraries/glfw3/glfw3.info +++ b/libraries/glfw3/glfw3.info @@ -1,10 +1,10 @@ PRGNAM="glfw3" -VERSION="3.2.1" +VERSION="3.3" HOMEPAGE="https://www.glfw.org/" -DOWNLOAD="https://github.com/glfw/glfw/archive/3.2.1/glfw3-3.2.1.tar.gz" -MD5SUM="91b8250b6edcc26c9f5205555070a504" +DOWNLOAD="https://github.com/glfw/glfw/archive/3.3/glfw3-3.3.tar.gz" +MD5SUM="5be03812f5d109817e6558c3fab7bbe1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Hunter Sezen" -EMAIL="orbea@fredslev.dk" +EMAIL="orbea@riseup.net" |