]> git.sesse.net Git - vlc/commitdiff
Contribs: add libblurray
authorJean-Baptiste Kempf <jb@videolan.org>
Sat, 6 Aug 2011 17:58:27 +0000 (19:58 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 6 Aug 2011 17:58:27 +0000 (19:58 +0200)
contrib/src/bluray/rules.mak [new file with mode: 0644]

diff --git a/contrib/src/bluray/rules.mak b/contrib/src/bluray/rules.mak
new file mode 100644 (file)
index 0000000..a170fc7
--- /dev/null
@@ -0,0 +1,27 @@
+# LIBBLURAY
+
+ifdef BUILD_DISCS
+PKGS += libbluray
+endif
+ifeq ($(call need_pkg,"libbluray"),)
+PKGS_FOUND += libbluray
+endif
+
+BLURAY_GITURL := git://git.videolan.org/libbluray.git
+
+$(TARBALLS)/libbluray-git.tar.xz:
+       $(call download_git,$(BLURAY_GITURL))
+
+.sum-libbluray: libbluray-git.tar.xz
+       $(warning Integrity check skipped.)
+       touch $@
+
+libbluray: libbluray-git.tar.xz .sum-libbluray
+       $(UNPACK)
+       $(MOVE)
+
+.libbluray: libbluray 
+       cd $< && ./bootstrap
+       cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
+       cd $< && $(MAKE) install
+       touch $@