mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 15:13:51 +02:00
glfw-wayland: update to 3.3.2.
This commit is contained in:
parent
d0ed3a2930
commit
2fe969ce04
1 changed files with 5 additions and 10 deletions
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'glfw-wayland'
|
# Template file for 'glfw-wayland'
|
||||||
pkgname=glfw-wayland
|
pkgname=glfw-wayland
|
||||||
version=3.3
|
version=3.3.2
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc=glfw-${version}
|
wrksrc=glfw-${version}
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DBUILD_SHARED_LIBS=ON -DGLFW_USE_WAYLAND=ON"
|
configure_args="-DBUILD_SHARED_LIBS=ON -DGLFW_USE_WAYLAND=ON"
|
||||||
hostmakedepends="extra-cmake-modules pkg-config"
|
hostmakedepends="extra-cmake-modules pkg-config wayland-devel"
|
||||||
makedepends="MesaLib-devel glu-devel wayland-devel wayland-protocols
|
makedepends="MesaLib-devel glu-devel wayland-devel wayland-protocols
|
||||||
libxkbcommon-devel"
|
libxkbcommon-devel"
|
||||||
short_desc="Multi-platform library for creating windows with OpenGL contexts"
|
short_desc="Multi-platform library for creating windows with OpenGL contexts"
|
||||||
|
@ -13,17 +13,12 @@ maintainer="q66 <daniel@octaforge.org>"
|
||||||
license="Zlib"
|
license="Zlib"
|
||||||
homepage="http://www.glfw.org"
|
homepage="http://www.glfw.org"
|
||||||
distfiles="${SOURCEFORGE_SITE}/glfw/glfw-${version}.tar.bz2"
|
distfiles="${SOURCEFORGE_SITE}/glfw/glfw-${version}.tar.bz2"
|
||||||
checksum=32797630af0da94a1a05302bca0435eae352f593197a04670d797de2e492a5a5
|
checksum=ec5764961bb9262d5a5c24523b1522d121d7a7b06ce2affe921c6d438324cc8d
|
||||||
provides="glfw-${version}_${revision}"
|
provides="glfw-${version}_${revision}"
|
||||||
replaces="glfw>=0"
|
replaces="glfw>=0"
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
|
||||||
# wayland-scanner
|
|
||||||
hostmakedepends+=" wayland-devel"
|
|
||||||
fi
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmkdir usr/lib
|
vmkdir usr/lib
|
||||||
install -m755 ${wrksrc}/build/src/libglfw.so.${version} ${DESTDIR}/usr/lib/
|
install -m755 ${wrksrc}/build/src/libglfw.so.${version%.*} ${DESTDIR}/usr/lib/
|
||||||
ln -s libglfw.so.${version} ${DESTDIR}/usr/lib/libglfw.so.3
|
ln -s libglfw.so.${version%.*} ${DESTDIR}/usr/lib/libglfw.so.3
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue