From patchwork Fri Jul 29 07:51:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 654021 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3s11CL17X4z9t1M for ; Fri, 29 Jul 2016 17:51:58 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=K65UgfLT; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 8D610316EF; Fri, 29 Jul 2016 07:51:55 +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 FxLeQIt1KWbP; Fri, 29 Jul 2016 07:51:53 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 0C513316F0; Fri, 29 Jul 2016 07:51:53 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 8E8B01C2C09 for ; Fri, 29 Jul 2016 07:51:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 892B08C70E for ; Fri, 29 Jul 2016 07:51:51 +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 qBvKU0OPaY8f for ; Fri, 29 Jul 2016 07:51:50 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by whitealder.osuosl.org (Postfix) with ESMTPS id 77DCC8B524 for ; Fri, 29 Jul 2016 07:51:50 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id q128so14515150wma.1 for ; Fri, 29 Jul 2016 00:51:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=lz+1DKMqnJqoAfnBaFIiGTUeEES40CqoztGytUw6Waw=; b=K65UgfLTjP1EDDWVuitRqwWLiNNKmuK9Mx9+qKY77WKA1tdMmWXR4GQMucVfrkMWDP /RxwhfaIpdDaR4ERtJ8cSrjh0fxiehkIHTA+PYQWKO+d3UCtWqCgzEng78IVLxyYgis4 jBvLiknkVYF5NUJIcMby1hTA98/Q8L/rv5fslpseAI1+XXVcMtWUo9zZbgAE0VRpJLxv rAOYkJh4S1HFbO3B5ZO3HCnZcxR/kqDGUOhKlxdmFTly7BKfNEKsRT3M2JyLNiMWbhQM om/OuKthut7GvV/PzhocvCf0o8M9BnIwOQPyZwtIxgBXMpLYtfNdpvFAz9yYEluPbZbw Rn9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=lz+1DKMqnJqoAfnBaFIiGTUeEES40CqoztGytUw6Waw=; b=HA3KzOlOckhuOd1Z7mFKk8Em8305xG241gAUGQlISiHteqPu2HedPqJPd8FnQtv4G2 HRbFfdWRFmV0f96XJnTimqvq42r0FjUnQIdvXu0XsrYIvQOYF0DzTBJdbLUJeRVLXtu8 VWKY43qNvALKYFV/T3BzUMcgjFdGRGwkIi1b6roI4FIBc35+JiALAorM+RceFYAXCu32 g4VLqYsVROO31DiFHz15Cyr8HR1i99gXHGEsXKtrEtwPrk/drL3KCrtPOTlk/1i0YbiT 9uK9zZNpknQnWS6xaVY8xhuCJGDSNTZ52BfvEzDwC8vfWhPlSxnbUPf1VVIjxrT3Ake8 O2DA== X-Gm-Message-State: AEkoouvbHCez1I6zWdxi4AJM8c12Sk75u2ztTgj/5lu73M9hXN3IOi/r2ICLtRw/9XI5IQ== X-Received: by 10.195.13.18 with SMTP id eu18mr37101219wjd.121.1469778709020; Fri, 29 Jul 2016 00:51:49 -0700 (PDT) Received: from r-x-uffo8396.rd.francetelecom.fr (ARennes-654-1-144-150.w2-13.abo.wanadoo.fr. [2.13.175.150]) by smtp.gmail.com with ESMTPSA id p1sm15183948wjd.37.2016.07.29.00.51.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 29 Jul 2016 00:51:48 -0700 (PDT) From: Fabrice Fontaine X-Google-Original-From: Fabrice Fontaine To: buildroot@buildroot.org Date: Fri, 29 Jul 2016 09:51:29 +0200 Message-Id: <1469778689-31893-2-git-send-email-fabrice.fontaine@orange.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1469778689-31893-1-git-send-email-fabrice.fontaine@orange.com> References: <1469778689-31893-1-git-send-email-fabrice.fontaine@orange.com> Cc: Fabrice Fontaine Subject: [Buildroot] [PATCH 2/2] gupnp-tools: new package X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" GUPnP Tools are free replacements of Intel UPnP tools that use GUPnP. They provides client and server side tools which enable one to easily test and debug one's UPnP devices and control points. http://www.gupnp.org/ Signed-off-by: Fabrice Fontaine --- package/Config.in | 1 + package/gupnp-tools/Config.in | 34 ++++++++++++++++++++++++++++++++++ package/gupnp-tools/gupnp-tools.hash | 2 ++ package/gupnp-tools/gupnp-tools.mk | 35 +++++++++++++++++++++++++++++++++++ 4 files changed, 72 insertions(+) create mode 100644 package/gupnp-tools/Config.in create mode 100644 package/gupnp-tools/gupnp-tools.hash create mode 100644 package/gupnp-tools/gupnp-tools.mk diff --git a/package/Config.in b/package/Config.in index cf1d54e..ee7ba39 100644 --- a/package/Config.in +++ b/package/Config.in @@ -134,6 +134,7 @@ menu "Development tools" source "package/gperf/Config.in" source "package/grep/Config.in" source "package/gtksourceview/Config.in" + source "package/gupnp-tools/Config.in" source "package/intltool/Config.in" source "package/jq/Config.in" source "package/libtool/Config.in" diff --git a/package/gupnp-tools/Config.in b/package/gupnp-tools/Config.in new file mode 100644 index 0000000..769ab6d --- /dev/null +++ b/package/gupnp-tools/Config.in @@ -0,0 +1,34 @@ +config BR2_PACKAGE_GUPNP_TOOLS + bool "gupnp-tools" + depends on BR2_USE_WCHAR # glib2, gupnp + depends on BR2_TOOLCHAIN_HAS_THREADS # glib2, gupnp + depends on BR2_USE_MMU # glib2, gupnp + depends on BR2_INSTALL_LIBSTDCPP # libgtk3 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # libgtk3 + depends on BR2_PACKAGE_MESA3D_OPENGL_EGL || \ + BR2_PACKAGE_HAS_LIBGL # libgtk3 + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_GSSDP + select BR2_PACKAGE_GUPNP + select BR2_PACKAGE_LIBSOUP + select BR2_PACKAGE_LIBXML2 + select BR2_PACKAGE_LIBGTK3 + help + GUPnP Tools are free replacements of Intel UPnP tools that use + GUPnP. They provides client and server side tools which enable + one to easily test and debug one's UPnP devices and control + points. + + http://www.gupnp.org/ + +comment "gupnp-tools needs a toolchain w/ wchar, threads, C++" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + !BR2_INSTALL_LIBSTDCPP + +comment "gupnp-tools needs an OpenGL or OpenGL EGL backend provided by mesa3d" + depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL && \ + !BR2_PACKAGE_HAS_LIBGL diff --git a/package/gupnp-tools/gupnp-tools.hash b/package/gupnp-tools/gupnp-tools.hash new file mode 100644 index 0000000..0d37a87 --- /dev/null +++ b/package/gupnp-tools/gupnp-tools.hash @@ -0,0 +1,2 @@ +# Hash from: http://ftp.gnome.org/pub/gnome/sources/gupnp-tools/0.8/gupnp-tools-0.8.12.sha256sum: +sha256 658de96953608c4b1f47578ae563a7066d1f1983565daf22ad52b7b328ef97b1 gupnp-tools-0.8.12.tar.xz diff --git a/package/gupnp-tools/gupnp-tools.mk b/package/gupnp-tools/gupnp-tools.mk new file mode 100644 index 0000000..5ce2c81 --- /dev/null +++ b/package/gupnp-tools/gupnp-tools.mk @@ -0,0 +1,35 @@ +################################################################################ +# +# gupnp-tools +# +################################################################################ + +GUPNP_TOOLS_VERSION_MAJOR = 0.8 +GUPNP_TOOLS_VERSION = $(GUPNP_TOOLS_VERSION_MAJOR).12 +GUPNP_TOOLS_SOURCE = gupnp-tools-$(GUPNP_TOOLS_VERSION).tar.xz +GUPNP_TOOLS_SITE = \ + http://ftp.gnome.org/pub/gnome/sources/gupnp-tools/$(GUPNP_TOOLS_VERSION_MAJOR) +GUPNP_TOOLS_LICENSE = LGPLv2+ +GUPNP_TOOLS_LICENSE_FILES = COPYING +GUPNP_TOOLS_INSTALL_STAGING = YES +GUPNP_TOOLS_DEPENDENCIES = \ + host-pkgconf \ + libglib2 \ + libxml2 \ + gssdp \ + gupnp \ + libsoup \ + libgtk3 + +ifeq ($(BR2_PACKAGE_GUPNP_AV),y) +GUPNP_TOOLS_CONF_OPTS += --with-av +GUPNP_TOOLS_DEPENDENCIES += gupnp-av +else +GUPNP_TOOLS_CONF_OPTS += --without-av +endif + +ifeq ($(BR2_PACKAGE_GTKSOURCEVIEW),y) +GUPNP_TOOLS_DEPENDENCIES += gtksourceview +endif + +$(eval $(autotools-package))