2018-10-30 14:00:02 +00:00
|
|
|
{
|
|
|
|
"app-id": "website.i2pd.i2pd",
|
|
|
|
"runtime": "org.kde.Platform",
|
2020-02-14 02:35:23 +00:00
|
|
|
"runtime-version": "5.14",
|
2018-10-30 14:00:02 +00:00
|
|
|
"sdk": "org.kde.Sdk",
|
|
|
|
"command": "i2pd_qt_wrapper",
|
|
|
|
"finish-args": [
|
|
|
|
"--socket=x11",
|
|
|
|
"--socket=wayland",
|
|
|
|
"--share=ipc",
|
|
|
|
"--share=network",
|
2018-10-30 18:03:12 +00:00
|
|
|
"--device=dri"
|
|
|
|
],
|
2018-10-30 14:00:02 +00:00
|
|
|
"cleanup": [
|
|
|
|
"/cache",
|
2019-07-24 00:11:50 +00:00
|
|
|
"/share/doc", "/share/man", "/bin/upnpc", "/bin/external-ip",
|
2018-10-30 14:00:02 +00:00
|
|
|
"*.la", "*.a"
|
|
|
|
],
|
|
|
|
"modules": [
|
|
|
|
{
|
|
|
|
"name": "boost",
|
|
|
|
"buildsystem": "simple",
|
|
|
|
"build-commands": [
|
|
|
|
"./bootstrap.sh --with-libraries=date_time,filesystem,program_options,system",
|
|
|
|
"./b2 -j $FLATPAK_BUILDER_N_JOBS install --prefix=/app"
|
|
|
|
],
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "archive",
|
2020-02-14 02:35:23 +00:00
|
|
|
"url": "https://dl.bintray.com/boostorg/release/1.72.0/source/boost_1_72_0.tar.bz2",
|
|
|
|
"sha256": "59c9b274bc451cf91a9ba1dd2c7fdcaf5d60b1b3aa83f2c9fa143417cc660722"
|
2018-10-30 14:00:02 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "miniupnpc",
|
2018-10-30 18:03:12 +00:00
|
|
|
"no-autogen": true,
|
|
|
|
"make-install-args": ["INSTALLPREFIX=/app"],
|
2018-10-30 14:00:02 +00:00
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "archive",
|
2018-10-30 15:06:32 +00:00
|
|
|
"url": "http://miniupnp.free.fr/files/miniupnpc-2.1.tar.gz",
|
2018-10-30 14:00:02 +00:00
|
|
|
"sha256": "e19fb5e01ea5a707e2a8cb96f537fbd9f3a913d53d804a3265e3aeab3d2064c6"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "i2pd",
|
|
|
|
"buildsystem": "qmake",
|
|
|
|
"subdir": "qt/i2pd_qt",
|
|
|
|
"config-opts": ["QMAKE_LIBDIR=/app/lib"],
|
|
|
|
"no-make-install": true,
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "archive",
|
2020-10-28 18:04:13 +00:00
|
|
|
"url": "https://github.com/PurpleI2P/i2pd/archive/bdbd060229cf3d0808b83148ed89e7939d70499d.zip",
|
|
|
|
"sha256": "0181fa1852e886841495b9213e016eb23f10f4c0cf076c305d9b6b9761ba0276"
|
2018-10-30 14:00:02 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "patch",
|
|
|
|
"path": "i2pd-ldlibs.patch"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "file",
|
|
|
|
"path": "i2pd_qt_wrapper"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"post-install": [
|
|
|
|
"install -Dm777 i2pd_qt /app/bin/i2pd_qt",
|
|
|
|
"install -Dm777 ../../i2pd_qt_wrapper /app/bin/i2pd_qt_wrapper",
|
|
|
|
"install -Dm644 ../../contrib/i2pd.conf /app/i2pd/i2pd.conf",
|
|
|
|
"install -Dm644 ../../contrib/tunnels.conf /app/i2pd/tunnels.conf",
|
|
|
|
"cp -r ../../contrib/certificates /app/i2pd/certificates",
|
|
|
|
"install -Dm644 resources/images/icon.png /app/share/icons/hicolor/128x128/apps/website.i2pd.i2pd.png",
|
2018-11-09 18:53:39 +00:00
|
|
|
"install -Dm644 data/website.i2pd.i2pd.appdata.xml /app/share/metainfo/website.i2pd.i2pd.appdata.xml",
|
|
|
|
"sed -i 's/Exec=i2pd_qt/Exec=i2pd_qt_wrapper/' data/website.i2pd.i2pd.desktop",
|
|
|
|
"install -Dm644 data/website.i2pd.i2pd.desktop /app/share/applications/website.i2pd.i2pd.desktop"
|
2018-10-30 14:00:02 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|