summaryrefslogtreecommitdiff
path: root/engineer.atlas.Nyxt.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'engineer.atlas.Nyxt.yaml')
-rw-r--r--engineer.atlas.Nyxt.yaml76
1 files changed, 76 insertions, 0 deletions
diff --git a/engineer.atlas.Nyxt.yaml b/engineer.atlas.Nyxt.yaml
new file mode 100644
index 000000000..a827f4c56
--- /dev/null
+++ b/engineer.atlas.Nyxt.yaml
@@ -0,0 +1,76 @@
+# Keep in sync with https://github.com/flathub/engineer.atlas.Nyxt/.
+app-id: engineer.atlas.Nyxt
+runtime: org.gnome.Platform
+runtime-version: '45'
+sdk: org.gnome.Sdk
+rename-icon: nyxt
+rename-appdata-file: nyxt.metainfo.xml
+rename-desktop-file: nyxt.desktop
+command: nyxt
+
+finish-args:
+ - --device=dri
+ - --share=network
+ - --share=ipc
+ - --socket=wayland
+ - --socket=fallback-x11
+ - --socket=pulseaudio
+ - --socket=cups
+ - --filesystem=host
+ # Allow invoking host commands via flatpak-spawn --host <command> <command-args>
+ - --talk-name=org.freedesktop.Flatpak
+ # See http://sbcl.org/getting.html
+ - --env=SBCL_HOME=/app/lib/sbcl
+
+modules:
+ - name: sbcl
+ buildsystem: simple
+ sources:
+ - type: archive
+ url: http://prdownloads.sourceforge.net/sbcl/sbcl-2.4.7-x86-64-linux-binary.tar.bz2
+ sha256: 1f900cf99f2617f613fe0a6d3490d3e00aa5e9740c88a8c88022a0ac766b0457
+ only-arches: [x86_64]
+ build-commands:
+ - INSTALL_ROOT=${FLATPAK_DEST} sh install.sh
+
+ - name: xsel
+ buildsystem: autotools
+ sources:
+ - type: git
+ url: https://github.com/kfish/xsel.git
+ tag: 1.2.1
+
+ - name: wl-clipboard
+ buildsystem: meson
+ config-opts:
+ - -Dzshcompletiondir=no
+ - -Dfishcompletiondir=no
+ sources:
+ - type: git
+ url: https://github.com/bugaevc/wl-clipboard.git
+ tag: v2.2.1
+
+ - name: libfixposix
+ buildsystem: autotools
+ sources:
+ - type: git
+ url: https://github.com/sionescu/libfixposix.git
+ tag: v0.5.1
+ - type: script
+ dest-filename: autogen.sh
+ commands:
+ - autoreconf -fi
+ cleanup:
+ - /lib/pkgconfig
+ - /include
+ - '*.h'
+ - '*.pc'
+ - '*.la'
+
+ - name: nyxt
+ buildsystem: simple
+ sources:
+ - type: dir
+ path: ..
+ build-commands:
+ - make install DESTDIR=${FLATPAK_DEST} PREFIX=