summaryrefslogtreecommitdiff
path: root/user/glfw
diff options
context:
space:
mode:
Diffstat (limited to 'user/glfw')
-rw-r--r--user/glfw/APKBUILD13
1 files changed, 5 insertions, 8 deletions
diff --git a/user/glfw/APKBUILD b/user/glfw/APKBUILD
index ab55f9771..47d24728f 100644
--- a/user/glfw/APKBUILD
+++ b/user/glfw/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=glfw
-pkgver=3.2.1
+pkgver=3.3.2
pkgrel=0
pkgdesc="OpenGL desktop development library"
url="http://www.glfw.org/"
@@ -13,10 +13,9 @@ depends_dev="mesa-dev"
makedepends="$depends_dev cmake doxygen libx11-dev libxrandr-dev libxcursor-dev
libxinerama-dev"
subpackages="$pkgname-dev $pkgname-doc"
-source="https://github.com/glfw/glfw/releases/download/3.2.1/glfw-$pkgver.zip"
+source="https://github.com/glfw/glfw/releases/download/$pkgver/glfw-$pkgver.zip"
build() {
- cd "$builddir"
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
@@ -25,24 +24,22 @@ build() {
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
- -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
-DBUILD_SHARED_LIBS=ON \
-DGLFW_BUILD_TESTS=OFF \
-DGLFW_BUILD_EXAMPLES=OFF \
- ${CMAKE_CROSSOPTS}
+ ${CMAKE_CROSSOPTS} \
+ .
make
}
check() {
- cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
install -D -d "$builddir"/docs/html "$pkgdir"/usr/share/doc/$pkgname/
}
-sha512sums="73dd6d4a8d28a2b423f0fb25489659c1a845182b7ef09848d4f442cdc489528aea90f43ac84aeedb9d2301c4487f39782b647ee4959e67e83babb838372b980c glfw-3.2.1.zip"
+sha512sums="3084f405f6ecfa182df0841ffb44248b716fc03282afd8e6dc9a1361897fe62a1ce049b95f662d79aaae45aa52208bb552b8c649284f7f6d9c12623ac3728e60 glfw-3.3.2.zip"