A convergent/adaptive app for streaming Hip-Hop mixtapes.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

43 lines
1.4 KiB

app-id: sh.xaviers.Opentapes
command: opentapes
runtime: org.gnome.Platform
runtime-version: '41'
sdk: org.gnome.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.node16
- org.freedesktop.Sdk.Extension.rust-stable
rename-icon: opentapes
finish-args:
- --device=dri
- --share=ipc
- --socket=wayland
- --socket=fallback-x11
- --socket=pulseaudio
- --share=network
build-options:
append-path: /usr/lib/sdk/node16/bin:/usr/lib/sdk/rust-stable/bin
build-args:
- --share=network
env:
NPM_CONFIG_LOGLEVEL: info
CARGO_HOME: /run/build/Opentapes/cargo
RUST_BACKTRACE: '1'
cleanup:
- /node_modules
- /dist
- /src-tauri/target
modules:
- name: Opentapes
sources:
- path: .
type: dir
buildsystem: simple
build-commands:
- yarn install
- yarn build
- cargo install tauri-cli --version 1.0.0-beta.7
- cargo tauri build
- install -Dm755 -t /app/bin/ src-tauri/target/release/bundle/deb/*/data/usr/bin/opentapes
- install -Dm644 -t /app/share/applications/ resources/sh.xaviers.Opentapes.desktop
- install -Dm644 -t /app/share/metainfo/ resources/sh.xaviers.Opentapes.appdata.xml
- for i in 16 32 128 256 512;do install -Dm644 src-tauri/target/release/bundle/deb/*/data/usr/share/icons/hicolor/${i}x${i}/apps/opentapes.png /app/share/icons/hicolor/${i}x${i}/apps/opentapes.png;done