From patchwork Fri Nov 23 18:14:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Richter X-Patchwork-Id: 1002503 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="JvKVBoJP"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 431kwr6X0hz9s0t for ; Sat, 24 Nov 2018 05:14:36 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1C5D8885B4; Fri, 23 Nov 2018 18:14:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nZ2szzuP4MNQ; Fri, 23 Nov 2018 18:14:33 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 4CDAE88603; Fri, 23 Nov 2018 18:14:33 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 67C211BF4D5 for ; Fri, 23 Nov 2018 18:14:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 55AA71FDAF for ; Fri, 23 Nov 2018 18:14:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rtKXG4jRkuxv for ; Fri, 23 Nov 2018 18:14:30 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by silver.osuosl.org (Postfix) with ESMTPS id 445411FD90 for ; Fri, 23 Nov 2018 18:14:30 +0000 (UTC) Received: by mail-wm1-f67.google.com with SMTP id r11-v6so12628539wmb.2 for ; Fri, 23 Nov 2018 10:14:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1cgiktQA0nm/JGd6bnQwLAH7lMCI0U3UFf7ShYaIA4Y=; b=JvKVBoJPYeGcUIpXuk0vEH2leqY7U/P6GTyNfOdqnbz+NhirChFwKf94FwmyPKg3TF EFwWl2sb3NQw6vj03vm6U2Zp0yTSEmtEU8+t2hnaPEVkA2Gx2Zy5L5vgt1w+PGcaw2Dh E8s6Jx9CKRK3nsf9qW6qIdGqd7nkGmf2UAvWxWWD9wNIufuEHiWQx+uiLEIFrctHMn3r 6Nm/ZXGAUkNrZxYZD56CfC44jBqO6/SMwgXRJzavnLfeJn9+HUk1cbVLHZ+Gn4H5vIKf 50kyJFy9tuCxZ+ovy0y3szx81pnpmC8JHacSztXoHTwdiF5t66vG5R50s0QNWWyAy1nb gzTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1cgiktQA0nm/JGd6bnQwLAH7lMCI0U3UFf7ShYaIA4Y=; b=SRuuasarrZsuJpNV6OM7gr+tmHJqrSv0gePUhKxDqGoQfF0Z58BgCi97fjvbrvdRu9 Vfzg2q/PKRGbASVfwAgKFosktjt8Ik3sIsUfAWMS0IZnh0kaKPZY9TNA49BnrKYxZ12o F8+ro7gogAxbSG9HVjqesI9YGdbftcbPxu8R+b9xsY1XTwSnQ64nQYM+kpJJIHcZ2/Bf 0kS9zAoluZ11wItBM8TSfxWhlq0pHGT8kJtHtgyuLaWlW1KAoD9uccBRFnNz/UDLeAPT ZLNl1rNfs5t1UAfl6sJPbPG9Br4sX+FFDoPgkloFBiebCIEu9oSYPfv/JjlR/pS/yo7c GjdA== X-Gm-Message-State: AA+aEWYf3cEqykgfTHuzgBAb7yYwZqDaYjqORl+tqSE9xxbzjD9Au1lz LtgYSkj+JfjZJryTNqHIVcZgmyj6 X-Google-Smtp-Source: AFSGD/UvT90GpnfmCjn9cM4ODC2dSccj6QK5XEnpbHxDDdyE+1fyj5O/1gwVQJ4eGpY7VGdQfAezkQ== X-Received: by 2002:a1c:da0c:: with SMTP id r12mr5933017wmg.54.1542996868394; Fri, 23 Nov 2018 10:14:28 -0800 (PST) Received: from richter-xps-13.localdomain (120.222.153.77.rev.sfr.net. [77.153.222.120]) by smtp.gmail.com with ESMTPSA id c13sm19794750wrb.38.2018.11.23.10.14.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Nov 2018 10:14:27 -0800 (PST) From: Philipp Richter To: buildroot@buildroot.org Date: Fri, 23 Nov 2018 19:14:25 +0100 Message-Id: <20181123181426.16116-1-richterphilipp.pops@gmail.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/2] package/libtorrent-rasterbar: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Philipp Richter Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" libtorrent is a feature complete C++ bittorrent implementation focusing on efficiency and scalability. https://www.libtorrent.org/ Signed-off-by: Philipp Richter --- DEVELOPERS | 3 +++ package/Config.in | 1 + package/libtorrent-rasterbar/Config.in | 21 +++++++++++++++++ .../libtorrent-rasterbar.hash | 3 +++ .../libtorrent-rasterbar.mk | 23 +++++++++++++++++++ 5 files changed, 51 insertions(+) create mode 100644 package/libtorrent-rasterbar/Config.in create mode 100644 package/libtorrent-rasterbar/libtorrent-rasterbar.hash create mode 100644 package/libtorrent-rasterbar/libtorrent-rasterbar.mk diff --git a/DEVELOPERS b/DEVELOPERS index 53467da489..e2bca31f7b 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1698,6 +1698,9 @@ F: package/psplash/ F: package/sispmctl/ F: package/zsh/ +N: Philipp Richter +F: package/libtorrent-rasterbar/ + N: Philippe Proulx F: package/lttng-babeltrace/ F: package/lttng-libust/ diff --git a/package/Config.in b/package/Config.in index b60e7700ad..fb32ace8e7 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1550,6 +1550,7 @@ menu "Networking" source "package/libstrophe/Config.in" source "package/libtirpc/Config.in" source "package/libtorrent/Config.in" + source "package/libtorrent-rasterbar/Config.in" source "package/libupnp/Config.in" source "package/libupnp18/Config.in" source "package/libupnpp/Config.in" diff --git a/package/libtorrent-rasterbar/Config.in b/package/libtorrent-rasterbar/Config.in new file mode 100644 index 0000000000..30f7726d4a --- /dev/null +++ b/package/libtorrent-rasterbar/Config.in @@ -0,0 +1,21 @@ +comment "libtorrent-rasterbar needs a toolchain w/ C++, threads, wchar, gcc >= 4.8" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \ + !BR2_HOST_GCC_AT_LEAST_4_8 || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + +config BR2_PACKAGE_LIBTORRENT_RASTERBAR + bool "libtorrent-rasterbar" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_HOST_GCC_AT_LEAST_4_8 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_WCHAR + select BR2_PACKAGE_BOOST + select BR2_PACKAGE_BOOST_CHRONO + select BR2_PACKAGE_BOOST_SYSTEM + select BR2_PACKAGE_BOOST_RANDOM + select BR2_PACKAGE_OPENSSL + help + libtorrent is a feature complete C++ bittorrent implementation + focusing on efficiency and scalability. + + https://www.libtorrent.org/ diff --git a/package/libtorrent-rasterbar/libtorrent-rasterbar.hash b/package/libtorrent-rasterbar/libtorrent-rasterbar.hash new file mode 100644 index 0000000000..e38c0f4f1d --- /dev/null +++ b/package/libtorrent-rasterbar/libtorrent-rasterbar.hash @@ -0,0 +1,3 @@ +# Locally calculated +sha256 7c23deba7fa279825642307587609d51c9935ac7606e0ef2f2d0ba10728b5847 libtorrent-rasterbar-1.1.11.tar.gz +sha256 f3a5dd1558cce616b12edad521427ec8976ce2bb0af33f7f359cfa648bf55ad8 COPYING diff --git a/package/libtorrent-rasterbar/libtorrent-rasterbar.mk b/package/libtorrent-rasterbar/libtorrent-rasterbar.mk new file mode 100644 index 0000000000..ee65cc5146 --- /dev/null +++ b/package/libtorrent-rasterbar/libtorrent-rasterbar.mk @@ -0,0 +1,23 @@ +################################################################################ +# +# libtorrent-rasterbar +# +################################################################################ + +LIBTORRENT_RASTERBAR_VERSION = 1.1.11 +LIBTORRENT_RASTERBAR_SITE = https://github.com/arvidn/libtorrent/releases/download/libtorrent_$(subst .,_,$(LIBTORRENT_RASTERBAR_VERSION)) +LIBTORRENT_RASTERBAR_LICENSE = BSD-2-Clause +LIBTORRENT_RASTERBAR_LICENSE_FILES = COPYING +LIBTORRENT_RASTERBAR_DEPENDENCIES = host-pkgconf boost openssl +LIBTORRENT_RASTERBAR_INSTALL_STAGING = YES +LIBTORRENT_RASTERBAR_CONF_OPTS += --with-boost-libdir=$(STAGING_DIR)/usr/lib --disable-invariant-checks +LIBTORRENT_RASTERBAR_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" + +ifeq ($(BR2_ENABLE_LOCALE)$(BR2_PACKAGE_LIBICONV),y) +LIBTORRENT_RASTERBAR_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv) +LIBTORRENT_RASTERBAR_CONF_OPTS += --with-libiconv +else +LIBTORRENT_RASTERBAR_CONF_OPTS += --without-libiconv +endif + +$(eval $(autotools-package)) From patchwork Fri Nov 23 18:14:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Philipp Richter X-Patchwork-Id: 1002504 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="FKBSPda2"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 431kwx4dz9z9s0t for ; Sat, 24 Nov 2018 05:14:41 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id B6CF986CFD; Fri, 23 Nov 2018 18:14:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1WIKv3H0sbWv; Fri, 23 Nov 2018 18:14:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0C62886C35; Fri, 23 Nov 2018 18:14:38 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id C2C941BF4D5 for ; Fri, 23 Nov 2018 18:14:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id BE0F986BA1 for ; Fri, 23 Nov 2018 18:14:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id saed0Rrs03Zn for ; Fri, 23 Nov 2018 18:14:31 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by fraxinus.osuosl.org (Postfix) with ESMTPS id E6A0D86B7E for ; Fri, 23 Nov 2018 18:14:30 +0000 (UTC) Received: by mail-wm1-f66.google.com with SMTP id y139so12595050wmc.5 for ; Fri, 23 Nov 2018 10:14:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=cxdobCfDY1ken/LhTUuXtSgIdaj/ytG9U6BvjPIUOQI=; b=FKBSPda2n+awza8QEgXTxfFQkcHrMqwJNDTaS4iUG7LdBLBU5LtYdnyf/kWBy8ynrV UfZ5yIE9uCRHy+GaUkXibtbguRyWc93uH8qdxgrgO4DRq49IHzbN4haFuOTW2+QGuKO8 QURzLvRd2xAkENaPhUSjtELfW2D+EIJ5rsL+W/RVni4T2SApvYgPYwnDFZrHkcWh+0ot H5xrXg+2y5OEG7Da5sGjHOw4A5gPx3HVYOfLNM56Es1uyydT+o4rhFLcqL48ZDZhptU8 rsSJvFEPoZltPD22cLH185lHpWm4SOB04Ru7Xj3KCN3Msnp3o99gePGn/4BkGed50K// k3fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=cxdobCfDY1ken/LhTUuXtSgIdaj/ytG9U6BvjPIUOQI=; b=t4opwSfseVgfZsCV7x80cTm9W0VCi4bEprCJ7ISixU8768qBFdyrmfygzzvqjNkm/E XHxs/Qui6/drgLp7IoZkbZJqXWJjjtqryfCkRXtTRtnONswhL0vP+6B/lOl2s+bSVnaT A3gImK3u9cisGpJ/v933QEJa2VyXYUYFtuz6ya9LvpC9u/SkclW/GWgxO8gvecNg5gnl 2SZVTPHH28FwAgrkZaynHeGOx6JKrXK+F2h3uuupuRFZyDz0YfJWJ+GR9GC5xeJCaMWD 8LwQ/agl44iyvwIkY+cAVvAJOa/vCm8uijDLv//Id8p11yy9ZlYhUpD8uBEjnkR8yGgP fbqw== X-Gm-Message-State: AA+aEWaytmYotwC9VO4OLy5dwKXUvvLJyrZpOSShO1n9W58+LF8sB0Ol oD4A6pJJ3JS0HDAGFznUAQg7I1sV X-Google-Smtp-Source: AJdET5cCJGRle/5dJBR/JP9LcoDYEfZHtA1vEUYEYQIOy8j++EgTBHcJvzYaf0rhsxQ359TEvqij2Q== X-Received: by 2002:a1c:c2d4:: with SMTP id s203mr14800681wmf.3.1542996869023; Fri, 23 Nov 2018 10:14:29 -0800 (PST) Received: from richter-xps-13.localdomain (120.222.153.77.rev.sfr.net. [77.153.222.120]) by smtp.gmail.com with ESMTPSA id c13sm19794750wrb.38.2018.11.23.10.14.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Nov 2018 10:14:28 -0800 (PST) From: Philipp Richter To: buildroot@buildroot.org Date: Fri, 23 Nov 2018 19:14:26 +0100 Message-Id: <20181123181426.16116-2-richterphilipp.pops@gmail.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181123181426.16116-1-richterphilipp.pops@gmail.com> References: <20181123181426.16116-1-richterphilipp.pops@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 2/2] package/qbittorrent: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Philipp Richter Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The qBittorrent project aims to provide an open-source software alternative to µTorrent. https://www.qbittorrent.org/ Signed-off-by: Philipp Richter --- DEVELOPERS | 1 + package/Config.in | 1 + package/qbittorrent/Config.in | 63 ++++++++++++++++++++++++++++ package/qbittorrent/qbittorrent.hash | 5 +++ package/qbittorrent/qbittorrent.mk | 41 ++++++++++++++++++ 5 files changed, 111 insertions(+) create mode 100644 package/qbittorrent/Config.in create mode 100644 package/qbittorrent/qbittorrent.hash create mode 100644 package/qbittorrent/qbittorrent.mk diff --git a/DEVELOPERS b/DEVELOPERS index e2bca31f7b..136d689d9d 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1700,6 +1700,7 @@ F: package/zsh/ N: Philipp Richter F: package/libtorrent-rasterbar/ +F: package/qbittorrent/ N: Philippe Proulx F: package/lttng-babeltrace/ diff --git a/package/Config.in b/package/Config.in index fb32ace8e7..50bfa65302 100644 --- a/package/Config.in +++ b/package/Config.in @@ -1951,6 +1951,7 @@ endif source "package/ptpd2/Config.in" source "package/pure-ftpd/Config.in" source "package/putty/Config.in" + source "package/qbittorrent/Config.in" source "package/quagga/Config.in" source "package/rabbitmq-server/Config.in" source "package/radvd/Config.in" diff --git a/package/qbittorrent/Config.in b/package/qbittorrent/Config.in new file mode 100644 index 0000000000..c4bdf3a22e --- /dev/null +++ b/package/qbittorrent/Config.in @@ -0,0 +1,63 @@ +comment "qbittorrent needs a toolchain w/ C++, threads, wchar, NPTL, dynamic library, gcc >= 4.8" + depends on !BR2_PACKAGE_QT + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \ + !BR2_HOST_GCC_AT_LEAST_4_8 || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \ + !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS + +config BR2_PACKAGE_QBITTORRENT + bool "qbittorrent" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_HOST_GCC_AT_LEAST_4_8 + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL + depends on BR2_USE_WCHAR + depends on !BR2_STATIC_LIBS + depends on !BR2_PACKAGE_QT + select BR2_PACKAGE_BOOST + select BR2_PACKAGE_BOOST_SYSTEM + select BR2_PACKAGE_BOOST_THREAD + select BR2_PACKAGE_LIBTORRENT_RASTERBAR + select BR2_PACKAGE_QT5 + select BR2_PACKAGE_QT5BASE + select BR2_PACKAGE_ZLIB + help + The qBittorrent project aims to provide + an open-source software alternative to µTorrent. + + https://www.qbittorrent.org/ + +if BR2_PACKAGE_QBITTORRENT + +config BR2_PACKAGE_QBITTORRENT_GUI + bool "GUI" + select BR2_PACKAGE_HICOLOR_ICON_THEME + select BR2_PACKAGE_QT5BASE_GUI + select BR2_PACKAGE_QT5BASE_WIDGETS + select BR2_PACKAGE_QT5SVG + help + Disable for headless mode. + The target binary will be called qbittorrent-nox. + +if BR2_PACKAGE_QBITTORRENT_GUI + +config BR2_PACKAGE_QBITTORRENT_QTDBUS + bool "D-Bus support" + default y + select BR2_PACKAGE_QT5BASE_DBUS + help + Enable D-Bus support. + +endif + +if !BR2_PACKAGE_QBITTORRENT_GUI + +config BR2_PACKAGE_QBITTORRENT_WEBUI + bool "WebUI" + default y + help + Enable the WebUI. + +endif + +endif diff --git a/package/qbittorrent/qbittorrent.hash b/package/qbittorrent/qbittorrent.hash new file mode 100644 index 0000000000..6cc24d2796 --- /dev/null +++ b/package/qbittorrent/qbittorrent.hash @@ -0,0 +1,5 @@ +# Locally checked with PGP signature from https://downloads.sourceforge.net/sourceforge/qbittorrent/qbittorrent-4.1.4.tar.xz.asc +sha256 5f7b4c5ae891ce7fbab880ff322764a0d433fccf655164f6b98ef08f1ae52386 qbittorrent-4.1.4.tar.xz + +# Locally calculated +sha256 fc68233a17d308ee633aefedbd761c7582ec48557539aca310b4162e54212fe5 COPYING diff --git a/package/qbittorrent/qbittorrent.mk b/package/qbittorrent/qbittorrent.mk new file mode 100644 index 0000000000..11523efdbb --- /dev/null +++ b/package/qbittorrent/qbittorrent.mk @@ -0,0 +1,41 @@ +################################################################################ +# +# qbittorrent +# +################################################################################ + +QBITTORRENT_VERSION = 4.1.4 +QBITTORRENT_SOURCE = qbittorrent-$(QBITTORRENT_VERSION).tar.xz +QBITTORRENT_SITE = https://downloads.sourceforge.net/sourceforge/qbittorrent +QBITTORRENT_LICENSE = GPL-2.0 +QBITTORRENT_LICENSE_FILES = COPYING +QBITTORRENT_DEPENDENCIES = host-pkgconf boost libtorrent-rasterbar qt5base zlib +QBITTORRENT_CONF_OPTS += --with-boost-libdir=$(STAGING_DIR)/usr/lib +QBITTORRENT_INSTALL_TARGET_OPTS = INSTALL_ROOT="$(TARGET_DIR)" install + +ifeq ($(BR2_PACKAGE_QBITTORRENT_GUI),y) +QBITTORRENT_CONF_OPTS += --enable-gui +QBITTORRENT_DEPENDENCIES += hicolor-icon-theme qt5svg +else +QBITTORRENT_CONF_OPTS += --disable-gui +endif + +ifeq ($(BR2_PACKAGE_QBITTORRENT_QTDBUS),y) +QBITTORRENT_CONF_OPTS += --enable-qt-dbus +else +QBITTORRENT_CONF_OPTS += --disable-qt-dbus +endif + +ifeq ($(BR2_INIT_SYSTEMD),y) +QBITTORRENT_CONF_OPTS += --enable-systemd +else +QBITTORRENT_CONF_OPTS += --disable-systemd +endif + +ifeq ($(BR2_PACKAGE_QBITTORRENT_WEBUI),y) +QBITTORRENT_CONF_OPTS += --enable-webui +else +QBITTORRENT_CONF_OPTS += --disable-webui +endif + +$(eval $(autotools-package))