app-id: io.github.apancik.abuse_2025 runtime: org.freedesktop.Platform runtime-version: '25.08' sdk: org.freedesktop.Sdk command: abuse finish-args: # gamepad support - --device=all # GUI access - --share=ipc - --socket=fallback-x11 - --socket=wayland # Audio - --socket=pulseaudio build-options: strip: true no-debuginfo: true modules: - ../shared-modules/glu/glu-9.json - ../shared-modules/glew/glew.json - name: sdl2-mixer buildsystem: autotools cleanup: - /include - /lib/cmake - '*.la' - '*.a' - /lib/pkgconfig sources: - type: archive url: https://github.com/libsdl-org/SDL_mixer/releases/download/release-2.8.2/SDL2_mixer-2.8.2.tar.gz sha256: 938dff531d00ace2296557a6599abe6f34599e2f34f0a4a08a397e2ccac8b8f7 x-checker-data: type: anitya project-id: 4782 url-template: https://github.com/libsdl-org/SDL_mixer/releases/download/release-$version/SDL2_mixer-$version.tar.gz versions: <: '3.0' - name: abuse buildsystem: cmake-ninja builddir: true config-opts: - -DCMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT=True - -DCMAKE_BUILD_TYPE=Release sources: - type: archive url: https://api.github.com/repos/apancik/Abuse_2025/tarball/2025.1.0 dest-filename: abuse2025.tar.gz sha256: 24a231619f2d22b70dcb175939ddf1fadabf74b6611f21beadec9d92077b9b2a x-checker-data: type: json url: https://api.github.com/repos/apancik/abuse_2025/releases/latest version-query: .tag_name url-query: .tarball_url - type: file path: io.github.apancik.abuse_2025.metainfo.xml - type: file path: io.github.apancik.abuse_2025.png - type: file path: io.github.apancik.abuse_2025.desktop - type: script dest-filename: io.github.apancik.abuse_2025.sh commands: - | if [[ ! -f ${XDG_DATA_HOME}/abuse/data/timidity.cfg ]]; then echo "soundfont $(find /app/share/games -name *AWE*.sf2)" >> ${XDG_DATA_HOME}/abuse/data/timidity.cfg fi - export TIMIDITY_CFG=$XDG_DATA_HOME/abuse/data/timidity.cfg - abuse post-install: - install -vDm644 -t /app/share/metainfo/ ${FLATPAK_BUILDER_BUILDDIR}/${FLATPAK_ID}.metainfo.xml - install -vDm755 -t /app/share/applications/ ${FLATPAK_BUILDER_BUILDDIR}/${FLATPAK_ID}.desktop - install -vDm644 -t /app/share/icons/hicolor/256x256/apps/ ${FLATPAK_BUILDER_BUILDDIR}/${FLATPAK_ID}.png - install -vDm755 -t /app/bin/ ${FLATPAK_BUILDER_BUILDDIR}/${FLATPAK_ID}.sh - desktop-file-edit --set-key=Exec --set-value=${FLATPAK_ID}.sh ${FLATPAK_BUILDER_BUILDDIR}/${FLATPAK_ID}.desktop