]> git.sesse.net Git - vlc/blob - contrib/src/bluray/rules.mak
a5ae24e95c7d46ab588b239782e9917c6544f82b
[vlc] / contrib / src / bluray / rules.mak
1 # LIBBLURAY
2
3 ifdef BUILD_DISCS
4 PKGS += libbluray
5 endif
6 ifeq ($(call need_pkg,"libbluray"),)
7 PKGS_FOUND += libbluray
8 endif
9
10 BLURAY_GITURL := git://git.videolan.org/libbluray.git
11
12 $(TARBALLS)/libbluray-git.tar.xz:
13         $(call download_git,$(BLURAY_GITURL))
14
15 .sum-libbluray: libbluray-git.tar.xz
16         $(warning Integrity check skipped.)
17         touch $@
18
19 libbluray: libbluray-git.tar.xz .sum-libbluray
20         $(UNPACK)
21         $(MOVE)
22
23 .libbluray: libbluray 
24         cd $< && ./bootstrap
25         cd $< && $(HOSTVARS) ./configure --disable-examples --disable-debug $(HOSTCONF)
26         cd $< && $(MAKE) install
27         touch $@