void-packages/srcpkgs/glfw/template
Sigrid Solveig Haflínudóttir 05a185be1d glfw: update to 3.3.7
Also add changelog url and update download URL to github project.
2022-04-05 22:26:47 +02:00

27 lines
861 B
Bash

# Template file for 'glfw'
# update together with glfw-wayland
pkgname=glfw
version=3.3.7
revision=1
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON"
makedepends="MesaLib-devel libXrandr-devel libXi-devel glu-devel libXcursor-devel
libXinerama-devel"
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/${pkgname}/${pkgname}/archive/${version}.tar.gz"
checksum=fd21a5f65bcc0fc3c76e0f8865776e852de09ef6fbc3620e09ce96d2b2807e04
glfw-devel_package() {
depends="glfw>=${version}_${revision} $makedepends"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove /usr/lib/cmake
vmove "usr/lib/*.so"
}
}