1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 08:04:49 -05:00
sdrangel/flatpak/org.sdrangel.SDRangel.json
2020-11-05 14:20:50 +01:00

525 lines
12 KiB
JSON

{
"app-id": "org.sdrangel.SDRangel",
"runtime": "org.kde.Platform",
"runtime-version": "5.12",
"sdk": "org.kde.Sdk",
"command": "sdrangel",
"rename-desktop-file": "sdrangel.desktop",
"rename-icon": "sdrangel_icon",
"copy-icon": true,
"finish-args": [
"--filesystem=xdg-documents",
"--device=all",
"--share=network",
"--share=ipc",
"--socket=pulseaudio",
"--socket=x11",
"--socket=wayland",
"--env=QT_QPA_PLATFORM=xcb"
],
"modules": [
{
"name": "boost",
"buildsystem": "simple",
"sources": [
{
"type": "archive",
"url": "https://dl.bintray.com/boostorg/release/1.71.0/source/boost_1_71_0.tar.bz2",
"sha256": "d73a8da01e8bf8c7eda40b4c84915071a8c8a0df4a6734537ddde4a8580524ee"
}
],
"build-commands": [
"./bootstrap.sh --prefix=/app",
"./b2 -j $FLATPAK_BUILDER_N_JOBS",
"./b2 install"
]
},
{
"name" : "libusb",
"config-opts" : [
"--disable-udev"
],
"sources" : [
{
"type" : "archive",
"url" : "https://github.com/libusb/libusb/releases/download/v1.0.23/libusb-1.0.23.tar.bz2",
"sha256" : "db11c06e958a82dac52cf3c65cb4dd2c3f339c8a988665110e0d24d19312ad8d"
}
]
},
{
"name": "libxml2",
"config-opts": [
"--with-python=no"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/GNOME/libxml2/archive/v2.9.9.tar.gz",
"sha256": "d673f0284cec867ee00872a8152e0c3c09852f17fd9aa93f07579a37534f0bfe"
}
]
},
{
"name": "fftw3",
"config-opts" : [
"--enable-shared",
"--disable-static",
"--enable-threads",
"--enable-float"
],
"sources" : [
{
"type" : "archive",
"url" : "http://www.fftw.org/fftw-3.3.8.tar.gz",
"md5": "8aac833c943d8e90d51b697b27d4384d"
}
]
},
{
"name": "xxd",
"build-options": {
"env": {
"LIBS": "-lm"
}
},
"cleanup": [
"/bin/vim*",
"/bin/rvim",
"/bin/view",
"/bin/rview",
"/bin/ex",
"/share"
],
"config-opts": [
"--disable-gui",
"--disable-gtk3",
"--disable-luainterp",
"--disable-python3interp",
"--disable-xim",
"--disable-xsmp",
"--disable-xsmp-interact",
"--disable-desktop-database-update",
"--disable-icon-cache-update",
"--disable-gnome-check",
"--disable-motif-check",
"--disable-athena-check",
"--disable-fontset"
],
"sources": [
{
"type": "git",
"url": "https://github.com/vim/vim",
"tag": "v8.1.2102",
"commit": "d17a57a43330977b8f4eb36f1f7a4a66a7bb26c8"
}
]
},
{
"name": "python-cheetah",
"buildsystem": "simple",
"sources": [
{
"type": "archive",
"url": "https://files.pythonhosted.org/packages/4e/72/e6a7d92279e3551db1b68fd336fd7a6e3d2f2ec742bf486486e6150d77d2/Cheetah3-3.2.4.tar.gz",
"sha256": "caabb9c22961a3413ac85cd1e5525ec9ca80daeba6555f4f60802b6c256e252b"
}
],
"build-commands": [
"python setup.py install --prefix=/app --root=/"
]
},
{
"name": "python-mako",
"buildsystem": "simple",
"sources": [
{
"type": "archive",
"url": "https://files.pythonhosted.org/packages/b0/3c/8dcd6883d009f7cae0f3157fb53e9afb05a0d3d33b3db1268ec2e6f4a56b/Mako-1.1.0.tar.gz",
"sha256": "a36919599a9b7dc5d86a7a8988f23a9a3a3d083070023bab23d64f7f1d1e0a4b"
}
],
"build-commands": [
"python setup.py install --prefix=/app --root=/"
]
},
{
"name": "opencv",
"buildsystem": "cmake-ninja",
"builddir": true,
"sources": [
{
"type": "archive",
"url": "https://github.com/opencv/opencv/archive/3.4.6.tar.gz",
"sha256": "e7d311ff97f376b8ee85112e2b536dbf4bdf1233673500175ed7cf21a0089f6d"
}
]
},
{
"name": "libpostproc",
"config-opts": [
"--disable-debug",
"--disable-doc",
"--disable-static",
"--enable-shared",
"--enable-gpl",
"--disable-libvpx",
"--disable-ffplay",
"--disable-ffprobe",
"--disable-ffserver",
"--disable-everything",
"--enable-postproc"
],
"sources": [
{
"type": "archive",
"url": "https://ffmpeg.org/releases/ffmpeg-3.4.1.tar.xz",
"sha256": "5a77278a63741efa74e26bf197b9bb09ac6381b9757391b922407210f0f991c0"
}
]
},
{
"name": "cm256cc",
"buildsystem": "cmake-ninja",
"config-opts": [
"-Wno-dev"
],
"sources": [
{
"type": "git",
"url": "https://github.com/f4exb/cm256cc.git",
"commit": "f21e8bc"
}
]
},
{
"name": "mbelib",
"buildsystem": "cmake-ninja",
"config-opts": [
"-Wno-dev"
],
"sources": [
{
"type": "git",
"url": "https://github.com/szechyjs/mbelib.git",
"commit": "e2d84c1"
}
]
},
{
"name": "serialdv",
"buildsystem": "cmake-ninja",
"config-opts": [
"-Wno-dev"
],
"sources": [
{
"type": "git",
"url": "https://github.com/f4exb/serialDV.git",
"commit": "abd65a0"
}
]
},
{
"name": "dsdcc",
"buildsystem": "cmake-ninja",
"config-opts": [
"-Wno-dev",
"-DUSE_MBELIB=ON"
],
"sources": [
{
"type": "git",
"url": "https://github.com/f4exb/dsdcc.git",
"commit": "a0f4694"
}
]
},
{
"name": "codec2",
"buildsystem": "cmake-ninja",
"builddir": true,
"config-opts": [
"-Wno-dev"
],
"sources": [
{
"type": "git",
"url": "https://github.com/drowe67/codec2.git",
"commit": "76a20416d715ee06f8b36a9953506876689a3bd2"
}
]
},
{
"name": "airspy",
"buildsystem": "cmake-ninja",
"config-opts": [
"-Wno-dev"
],
"sources": [
{
"type": "git",
"url": "https://github.com/airspy/host.git",
"commit": "5c86e53"
}
]
},
{
"name": "airspyhf",
"buildsystem": "cmake-ninja",
"config-opts": [
"-Wno-dev",
"-DINSTALL_UDEV_RULES=OFF"
],
"sources": [
{
"type": "git",
"url": "https://github.com/airspy/airspyhf.git",
"commit": "99b1d38"
}
]
},
{
"name": "rtlsdr",
"buildsystem": "cmake-ninja",
"config-opts": [
"-Wno-dev",
"-DDETACH_KERNEL_DRIVER=ON"
],
"sources": [
{
"type": "git",
"url": "https://github.com/librtlsdr/librtlsdr.git",
"commit": "c7d970a"
}
]
},
{
"name": "plutosdr",
"buildsystem": "cmake-ninja",
"config-opts": [
"-Wno-dev",
"-DINSTALL_UDEV_RULE=OFF"
],
"sources": [
{
"type": "git",
"url": "https://github.com/analogdevicesinc/libiio.git",
"commit": "5bdc242"
}
]
},
{
"name": "bladerf",
"buildsystem": "cmake-ninja",
"config-opts": [
"-Wno-dev",
"-DINSTALL_UDEV_RULE=OFF"
],
"sources": [
{
"type": "git",
"url": "https://github.com/Nuand/bladeRF.git",
"commit": "32058c4"
}
]
},
{
"name": "hackrf",
"buildsystem": "cmake-ninja",
"subdir": "host",
"config-opts": [
"-Wno-dev",
"-DINSTALL_UDEV_RULE=OFF"
],
"sources": [
{
"type": "git",
"url": "https://github.com/mossmann/hackrf.git",
"commit": "9bbbbbf"
}
]
},
{
"name": "limesdr",
"buildsystem": "cmake-ninja",
"config-opts": [
"-Wno-dev",
"-DENABLE_QUICKTEST=OFF",
"-DENABLE_GUI=OFF",
"-DENABLE_SOAPY_LMS7=OFF",
"-DENABLE_EXAMPLES=OFF",
"-DENABLE_UTILITIES=OFF",
"-DENABLE_HEADERS=ON",
"-DENABLE_SIMD_FLAGS=SSE3"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/myriadrf/LimeSuite/archive/v20.01.0.tar.gz",
"sha256": "3c1d898185419074ada669b6cb93f409f4c97a29df8778284f30f93b7879754d"
}
]
},
{
"name": "perseus",
"buildsystem": "cmake-ninja",
"config-opts": [
"-Wno-dev"
],
"sources": [
{
"type": "git",
"url": "https://github.com/f4exb/libperseus-sdr.git",
"commit": "afefa23"
}
]
},
{
"name": "xtrx",
"buildsystem": "cmake-ninja",
"subdir": "sources",
"config-opts": [
"-Wno-dev",
"-DENABLE_SOAPY=NO"
],
"sources": [
{
"type": "git",
"url": "https://github.com/xtrx-sdr/images.git",
"commit": "9586a6e"
}
]
},
{
"name": "uhd",
"buildsystem": "cmake-ninja",
"subdir": "host",
"config-opts": [
"-Wno-dev",
"-DENABLE_PYTHON_API=OFF",
"-DINSTALL_UDEV_RULES=OFF"
],
"sources": [
{
"type": "git",
"url": "git://github.com/EttusResearch/uhd.git",
"commit": "e0e61a5"
},
{
"type": "patch",
"path": "uhd-disable-ascii-art-dft.patch"
},
{
"type": "patch",
"path": "uhd-disable-latency-utils.patch"
}
]
},
{
"name": "libmirisdr",
"buildsystem": "cmake-ninja",
"config-opts": [
"-Wno-dev"
],
"sources": [
{
"type": "git",
"url": "git://github.com/f4exb/libmirisdr-4.git"
}
]
},
{
"name": "soapy",
"buildsystem": "cmake-ninja",
"config-opts": [
"-Wno-dev"
],
"sources": [
{
"type": "git",
"url": "git://github.com/pothosware/SoapySDR.git",
"commit": "5838bc9"
}
]
},
{
"name": "soapy_remote",
"buildsystem": "cmake-ninja",
"config-opts": [
"-Wno-dev"
],
"sources": [
{
"type": "git",
"url": "git://github.com/pothosware/SoapyRemote.git",
"commit": "4f5d717"
}
]
},
{
"name": "soapy_limesdr",
"// TODO": "Basis is contained in build modules limesdr and soapy_remote",
"// buildsystem": "cmake-ninja",
"// config-opts": [
"-Wno-dev"
]
},
{
"name": "soapy_uhd",
"buildsystem": "cmake-ninja",
"config-opts": [
"-Wno-dev"
],
"sources": [
{
"type": "git",
"url": "https://github.com/pothosware/SoapyUHD.git",
"commit": "2900fff"
}
]
},
{
"name": "soapy_redpitaya",
"buildsystem": "cmake-ninja",
"config-opts": [
"-Wno-dev"
],
"sources": [
{
"type": "git",
"url": "https://github.com/pothosware/SoapyRedPitaya.git",
"commit": "3d576f83b3bde52104b2a88150516ca8c9a78c7a"
}
]
},
{
"name": "sdrangel",
"buildsystem": "cmake-ninja",
"config-opts": [
"-Wno-dev",
"-DDEBUG_OUTPUT=ON",
"-DCMAKE_BUILD_TYPE=RELEASE",
"-DRX_SAMPLE_24BIT=ON"
],
"sources": [
{
"type": "dir",
"path": ".."
},
{
"type": "shell",
"commands": ["sed -e 's|/usr/|/app/|g' -i cmake/Modules/FindSerialDV.cmake"]
},
{
"type": "file",
"path": "org.sdrangel.SDRangel.appdata.xml"
}
],
"post-install": [
"install -Dm644 org.sdrangel.SDRangel.appdata.xml /app/share/appdata/org.sdrangel.SDRangel.appdata.xml"
]
}
]
}