24 lines
872 B
Bash
24 lines
872 B
Bash
# Template file for 'glfw-wayland'
|
|
pkgname=glfw-wayland
|
|
version=3.3.5
|
|
revision=1
|
|
wrksrc=glfw-${version}
|
|
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="q66 <daniel@octaforge.org>"
|
|
license="Zlib"
|
|
homepage="http://www.glfw.org"
|
|
distfiles="${SOURCEFORGE_SITE}/glfw/glfw-${version}.tar.bz2"
|
|
checksum=7bf8d4df3436f6eac7356e47fff7eb5a3610a692bffa27ce57dd55166abed5ea
|
|
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
|
|
}
|