Skip to content

Instantly share code, notes, and snippets.

@vogelj
Created March 4, 2019 18:00
Show Gist options
  • Save vogelj/dbf4772cc3a54371ef89360ed87bdf56 to your computer and use it in GitHub Desktop.
Save vogelj/dbf4772cc3a54371ef89360ed87bdf56 to your computer and use it in GitHub Desktop.
retroshare flatpak manifest
app-id: cc.retroshare.RetroShare
runtime: org.kde.Platform
runtime-version: "5.12"
sdk: org.kde.Sdk
command: retroshare
finish-args:
- --socket=pulseaudio
- --socket=wayland
- --socket=x11
- --share=network
- --persist=.retroshare
build-options:
no-debuginfo: true
strip: false
cleanup:
- /include
- /lib/pkgconfig
- /man
- /share/man
- /share/info
- "*.a"
- "*.la"
rename-desktop-file: retroshare.desktop
rename-icon: retroshare
modules:
# sqlcipher build dep
- name: tcl
buildsystem: autotools
subdir: unix
sources:
- type: archive
url: https://prdownloads.sourceforge.net/tcl/tcl8.6.9-src.tar.gz
sha256: ad0cd2de2c87b9ba8086b43957a0de3eb2eb565c7159d5f53ccbba3feb915f4e
cleanup:
- /bin
- /lib
# retroshare dep
- name: sqlcipher
buildsystem: autotools
config-opts:
- --enable-tempstore=yes
- --disable-tcl
build-options:
cflags: -DSQLITE_HAS_CODEC
ldflags: -lcrypto
sources:
- type: archive
url: https://github.com/sqlcipher/sqlcipher/archive/v4.0.1.tar.gz
sha256: 2f803017378c7479cb791be59b7bad8392a15acddbcc094e4433581fe421f4ca
cleanup:
- /bin
# retroshare dep
- name: libupnp
buildsystem: autotools
sources:
- type: archive
url: https://downloads.sourceforge.net/sourceforge/pupnp/libupnp-1.6.25.tar.bz2
sha256: c5a300b86775435c076d58a79cc0d5a977d76027d2a7d721590729b7f369fa43
# retroshare dep
- name: microhttpd
buildsystem: autotools
sources:
- type: archive
url: https://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.63.tar.gz
sha256: 37c36f1be177f0e37ef181a645cd3baac1000bd322a01c2eff70f3cc8c91749c
- name: RetroShare
buildsystem: qmake
config-opts:
- CONFIG-=debug
- CONFIG+=release
sources:
- type: archive
url: https://github.com/RetroShare/RetroShare/archive/v0.6.5.zip
sha256: e6d78eb5fb1dcc179f561cbe4934ef6f242a97be966e00c0a6d0bcde7e034183
# remove the PATCHED_LIBUPNP define, this is somehow not detected properly
- type: shell
commands:
- sed -i '/PATCHED_LIBUPNP/d' ./libretroshare/src/libretroshare.pro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment