Clean up GLFW

This commit is contained in:
brooksytech 2022-09-13 07:28:32 -07:00
parent 740dc773cb
commit abc5394144
No known key found for this signature in database
GPG key ID: 45B78D3C7B40B188

View file

@ -3,7 +3,7 @@
PKG_NAME="glfw"
PKG_VERSION="6b57e08bb0078c9834889eab871bac2368198c15"
PKG_ARCH="aarch64,x86_64"
PKG_ARCH="any"
PKG_LICENSE="zlib"
PKG_DEPENDS_TARGET="toolchain expat libdrm Mako:host "
PKG_SITE="https://github.com/glfw/glfw"
@ -29,6 +29,12 @@ if [ "${DISPLAYSERVER}" = "wl" ]; then
PKG_CMAKE_OPTS_TARGET+=" -DGLFW_BUILD_WAYLAND=ON"
fi
case ${ARCH} in
arm)
PKG_CMAKE_OPTS_TARGET+=" -DGLFW_BUILD_X11=OFF"
;;
esac
makeinstall_target() {
mkdir -p $INSTALL/usr/lib/
cp $PKG_BUILD/.$TARGET_NAME/src/libglfw* $INSTALL/usr/lib/