[PATCH 1/4] contrib: add libplist
Alexander Lyon
arlyon at me.com
Tue Oct 9 00:47:49 CEST 2018
To enable encoding / decoding binary plists for communication with AirPlay devices.
---
contrib/src/libplist/SHA512SUMS | 1 +
contrib/src/libplist/rules.mak | 28 ++++++++++++++++++++++++++++
2 files changed, 29 insertions(+)
create mode 100644 contrib/src/libplist/SHA512SUMS
create mode 100644 contrib/src/libplist/rules.mak
diff --git a/contrib/src/libplist/SHA512SUMS b/contrib/src/libplist/SHA512SUMS
new file mode 100644
index 0000000000..f13ca84197
--- /dev/null
+++ b/contrib/src/libplist/SHA512SUMS
@@ -0,0 +1 @@
+a3534a585fd92cdcba552a8ec176d6da1d1c10b6639f9c01925e1de70689480b024a942f5686fcb0a356b450126e40aa3e2132ef66652806c46ee18a1d6372c8 2.0.0.tar.gz
diff --git a/contrib/src/libplist/rules.mak b/contrib/src/libplist/rules.mak
new file mode 100644
index 0000000000..326d310887
--- /dev/null
+++ b/contrib/src/libplist/rules.mak
@@ -0,0 +1,28 @@
+# libplist
+
+LIBPLIST_VERSION := 2.0.0
+LIBPLIST_URL := $(GITHUB)/libimobiledevice/libplist/archive/$(LIBPLIST_VERSION).tar.gz
+
+ifdef BUILD_NETWORK
+PKGS += libplist
+endif
+ifeq ($(call need_pkg,"libplist"),)
+PKGS_FOUND += libplist
+endif
+
+LIBPLIST_CONF := $(HOSTCONF) --without-cython
+
+$(TARBALLS)/$(LIBPLIST_VERSION).tar.gz:
+ $(call download,$(LIBPLIST_URL))
+
+.sum-libplist: $(LIBPLIST_VERSION).tar.gz
+
+libplist: $(LIBPLIST_VERSION).tar.gz .sum-libplist
+ $(UNPACK)
+ mv libplist-$(UNPACK_DIR) $@ && touch $@
+
+.libplist: libplist
+ $(RECONF)
+ cd $< && $(HOSTVARS) ./configure $(LIBPLIST_CONF)
+ cd $< && $(MAKE) install
+ touch $@
--
2.19.0
More information about the vlc-devel
mailing list