[vlmc-devel] contribs: Add medialibrary

Hugo Beauzée-Luyssen git at videolan.org
Tue Aug 2 01:00:33 CEST 2016


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Jul 21 10:26:16 2016 +0200| [374fc988cfda639e32f73c77bcdf0d4512c74cfb] | committer: Hugo Beauzée-Luyssen

contribs: Add medialibrary

The package is disabled by default for now, as macos build isn't fixed

> https://code.videolan.org/videolan/vlmc/commit/374fc988cfda639e32f73c77bcdf0d4512c74cfb
---

 contribs/src/medialibrary/rules.mak | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/contribs/src/medialibrary/rules.mak b/contribs/src/medialibrary/rules.mak
new file mode 100644
index 0000000..f985dc2
--- /dev/null
+++ b/contribs/src/medialibrary/rules.mak
@@ -0,0 +1,22 @@
+MEDIALIBRARY_VERSION := master
+MEDIALIBRARY_URL := https://code.videolan.org/videolan/medialibrary.git
+
+#PKGS += medialibrary
+ifeq ($(call need_pkg,"medialibrary"),)
+PKGS_FOUND += medialibrary
+endif
+
+DEPS_medialibrary += vlc jpegturbo sqlite
+
+$(TARBALLS)/medialibrary-$(MEDIALIBRARY_VERSION).tar.xz:
+	$(call download_git,$(MEDIALIBRARY_URL),,$(MEDIALIBRARY_VERSION))
+
+medialibrary: medialibrary-$(MEDIALIBRARY_VERSION).tar.xz
+	$(UNPACK)
+	$(MOVE)
+
+.medialibrary: medialibrary
+	cd $< && ./bootstrap
+	cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
+	cd $< && $(MAKE) install
+	touch $@



More information about the Vlmc-devel mailing list