2022-10-06 09:14:05 -07:00
|
|
|
---
|
|
|
|
app-id: org.onionshare.OnionShare
|
|
|
|
command: onionshare
|
|
|
|
runtime: org.kde.Platform
|
2025-02-02 13:22:45 -08:00
|
|
|
runtime-version: "6.8"
|
2022-10-06 09:14:05 -07:00
|
|
|
sdk: org.kde.Sdk
|
|
|
|
sdk-extensions:
|
|
|
|
- org.freedesktop.Sdk.Extension.golang
|
2025-02-02 13:22:45 -08:00
|
|
|
- org.freedesktop.Sdk.Extension.llvm19
|
2022-10-06 09:14:05 -07:00
|
|
|
separate-locales: false
|
|
|
|
finish-args:
|
|
|
|
- "--device=dri"
|
|
|
|
- "--share=ipc"
|
|
|
|
- "--share=network"
|
|
|
|
- "--socket=wayland"
|
|
|
|
- "--socket=fallback-x11"
|
|
|
|
- "--talk-name=org.freedesktop.Notifications"
|
|
|
|
- "--talk-name=org.freedesktop.secrets"
|
|
|
|
- "--filesystem=~/OnionShare:create"
|
|
|
|
cleanup:
|
|
|
|
- "/go"
|
|
|
|
- "/bin/scripts"
|
|
|
|
modules:
|
2023-02-08 16:11:09 -08:00
|
|
|
- name: pyside6
|
|
|
|
buildsystem: simple
|
|
|
|
build-commands: []
|
|
|
|
modules:
|
|
|
|
- name: pyside6-essentials
|
|
|
|
only-arches:
|
2023-02-08 16:25:43 -08:00
|
|
|
- x86_64
|
2023-02-08 16:11:09 -08:00
|
|
|
buildsystem: simple
|
|
|
|
build-commands:
|
|
|
|
- pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}"
|
|
|
|
--prefix=${FLATPAK_DEST} "pyside6-essentials" --no-build-isolation
|
|
|
|
sources:
|
|
|
|
- type: file
|
2025-02-12 13:38:31 +11:00
|
|
|
url: https://files.pythonhosted.org/packages/d2/f9/aa4ff511ff1f3dd177f7e8f5a635e03fe578fa2045c8d6be4577e7db3b28/PySide6_Essentials-6.8.2.1-cp39-abi3-manylinux_2_28_x86_64.whl
|
|
|
|
sha256: 5ab31e5395a4724102edd6e8ff980fa3f7cde2aa79050763a1dcc30bb914195a
|
2023-02-08 16:11:09 -08:00
|
|
|
modules:
|
|
|
|
- name: shiboken6
|
|
|
|
buildsystem: simple
|
|
|
|
build-commands:
|
|
|
|
- pip3 install --verbose --exists-action=i --no-index --find-links="file://${PWD}"
|
|
|
|
--prefix=${FLATPAK_DEST} "shiboken6" --no-build-isolation
|
|
|
|
sources:
|
|
|
|
- type: file
|
2025-02-12 13:38:31 +11:00
|
|
|
url: https://files.pythonhosted.org/packages/7b/ff/ab4f287b9573e50b5a47c10e2af8feb5abecc3c7431bd5deec135efc969e/shiboken6-6.8.2.1-cp39-abi3-manylinux_2_28_x86_64.whl
|
|
|
|
sha256: c83e90056f13d0872cc4d2b7bf60b6d6e3b1b172f1f91910c0ba5b641af01758
|
2025-02-07 11:42:49 +11:00
|
|
|
- name: snowflake-client
|
|
|
|
buildsystem: simple
|
|
|
|
build-options:
|
|
|
|
append-path: /usr/lib/sdk/golang/bin
|
|
|
|
env:
|
|
|
|
GOBIN: "/app/bin/"
|
|
|
|
GO11MODULE: on
|
|
|
|
GOROOT: /usr/lib/sdk/golang
|
|
|
|
build-commands:
|
|
|
|
- ". /usr/lib/sdk/golang/enable.sh && go build -mod=vendor -o /app/bin/snowflake-client ./client"
|
|
|
|
sources:
|
|
|
|
- type: git
|
|
|
|
url: https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
|
|
|
|
tag: v2.10.1
|
|
|
|
- snowflake/go.mod.yml
|
|
|
|
- name: obfs4proxy
|
|
|
|
buildsystem: simple
|
|
|
|
build-options:
|
|
|
|
append-path: /usr/lib/sdk/golang/bin
|
|
|
|
env:
|
|
|
|
GOBIN: "/app/bin/"
|
|
|
|
GO11MODULE: on
|
|
|
|
GOROOT: /usr/lib/sdk/golang
|
|
|
|
build-commands:
|
|
|
|
- ". /usr/lib/sdk/golang/enable.sh && go build -mod=vendor -o /app/bin/obfs4proxy ./obfs4proxy"
|
|
|
|
sources:
|
|
|
|
- type: git
|
|
|
|
url: https://gitlab.com/yawning/obfs4.git
|
|
|
|
tag: obfs4proxy-0.0.14
|
|
|
|
- obfs4proxy/go.mod.yml
|
|
|
|
- name: meek-client
|
|
|
|
buildsystem: simple
|
|
|
|
build-options:
|
|
|
|
append-path: /usr/lib/sdk/golang/bin
|
|
|
|
env:
|
|
|
|
GOBIN: "/app/bin/"
|
|
|
|
GO11MODULE: on
|
|
|
|
GOROOT: /usr/lib/sdk/golang
|
|
|
|
build-commands:
|
|
|
|
- ". /usr/lib/sdk/golang/enable.sh && go build -mod=vendor -o /app/bin/meek-client ./meek-client"
|
|
|
|
sources:
|
|
|
|
- type: git
|
|
|
|
url: https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/meek.git
|
|
|
|
tag: v0.38.0
|
|
|
|
- meek-client/go.mod.yml
|
2022-10-06 09:14:05 -07:00
|
|
|
- name: tor
|
|
|
|
buildsystem: autotools
|
|
|
|
sources:
|
|
|
|
- type: archive
|
2025-02-08 17:03:45 +11:00
|
|
|
sha256: 5047e1ded12d9aac4eb858f7634a627714dd58ce99053d517691a4b304a66d10
|
|
|
|
url: https://dist.torproject.org/tor-0.4.8.14.tar.gz
|
2022-10-06 09:14:05 -07:00
|
|
|
modules:
|
|
|
|
- name: libevent
|
|
|
|
buildsystem: autotools
|
|
|
|
sources:
|
|
|
|
- type: archive
|
|
|
|
url: https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz
|
|
|
|
sha256: 92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb
|
|
|
|
- name: onionshare
|
|
|
|
buildsystem: simple
|
|
|
|
ensure-writable:
|
|
|
|
- easy-install.pth
|
|
|
|
build-commands:
|
2023-09-27 15:54:11 -07:00
|
|
|
- rm desktop/pyproject.toml
|
2023-09-11 12:53:51 -07:00
|
|
|
- cd desktop && pip3 install --prefix=${FLATPAK_DEST} .
|
2022-10-06 09:14:05 -07:00
|
|
|
- cd desktop && install -D -m0644 org.onionshare.OnionShare.appdata.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.appdata.xml
|
|
|
|
- cd desktop && install -D -m0644 org.onionshare.OnionShare.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/org.onionshare.OnionShare.svg
|
|
|
|
- cd desktop && install -D -m0644 org.onionshare.OnionShare.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
|
|
|
|
sources:
|
|
|
|
- type: dir
|
|
|
|
path: ..
|
|
|
|
# - type: git
|
|
|
|
# url: https://github.com/onionshare/onionshare.git
|
2025-02-02 19:48:40 -08:00
|
|
|
# tag: v2.6.2
|
2025-02-02 13:47:00 -08:00
|
|
|
modules:
|
2025-02-08 17:19:11 +11:00
|
|
|
- onionshare-desktop.yaml
|
2022-10-06 09:14:05 -07:00
|
|
|
- name: onionshare-cli
|
|
|
|
buildsystem: simple
|
|
|
|
build-commands:
|
2023-09-27 15:54:11 -07:00
|
|
|
- rm cli/pyproject.toml
|
2023-09-11 12:53:51 -07:00
|
|
|
- cd cli && pip3 install --prefix=${FLATPAK_DEST} --no-deps .
|
2022-10-06 09:14:05 -07:00
|
|
|
sources:
|
|
|
|
- type: dir
|
|
|
|
path: ..
|
|
|
|
# - type: git
|
|
|
|
# url: https://github.com/onionshare/onionshare.git
|
2025-02-02 19:48:40 -08:00
|
|
|
# tag: v2.6.2
|
2022-10-06 09:14:05 -07:00
|
|
|
modules:
|
2025-02-08 17:19:11 +11:00
|
|
|
- onionshare-cli.yaml
|