From 6b9059f1369a45ca6f53ab3bb27658fa9cf85f4a Mon Sep 17 00:00:00 2001
From: Joseph Walton-Rivers <joseph@walton-rivers.uk>
Date: Sun, 31 Jul 2022 10:05:43 +0100
Subject: [PATCH] move glfw module into its own file

---
 build-aux/com.fossgalaxy.fggl.demo.yml | 13 +------------
 build-aux/modules/glfw.yml             | 12 ++++++++++++
 2 files changed, 13 insertions(+), 12 deletions(-)
 create mode 100644 build-aux/modules/glfw.yml

diff --git a/build-aux/com.fossgalaxy.fggl.demo.yml b/build-aux/com.fossgalaxy.fggl.demo.yml
index 56af3ba..8643cd4 100644
--- a/build-aux/com.fossgalaxy.fggl.demo.yml
+++ b/build-aux/com.fossgalaxy.fggl.demo.yml
@@ -9,18 +9,7 @@ finish-args:
   - "--socket=fallback-x11"
   - "--socket=wayland"
 modules:
-  - name: glfw
-    buildsystem: cmake-ninja
-    builddir: true
-    sources:
-      - type: archive
-        url: https://github.com/glfw/glfw/releases/download/3.3.4/glfw-3.3.4.zip
-        sha256: bbd2c42c660b725e9755eb417e40b373f0d4c03138c9b2e210d02cd308bd99cd
-    cleanup:
-      - /include
-      - /lib/cmake
-      - /lib/pkgconfig
-      - '*.a'
+  - modules/glfw.yml
   - modules/glm-0.9.9.8.json
   - modules/fmt.yml
   - modules/spdlog.json
diff --git a/build-aux/modules/glfw.yml b/build-aux/modules/glfw.yml
new file mode 100644
index 0000000..e892050
--- /dev/null
+++ b/build-aux/modules/glfw.yml
@@ -0,0 +1,12 @@
+name: glfw
+buildsystem: cmake-ninja
+builddir: true
+sources:
+  - type: archive
+    url: https://github.com/glfw/glfw/releases/download/3.3.4/glfw-3.3.4.zip
+    sha256: bbd2c42c660b725e9755eb417e40b373f0d4c03138c9b2e210d02cd308bd99cd
+cleanup:
+  - /include
+  - /lib/cmake
+  - /lib/pkgconfig
+  - '*.a'
-- 
GitLab