From patchwork Tue Sep 15 08:04:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rahul Bedarkar X-Patchwork-Id: 517707 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id BF7A61401CD for ; Tue, 15 Sep 2015 18:06:33 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 1AF85967A7; Tue, 15 Sep 2015 08:06:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U8hKxwVoYOyA; Tue, 15 Sep 2015 08:06:30 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id BC893965B1; Tue, 15 Sep 2015 08:06:30 +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 9A97F1C0FB2 for ; Tue, 15 Sep 2015 08:06:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 932ED8ACBD for ; Tue, 15 Sep 2015 08:06:29 +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 17IoDOr5p0Hl for ; Tue, 15 Sep 2015 08:06:29 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailapp01.imgtec.com (mailapp01.imgtec.com [195.59.15.196]) by whitealder.osuosl.org (Postfix) with ESMTP id DC2278AC82 for ; Tue, 15 Sep 2015 08:06:28 +0000 (UTC) Received: from KLMAIL01.kl.imgtec.org (unknown [192.168.5.35]) by Websense Email Security Gateway with ESMTPS id 147DEA728AB94 for ; Tue, 15 Sep 2015 09:06:26 +0100 (IST) Received: from PUMAIL01.pu.imgtec.org (192.168.91.250) by KLMAIL01.kl.imgtec.org (192.168.5.35) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 15 Sep 2015 09:06:27 +0100 Received: from pudesk287-linux.pu.imgtec.org (192.168.95.110) by PUMAIL01.pu.imgtec.org (192.168.91.250) with Microsoft SMTP Server (TLS) id 14.3.123.3; Tue, 15 Sep 2015 13:36:24 +0530 From: Rahul Bedarkar To: , Vicente Olivert Riera Date: Tue, 15 Sep 2015 13:34:40 +0530 Message-ID: <1442304281-16222-3-git-send-email-rahul.bedarkar@imgtec.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1442304281-16222-1-git-send-email-rahul.bedarkar@imgtec.com> References: <1442304281-16222-1-git-send-email-rahul.bedarkar@imgtec.com> MIME-Version: 1.0 X-Originating-IP: [192.168.95.110] Cc: Abhimanyu Vishwakarma , Rahul Bedarkar , Marcin Nowakowski Subject: [Buildroot] [PATCH v2 2/3] gupnp: 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: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Reviewed-by: Marcin Nowakowski Signed-off-by: Abhimanyu Vishwakarma Signed-off-by: Rahul Bedarkar Reviewed-by: Vicente Olivert Riera Tested-by: Vicente Olivert Riera --- Changes v1 -> v2: - gssdp also needs wchar, threads and MMU so add it to list in comment - util-linux also needs wchar so add it to list in comment (suggested by Vincent Olivert Riera) - add -VERSION_MAJOR variable (suggested by Vincent Olivert Riera) --- package/Config.in | 1 + package/gupnp/Config.in | 20 ++++++++++++++++++++ package/gupnp/gupnp.hash | 2 ++ package/gupnp/gupnp.mk | 16 ++++++++++++++++ 4 files changed, 39 insertions(+) create mode 100644 package/gupnp/Config.in create mode 100644 package/gupnp/gupnp.hash create mode 100644 package/gupnp/gupnp.mk diff --git a/package/Config.in b/package/Config.in index 25cc6df..165d00f 100644 --- a/package/Config.in +++ b/package/Config.in @@ -982,6 +982,7 @@ menu "Networking" source "package/geoip/Config.in" source "package/glib-networking/Config.in" source "package/gssdp/Config.in" + source "package/gupnp/Config.in" source "package/ibrcommon/Config.in" source "package/ibrdtn/Config.in" source "package/libcgi/Config.in" diff --git a/package/gupnp/Config.in b/package/gupnp/Config.in new file mode 100644 index 0000000..a5ecab7 --- /dev/null +++ b/package/gupnp/Config.in @@ -0,0 +1,20 @@ +config BR2_PACKAGE_GUPNP + bool "gupnp" + depends on BR2_USE_WCHAR # glib2, gssdp, util-linux + depends on BR2_TOOLCHAIN_HAS_THREADS # glib2, gssdp + depends on BR2_USE_MMU # glib2, gssdp + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_GSSDP + select BR2_PACKAGE_LIBXML2 + select BR2_PACKAGE_UTIL_LINUX + select BR2_PACKAGE_UTIL_LINUX_LIBUUID + help + GUPnP implements the UPnP specification: resource announcement + and discovery, description, control, event notification, and + presentation. + + http://www.gupnp.org/ + +comment "gupnp needs a toolchain w/ wchar, threads" + depends on BR2_USE_MMU + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS diff --git a/package/gupnp/gupnp.hash b/package/gupnp/gupnp.hash new file mode 100644 index 0000000..597cb42 --- /dev/null +++ b/package/gupnp/gupnp.hash @@ -0,0 +1,2 @@ +# Hash from: http://ftp.gnome.org/pub/gnome/sources/gupnp/0.19/gupnp-0.19.4.sha256sum: +sha256 3c1fb2873cb2f8f152b9d49598d55b15b8f3c1096a03ade46ce69694798fb243 gupnp-0.19.4.tar.xz diff --git a/package/gupnp/gupnp.mk b/package/gupnp/gupnp.mk new file mode 100644 index 0000000..85faaa4 --- /dev/null +++ b/package/gupnp/gupnp.mk @@ -0,0 +1,16 @@ +################################################################################ +# +# gupnp +# +################################################################################ + +GUPNP_VERSION_MAJOR = 0.19 +GUPNP_VERSION = $(GUPNP_VERSION_MAJOR).4 +GUPNP_SOURCE = gupnp-$(GUPNP_VERSION).tar.xz +GUPNP_SITE = http://ftp.gnome.org/pub/gnome/sources/gupnp/$(GUPNP_VERSION_MAJOR) +GUPNP_LICENSE = LGPLv2+ +GUPNP_LICENSE_FILES = COPYING +GUPNP_INSTALL_STAGING = YES +GUPNP_DEPENDENCIES = host-pkgconf libglib2 libxml2 gssdp util-linux + +$(eval $(autotools-package))