Openwrt package Makefiles for qBittorrent and its dependencies (libtorrent-rasterbar and qt5, libtorrent-rasterbar is named as rblibtorrent).
During compilation you will have got error:
CMake Error at /home/dmitriy/MyProk/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:14 (message):
The imported target "Qt5::Core" references the file
/home/dmitriy/MyProk/openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/../../../../../staging_dir/hostpkg//mkspecs/linux-openwrt-g++
You need open file:
openwrt/staging_dir/target-aarch64_cortex-a53_musl/usr/lib/cmake/Qt5Core/Qt5CoreConfigExtrasMkspecDir.cmake
And change:
set(_qt5_corelib_extra_includes "${_qt5Core_install_prefix}/../../../../../staging_dir/hostpkg//mkspecs/linux-openwrt-g++")
to:
set(_qt5_corelib_extra_includes "${_qt5Core_install_prefix}/../../../staging_dir/hostpkg//mkspecs/linux-openwrt-g++")
binutils bzip2 diff find flex gawk gcc-6+ getopt grep install libc-dev libz-dev make4.1+ perl python3.6+ rsync subversion unzip which
1)git clone https://github.com/openwrt/openwrt.git
2)cd openwrt
3)./scripts/feeds update -a
4)./scripts/feeds install -a
5)cd package
6)git clone https://github.com/Deema35/qBittorrent-openwrt-package.git qBittorrent
6.1) cd ../
7)make menuconfig
- set architecture and board and pick qbittorrent. QBittorrent package in Network --> BitTorrent --> qBittorrent
.
8)make tools/install -jx
9)make toolchain/install -jx
10)make package/qBittorrent/compile -jx
-jx - number of CPU cores.
11)make package/index
- create signature (key-build need put in openwrt folder)
1)git clone https://git.openwrt.org/project/usign.git
2)cd usign
3)cmake .
4)make
5)usign -G -c 'openwrt test repo' -s key-build -p key-build.pub
6)ln -s "which usign" staging_dir/host/bin/usign
1)Copy .pub key to /etc/opkg/keys/
key need rename to signature ID in file Packages.sig
2)echo src/gz local file:///opt >> /etc/opkg/customfeeds.conf
- Add local repository in folder /opt
3)Move file from folder bin/packages/archetecture
to folder opt on router
4)opkg update
5)opkg install qbittorrent
After run qBittorrent will appear on 8080 port. login:admin password:adminadmin.
If You cann't compile qbittrorrent because cann't get QT. Just download qt-everywhere-src-5.15.2.tar.xz from here And then change PKG_SOURCE_URL in Makefile:
PKG_SOURCE_URL:=file:///"absolut path to qt-everywhere-src-5.15.2.tar.xz"