From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vicente Olivert Riera Date: Tue, 15 Sep 2015 11:42:08 +0100 Subject: [Buildroot] [PATCH v2 2/3] gupnp: new package In-Reply-To: <1442304281-16222-3-git-send-email-rahul.bedarkar@imgtec.com> References: <1442304281-16222-1-git-send-email-rahul.bedarkar@imgtec.com> <1442304281-16222-3-git-send-email-rahul.bedarkar@imgtec.com> Message-ID: <55F7F600.5050103@imgtec.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Dear Rahul Bedarkar, please mark your previous patch as superseded: http://patchwork.ozlabs.org/patch/517339/ On 09/15/2015 09:04 AM, Rahul Bedarkar wrote: > Reviewed-by: Marcin Nowakowski > Signed-off-by: Abhimanyu Vishwakarma > Signed-off-by: Rahul Bedarkar Reviewed-by: Vicente Olivert Riera Tested-by: Vicente Olivert Riera Build test for MIPS architecture: $ file output/target/usr/lib/libgupnp-1.0.so.4.0.0 output/target/usr/lib/libgupnp-1.0.so.4.0.0: ELF 32-bit MSB shared object, MIPS, MIPS32 rel2 version 1 (SYSV), dynamically linked, with unknown capability 0x41000000 = 0xf676e75, with unknown capability 0x10000 = 0x70403, stripped Regards, Vincent. > --- > 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)) >