glfw: update to 3.4.

This commit is contained in:
John 2024-07-09 14:53:05 +02:00 committed by John Zimmermann
parent e8090e1e79
commit 2e04ace49e
3 changed files with 12 additions and 27 deletions

1
srcpkgs/glfw-wayland Symbolic link
View File

@ -0,0 +1 @@
glfw

View File

@ -1,24 +0,0 @@
# Template file for 'glfw-wayland'
pkgname=glfw-wayland
version=3.3.8
revision=1
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON -DGLFW_USE_WAYLAND=ON"
hostmakedepends="extra-cmake-modules pkg-config wayland-devel"
makedepends="MesaLib-devel glu-devel wayland-devel wayland-protocols
libxkbcommon-devel"
short_desc="Multi-platform library for creating windows with OpenGL contexts"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Zlib"
homepage="http://www.glfw.org"
changelog="https://www.glfw.org/changelog.html"
distfiles="https://github.com/glfw/glfw/archive/${version}.tar.gz"
checksum=f30f42e05f11e5fc62483e513b0488d5bceeab7d9c5da0ffe2252ad81816c713
provides="glfw-${version}_${revision}"
replaces="glfw>=0"
do_install() {
vmkdir usr/lib
install -m755 ${wrksrc}/build/src/libglfw.so.${version%.*} ${DESTDIR}/usr/lib/
ln -s libglfw.so.${version%.*} ${DESTDIR}/usr/lib/libglfw.so.3
}

View File

@ -1,19 +1,27 @@
# Template file for 'glfw'
# update together with glfw-wayland
pkgname=glfw
version=3.3.8
version=3.4
revision=1
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON"
hostmakedepends="pkg-config wayland-devel"
makedepends="MesaLib-devel libXrandr-devel libXi-devel glu-devel libXcursor-devel
libXinerama-devel"
libxkbcommon-devel libXinerama-devel wayland-devel wayland-protocols"
short_desc="Multi-platform library for creating windows with OpenGL contexts"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="Zlib"
homepage="http://www.glfw.org"
changelog="https://www.glfw.org/changelog.html"
distfiles="https://github.com/glfw/glfw/archive/${version}.tar.gz"
checksum=f30f42e05f11e5fc62483e513b0488d5bceeab7d9c5da0ffe2252ad81816c713
checksum=c038d34200234d071fae9345bc455e4a8f2f544ab60150765d7704e08f3dac01
glfw-wayland_package() {
build_style=meta
short_desc+=" - (transitional dummy package)"
depends="${sourcepkg}>=${version}_${revision}"
}
glfw-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"