# 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 " 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 }