Add glfw util

master
Marko Semet 2021-11-07 20:51:08 +01:00 committed by Marko Semet
parent 507917b42e
commit d9122f1245
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
id: "com.vscodium.codium.tool.glfw"
build-extension: true
branch: "21.08"
runtime: com.vscodium.codium
sdk: org.freedesktop.Sdk//21.08
runtime-version: stable
separate-locales: false
build-options:
prefix: /app/tools/glfw
env:
- SOURCE_DATE_EPOCH=1
modules:
- name: glfw3
sources:
- type: archive
url: https://github.com/glfw/glfw/archive/refs/tags/3.3.5.tar.gz
sha256: 32fdb8705784adfe3082f97e0d41e7c515963e977b5a14c467a887cf0da827b5
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DCMAKE_INSTALL_PREFIX=/app/tools/glfw
post-install:
- find /app/tools/glfw -type f | xargs -I{} strip -g {} || true