id: space.f1nn.chorus runtime: org.gnome.Platform runtime-version: "50" sdk: org.gnome.Sdk command: chorus sdk-extensions: - org.freedesktop.Sdk.Extension.golang finish-args: - --socket=wayland - --socket=fallback-x11 - --device=dri - --share=ipc - --share=network - --talk-name=org.mpris.MediaPlayer2.* build-options: append-path: /usr/lib/sdk/golang/bin env: GOFLAGS: -mod=vendor GOCACHE: /run/ccache/go-build modules: - name: chorus buildsystem: simple build-commands: - go build -o chorus ./cmd/chorus - install -Dm755 chorus ${FLATPAK_DEST}/bin/chorus - install -Dm644 data/${FLATPAK_ID}.gschema.xml ${FLATPAK_DEST}/share/glib-2.0/schemas/${FLATPAK_ID}.gschema.xml - glib-compile-schemas ${FLATPAK_DEST}/share/glib-2.0/schemas - install -Dm644 data/${FLATPAK_ID}.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop - install -Dm644 data/${FLATPAK_ID}.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml - install -Dm644 data/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg - install -Dm644 data/icons/hicolor/symbolic/apps/${FLATPAK_ID}-symbolic.svg ${FLATPAK_DEST}/share/icons/hicolor/symbolic/apps/${FLATPAK_ID}-symbolic.svg sources: - type: git url: https://github.com/f1nniboy/chorus.git tag: v0.2.0 commit: 58d87a02e82e5ebc926a51492c48dc7f57d42036 x-checker-data: type: git - go.mod.yml