From 212b6e98082bce6088735cfbd6e6e30a83d79461 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 14 Mar 2022 21:54:35 -0700 Subject: [PATCH] New template files for doing flatpak builds. --- org.fsf.pspp.flatpakref | 8 ++++++++ org.fsf.pspp.yml | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 org.fsf.pspp.flatpakref create mode 100644 org.fsf.pspp.yml diff --git a/org.fsf.pspp.flatpakref b/org.fsf.pspp.flatpakref new file mode 100644 index 0000000000..3e8ac16d66 --- /dev/null +++ b/org.fsf.pspp.flatpakref @@ -0,0 +1,8 @@ +[Flatpak Ref] +Title=GNU PSPP +Name=org.fsf.pspp +Branch=master +Url=REPO_URL +IsRuntime=false +RuntimeRepo=https://dl.flathub.org/repo/flathub.flatpakrepo +GPGKey=LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCgptRE1FWWpBT1hoWUpLd1lCQkFIYVJ3OEJBUWRBa09BOUFIVjdMdVdWbmdIbytzWnRSNkgrYTJ0aHlDSDlYbHcwCmx4Q2wrQTIwQkhCemNIQ0lsZ1FURmdnQVBoWWhCTExBR0VkczJJUExFZ3VSMmxDeU1Cd0t0Zkl5QlFKaU1BNWUKQWhzREJRa0R3bWNBQlFzSkNBY0RCUlVLQ1FnTEJSWUNBd0VBQWg0RkFoZUFBQW9KRUZDeU1Cd0t0Zkl5T01ZQgpBSm54dUJlNWFxWTJiVXc1c0ltVXI5ejFKOEtGYzROMjRWdlRqMW1weEJKUkFQOXp6ZnRrNnpQT1gvSS95RFA3CnN0S2lLTTdVNDBGd0dwMmZCTk9WL3AxMENyZzRCR0l3RGw0U0Npc0dBUVFCbDFVQkJRRUJCMERHYlBCVCt0eVUKbWwzS2MxcmRiN2UxR0RpWGVyNEF6c3BCQitkeVZRNlVDQU1CQ0FlSWVBUVlGZ2dBSUJZaEJMTEFHRWRzMklQTApFZ3VSMmxDeU1Cd0t0Zkl5QlFKaU1BNWVBaHNNQUFvSkVGQ3lNQndLdGZJeTh5VUEvanNCczZGRHo1OHhjL3FlCkcyUDFKRjRycmdQZFNxMVU1S3FSYjNPU2hDWUJBUDBVV0NnZTR2QjRFL3NSYmFMMEJQNVR6MnBlOHZ4Vk9IM1AKbFFvTWdYa25EQT09Cj0xQjlWCi0tLS0tRU5EIFBHUCBQVUJMSUMgS0VZIEJMT0NLLS0tLS0K diff --git a/org.fsf.pspp.yml b/org.fsf.pspp.yml new file mode 100644 index 0000000000..ad4087e619 --- /dev/null +++ b/org.fsf.pspp.yml @@ -0,0 +1,35 @@ +app-id: org.fsf.pspp +runtime: org.gnome.Platform +runtime-version: '41' +sdk: org.gnome.Sdk +command: psppire +modules: + - name: spread-sheet-widget + buildsystem: autotools + sources: + - type: archive + url: https://alpha.gnu.org/gnu/ssw/spread-sheet-widget-0.8.tar.gz + sha256: 8589d8298fcf3b5850d0968b04801a4f40faf0555544f6cc9d954b0162e9954b + - name: gsl + buildsystem: autotools + sources: + - type: archive + url: https://ftp.gnu.org/gnu/gsl/gsl-2.7.1.tar.gz + sha256: dcb0fbd43048832b757ff9942691a8dd70026d5da0ff85601e52687f6deeb34b + - name: pspp + buildsystem: simple + sources: + - type: archive + path: SOURCE_PATH + dest: pspp + build-commands: + - cd pspp && ./configure --prefix=/app --libdir=/app/lib && make -j$(nproc) && make -j$(nproc) install +finish-args: + # X11 + XShm access + - --share=ipc + - --socket=x11 + # Wayland access + - --socket=wayland + - --own-name=gnu.pspp + - --talk-name=org.gtk.vfs.* + - --filesystem=xdg-run/gvfsd -- 2.30.2