qBittorrent-Enhanced-Edition: fix qmake
This commit is contained in:
parent
ae1072b6a5
commit
1750a24f8b
@ -24,8 +24,8 @@ port.placeholder = "8080"
|
||||
port.rmempty = false
|
||||
|
||||
profile_dir = s:option(Value,"profile_dir",translate("Profile Dir"),translate("Store configuration files in the Path"))
|
||||
profile_dir.default = "/root"
|
||||
profile_dir.placeholder = "/root"
|
||||
profile_dir.default = "/etc"
|
||||
profile_dir.placeholder = "/etc"
|
||||
profile_dir.rmempty = false
|
||||
|
||||
download_dir = s:option(Value,"download_dir",translate("Download Dir"),translate("Store download files in the Path"))
|
||||
@ -33,4 +33,4 @@ download_dir.default = "/mnt/download"
|
||||
download_dir.placeholder = "/mnt/download"
|
||||
download_dir.rmempty = false
|
||||
|
||||
return m
|
||||
return m
|
||||
|
||||
@ -2,5 +2,5 @@
|
||||
config qbittorrent
|
||||
option enable '0'
|
||||
option port '8080'
|
||||
option profile_dir '/root'
|
||||
option profile_dir '/etc'
|
||||
option download_dir '/mnt/download'
|
||||
|
||||
@ -14,7 +14,7 @@ config_qbittorrent()
|
||||
config_get port "$1" "port"
|
||||
mkdir -p "$download_dir"
|
||||
mkdir -p "$2" "$2/qBittorrent" "$2/qBittorrent/config"
|
||||
ln -sf "/etc/qBittorrent/ipfilter.dat" "$2/qBittorrent/ipfilter.dat"
|
||||
{ [ "$2" != "/etc" ] && [ "$2" != "/etc/" ]; } && ln -sf "/etc/qBittorrent/ipfilter.dat" "$2/qBittorrent/ipfilter.dat"
|
||||
if [ -f "$2/qBittorrent/config/qBittorrent.conf" ]; then
|
||||
sed -i 's/WebUI\\Port=[0-9]*/WebUI\\Port='"$port"'/g' "$2/qBittorrent/config/qBittorrent.conf"
|
||||
sed -i 's/Downloads\\SavePath=[a-z,/]*//g' "$2/qBittorrent/config/qBittorrent.conf"
|
||||
|
||||
@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=qBittorrent-Enhanced-Edition
|
||||
PKG_VERSION:=4.2.1.10
|
||||
PKG_RELEASE=5
|
||||
PKG_RELEASE=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-release-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/c0re100/qBittorrent-Enhanced-Edition/tar.gz/release-$(PKG_VERSION)?
|
||||
@ -36,6 +36,10 @@ there. qBittorrent is fast, stable and provides unicode support as
|
||||
well as many features.
|
||||
endef
|
||||
|
||||
CONFIGURE_VARS += \
|
||||
QT_QMAKE="$(TOOLCHAIN_DIR)/bin" \
|
||||
PKG_CONFIG_PATH="$(TOOLCHAIN_DIR)/lib/pkgconfig"
|
||||
|
||||
CONFIGURE_ARGS += \
|
||||
--disable-gui \
|
||||
--enable-stacktrace=no \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user