Files
seer/flatpak/io.github.epasveer.seergdb.yml
T
Ernie Pasveer feafb9d40e Another try.
2025-12-06 12:25:52 -06:00

44 lines
1.3 KiB
YAML

app-id: io.github.epasveer.seergdb
runtime: org.kde.Platform
runtime-version: '6.8'
sdk: org.kde.Sdk
command: seergdb
finish-args:
- --share=ipc
- --socket=fallback-x11
- --socket=wayland
- --device=dri
- --share=network
# Access to system debugging
- --device=all
# Allow ptrace for debugging processes
- --allow=devel
# Filesystem access for debugging programs
- --filesystem=host
# Allow talking to system bus for debugging
- --socket=system-bus
- --socket=session-bus
modules:
- name: seergdb
buildsystem: simple
sources:
- type: git
url: https://github.com/epasveer/seer.git
# branch: main
branch: 377-suggestion-consider-publishing-this-project-on-flathub
# branch: 393-add-external-define-to-set-default-gdb-to-use
# commit: a04e774023ea69d06b4054f18fedbe26286a6957
# tag: v2.6
build-commands:
- mkdir build
- cd build && cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/app \
-DCONFIG_SEER_GDB_LAUNCHER="flatpak-spawn --host" \
../src
- cd build && ninja
- install -Dm755 build/seergdb /app/bin/seergdb
# Make sure runtime can find it:
environment:
LD_LIBRARY_PATH: "/app/lib:/app/lib64"