2019-08-24 13:37:15 +00:00
|
|
|
# Template file for 'glfw-wayland'
|
|
|
|
pkgname=glfw-wayland
|
2020-02-14 14:16:46 +00:00
|
|
|
version=3.3.2
|
2019-08-24 13:37:15 +00:00
|
|
|
revision=1
|
|
|
|
wrksrc=glfw-${version}
|
|
|
|
build_style=cmake
|
|
|
|
configure_args="-DBUILD_SHARED_LIBS=ON -DGLFW_USE_WAYLAND=ON"
|
2020-02-14 14:16:46 +00:00
|
|
|
hostmakedepends="extra-cmake-modules pkg-config wayland-devel"
|
2019-08-24 13:37:15 +00:00
|
|
|
makedepends="MesaLib-devel glu-devel wayland-devel wayland-protocols
|
|
|
|
libxkbcommon-devel"
|
|
|
|
short_desc="Multi-platform library for creating windows with OpenGL contexts"
|
|
|
|
maintainer="q66 <daniel@octaforge.org>"
|
|
|
|
license="Zlib"
|
|
|
|
homepage="http://www.glfw.org"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/glfw/glfw-${version}.tar.bz2"
|
2020-02-14 14:16:46 +00:00
|
|
|
checksum=ec5764961bb9262d5a5c24523b1522d121d7a7b06ce2affe921c6d438324cc8d
|
2019-08-24 13:37:15 +00:00
|
|
|
provides="glfw-${version}_${revision}"
|
|
|
|
replaces="glfw>=0"
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vmkdir usr/lib
|
2020-02-14 14:16:46 +00:00
|
|
|
install -m755 ${wrksrc}/build/src/libglfw.so.${version%.*} ${DESTDIR}/usr/lib/
|
|
|
|
ln -s libglfw.so.${version%.*} ${DESTDIR}/usr/lib/libglfw.so.3
|
2019-08-24 13:37:15 +00:00
|
|
|
}
|