mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-23 14:56:16 +00:00
fc26314aa3
This commit has been automatically submitted by Github Actions.
28 lines
1.0 KiB
Bash
28 lines
1.0 KiB
Bash
TERMUX_PKG_HOMEPAGE=https://www.qbittorrent.org/
|
|
TERMUX_PKG_DESCRIPTION="A Qt6 based BitTorrent client"
|
|
TERMUX_PKG_LICENSE="GPL-2.0, GPL-3.0"
|
|
TERMUX_PKG_MAINTAINER="Joshua Kahn @TomJo2000"
|
|
TERMUX_PKG_VERSION="5.0.2"
|
|
TERMUX_PKG_SRCURL=https://github.com/qbittorrent/qBittorrent/archive/refs/tags/release-${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=ba46f7ac0c530ab6ba81fdce6f4488393cd67dd1a9d823660e26081773569274
|
|
TERMUX_PKG_BUILD_DEPENDS="qt6-qtsvg, qt6-qttools, boost"
|
|
TERMUX_PKG_DEPENDS="libc++, libtorrent-rasterbar, openssl, qt6-qtbase, zlib"
|
|
TERMUX_PKG_RECOMMENDS="python"
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_UPDATE_TAG_TYPE=newest-tag
|
|
TERMUX_PKG_UPDATE_VERSION_REGEXP='\d+\.\d+\.\d+'
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS='
|
|
-DBUILD_SHARED_LIBS=OFF
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
-DSTACKTRACE=OFF
|
|
'
|
|
|
|
# based on the secondary `-shared` build in `libncnn`
|
|
termux_step_post_make_install() {
|
|
echo -e "termux - building qbittorrent-nox for arch ${TERMUX_ARCH}..."
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+='-DGUI=OFF'
|
|
termux_step_configure
|
|
termux_step_make
|
|
termux_step_make_install
|
|
}
|