From 74f0fead7c5f721545b55473f56213c939eb62ef Mon Sep 17 00:00:00 2001 From: sbwml Date: Fri, 4 Mar 2022 03:53:13 +0800 Subject: [PATCH] Add qbittorrent-nox-static 4.4.1_v2.0.5 Build info * Qbittorrent: 4.4.1 * Qt: 6.2.3 - see notes * Libtorrent: 2.0.5 * Boost: 1.78.0 * OpenSSL: 3.0.1 * zlib-ng: 1.2.11 --- qBittorrent-static/Makefile | 66 +++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 qBittorrent-static/Makefile diff --git a/qBittorrent-static/Makefile b/qBittorrent-static/Makefile new file mode 100644 index 0000000..c30fb5e --- /dev/null +++ b/qBittorrent-static/Makefile @@ -0,0 +1,66 @@ +# +# Copyright (C) 2017-2020 +# +# This is free software, licensed under the GNU General Public License v2. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=qBittorrent-static +PKG_VERSION:=4.4.1_v2.0.5 +PKG_RELEASE=1 + +STRIP:=true + +ifeq ($(ARCH),x86_64) + PKG_ARCH:=x86_64 +endif + +ifeq ($(ARCH),arm64) + PKG_ARCH:=aarch64 +endif + +ifeq ($(ARCH),aarch64) + PKG_ARCH:=aarch64 +endif + +ifeq ($(ARCH),arm) + PKG_ARCH:=armv7 +endif + +include $(INCLUDE_DIR)/package.mk + +define Package/qBittorrent-static + SECTION:=net + CATEGORY:=Network + DEPENDS:=@(arm||aarch64||x86_64) + SUBMENU:=BitTorrent + TITLE:=bittorrent client programmed in C++ / Qt + URL:=https://www.qbittorrent.org/ +endef + +define Package/qBittorrent-static/description + qBittorrent is a bittorrent client programmed in C++ / Qt that uses + libtorrent (sometimes called libtorrent-rasterbar) by Arvid Norberg. + It aims to be a good alternative to all other bittorrent clients out + there. qBittorrent is fast, stable and provides unicode support as + well as many features. +endef + +define Download/qbittorrent + URL:=https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-$(PKG_VERSION) + URL_FILE:=$(PKG_ARCH)-qbittorrent-nox + FILE:=qbittorrent-nox + HASH:=skip +endef + +define Build/Compile +endef + +define Package/qBittorrent-static/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(DL_DIR)/qbittorrent-nox $(1)/usr/bin +endef + +$(eval $(call Download,qbittorrent)) +$(eval $(call BuildPackage,qBittorrent-static))