From 1a07eac67e28ab64fc9f5b912a0dcd671437c00e Mon Sep 17 00:00:00 2001 From: Thomas A Date: Sun, 6 Mar 2022 13:29:43 -0800 Subject: [PATCH] Add `llvm13`, `libbsd`, `python-2.7`, and `libmd` --- .gitmodules | 3 +++ modules/flatpak-shared-modules | 1 + modules/libbsd/libbsd.yml | 8 ++++++++ modules/libbsd/libmd.yml | 6 ++++++ org.darlinghq.darling.yml | 7 +++++++ 5 files changed, 25 insertions(+) create mode 100644 .gitmodules create mode 160000 modules/flatpak-shared-modules create mode 100644 modules/libbsd/libbsd.yml create mode 100644 modules/libbsd/libmd.yml diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..2a7d619 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "modules/flatpak-shared-modules"] + path = modules/flatpak-shared-modules + url = https://github.com/flathub/shared-modules.git diff --git a/modules/flatpak-shared-modules b/modules/flatpak-shared-modules new file mode 160000 index 0000000..087c800 --- /dev/null +++ b/modules/flatpak-shared-modules @@ -0,0 +1 @@ +Subproject commit 087c800ebf0e8109888e829cf3de516ba060124d diff --git a/modules/libbsd/libbsd.yml b/modules/libbsd/libbsd.yml new file mode 100644 index 0000000..1c3f4bc --- /dev/null +++ b/modules/libbsd/libbsd.yml @@ -0,0 +1,8 @@ +name: libbsd +buildsystem: autotools +modules: + - "libmd.yml" +sources: + - type: archive + url: https://libbsd.freedesktop.org/releases/libbsd-0.11.5.tar.xz + sha256: 1a9c952525635c1bb6770cb22e969b938d8e6a9d7912362b98ee8370599b0efd \ No newline at end of file diff --git a/modules/libbsd/libmd.yml b/modules/libbsd/libmd.yml new file mode 100644 index 0000000..a7fcc46 --- /dev/null +++ b/modules/libbsd/libmd.yml @@ -0,0 +1,6 @@ +name: libmd +buildsystem: autotools +sources: + - type: archive + url: https://libbsd.freedesktop.org/releases/libmd-1.0.4.tar.xz + sha256: f51c921042e34beddeded4b75557656559cf5b1f2448033b4c1eec11c07e530f \ No newline at end of file diff --git a/org.darlinghq.darling.yml b/org.darlinghq.darling.yml index cfe8c6c..f181ad4 100644 --- a/org.darlinghq.darling.yml +++ b/org.darlinghq.darling.yml @@ -2,13 +2,20 @@ app-id: org.darlinghq.Darling runtime: org.freedesktop.Platform runtime-version: '21.08' sdk: org.freedesktop.Sdk +sdk-extensions: + - org.freedesktop.Sdk.Extension.llvm13 command: darling shell modules: - name: darling buildsystem: cmake builddir: true + build-options: + append-path: /usr/lib/sdk/llvm13/bin + prepend-ld-library-path: /usr/lib/sdk/llvm13/lib modules: - modules/fuse/fuse.yml + - modules/libbsd/libbsd.yml + - modules/flatpak-shared-modules/python2.7/python-2.7.json sources: - type: git url: https://github.com/darlinghq/darling.git