Patchwork [09/13] libplist: new package

login
register
mail settings
Submitter Maxime Hadjinlian
Date Feb. 21, 2013, 2:58 p.m.
Message ID <28cc50d3bae240e6956876b657cafabc7f2187b0.1361458625.git.maxime.hadjinlian@gmail.com>
Download mbox | patch
Permalink /patch/222314/
State Changes Requested
Headers show

Comments

Maxime Hadjinlian - Feb. 21, 2013, 2:58 p.m.
LIBPLIST is a client for manipulating Apple Property List (.plist) files
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
---
 package/Config.in            |    1 +
 package/libplist/Config.in   |   12 ++++++++++++
 package/libplist/libplist.mk |   15 +++++++++++++++
 3 files changed, 28 insertions(+)
 create mode 100644 package/libplist/Config.in
 create mode 100644 package/libplist/libplist.mk
Yann E. MORIN - Feb. 21, 2013, 8:01 p.m.
Maxime, All,

On Thursday 21 February 2013 Maxime Hadjinlian wrote:
> LIBPLIST is a client for manipulating Apple Property List (.plist) files
> This package was originally found at : https://github.com/huceke/buildroot-rbp
> By gimli <ebsi4711@gmail.com>
[--SNIP--]
> diff --git a/package/Config.in b/package/Config.in
> index a9cb9ed..382d859 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -559,6 +559,7 @@ source "package/gsl/Config.in"
>  source "package/libglib2/Config.in"
>  source "package/libical/Config.in"
>  source "package/lockdev/Config.in"
> +source "package/libplist/Config.in"
>  source "package/libnspr/Config.in"

Alphabetical order, please.

[--SNIP--]
> diff --git a/package/libplist/libplist.mk b/package/libplist/libplist.mk
> new file mode 100644
> index 0000000..16ea5ff
> --- /dev/null
> +++ b/package/libplist/libplist.mk
> @@ -0,0 +1,15 @@
> +#############################################################
> +#
> +# libplist
> +#
> +#############################################################
> +
> +LIBPLIST_VERSION = 1.6
> +LIBPLIST_SITE = http://cgit.sukimashita.com/libplist.git/snapshot
> +LIBPLIST_DEPENDENCIES = libxml2
> +LIBPLIST_INSTALL_STAGING = YES
> +LIBPLIST_MAKE = $(MAKE1)
> +LIBPLIST_LICENSE = GPLv2

Although both COPYING and COPYING.LESSER are present, there's no file I
could find under the GPLv2. They all refer to the LGPLv2.1+.

Regards,
Yann E. MORIN.

Patch

diff --git a/package/Config.in b/package/Config.in
index a9cb9ed..382d859 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -559,6 +559,7 @@  source "package/gsl/Config.in"
 source "package/libglib2/Config.in"
 source "package/libical/Config.in"
 source "package/lockdev/Config.in"
+source "package/libplist/Config.in"
 source "package/libnspr/Config.in"
 source "package/libsigc/Config.in"
 source "package/libtpl/Config.in"
diff --git a/package/libplist/Config.in b/package/libplist/Config.in
new file mode 100644
index 0000000..a4a3adb
--- /dev/null
+++ b/package/libplist/Config.in
@@ -0,0 +1,12 @@ 
+config BR2_PACKAGE_LIBPLIST
+	bool "libplist"
+	select BR2_PACKAGE_LIBXML2
+	depends on BR2_INSTALL_LIBSTDCPP
+	help
+	  libplist is a client for manipulating Apple Property List
+	  (.plist) files
+
+	  http://cgit.sukimashita.com/libplist.git
+
+comment "libplist requires C++ support in toolchain"
+	depends on !BR2_INSTALL_LIBSTDCPP
diff --git a/package/libplist/libplist.mk b/package/libplist/libplist.mk
new file mode 100644
index 0000000..16ea5ff
--- /dev/null
+++ b/package/libplist/libplist.mk
@@ -0,0 +1,15 @@ 
+#############################################################
+#
+# libplist
+#
+#############################################################
+
+LIBPLIST_VERSION = 1.6
+LIBPLIST_SITE = http://cgit.sukimashita.com/libplist.git/snapshot
+LIBPLIST_DEPENDENCIES = libxml2
+LIBPLIST_INSTALL_STAGING = YES
+LIBPLIST_MAKE = $(MAKE1)
+LIBPLIST_LICENSE = GPLv2
+LIBPLIST_LICENSE_FILES = COPYING
+
+$(eval $(cmake-package))