From ffe1ade7fa6eae020b050777142d7c1de531ddf4 Mon Sep 17 00:00:00 2001 From: CN_SZTL <22235437+1715173329@users.noreply.github.com> Date: Sat, 8 Feb 2020 17:13:02 +0800 Subject: [PATCH] qBittorrent: fix cannot find qmake (#2982) --- package/lean/qBittorrent/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package/lean/qBittorrent/Makefile b/package/lean/qBittorrent/Makefile index 3bd02e265..a8825a287 100644 --- a/package/lean/qBittorrent/Makefile +++ b/package/lean/qBittorrent/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=qbittorrent PKG_VERSION:=4.1.9 -PKG_RELEASE=5 +PKG_RELEASE=6 PKG_SOURCE:=$(PKG_NAME)-release-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/qbittorrent/qBittorrent/tar.gz/release-$(PKG_VERSION)? @@ -36,10 +36,14 @@ 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 \ - --with-boost=$(STAGING_DIR)/usr + --with-boost="$(STAGING_DIR)/usr" MAKE_VARS += \ INSTALL_ROOT="$(PKG_INSTALL_DIR)"