mirror of
https://github.com/epasveer/seer.git
synced 2026-08-29 16:40:42 +08:00
42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
app-id: io.github.epasveer.seergdb
|
|
runtime: org.kde.Platform
|
|
runtime-version: '6.10'
|
|
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"
|
|
|