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))