codec: videotoolbox: check if H264 needs restart
[vlc.git] / contrib / src / dvdread / rules.mak
blob157c4a9e2b279652e57761d7dd3941780d3fd025
1 # DVDREAD
2 LIBDVDREAD_VERSION := 5.0.3
3 LIBDVDREAD_URL := $(VIDEOLAN)/libdvdread/$(LIBDVDREAD_VERSION)/libdvdread-$(LIBDVDREAD_VERSION).tar.bz2
5 ifdef BUILD_DISCS
6 ifdef GPL
7 PKGS += dvdread
8 endif
9 endif
10 ifeq ($(call need_pkg,"dvdread >= 5.0.3"),)
11 PKGS_FOUND += dvdread
12 endif
14 $(TARBALLS)/libdvdread-$(LIBDVDREAD_VERSION).tar.bz2:
15 $(call download,$(LIBDVDREAD_URL))
17 .sum-dvdread: libdvdread-$(LIBDVDREAD_VERSION).tar.bz2
19 dvdread: libdvdread-$(LIBDVDREAD_VERSION).tar.bz2 .sum-dvdread
20 $(UNPACK)
21 cd $(UNPACK_DIR) && sed -i -e 's,Requires.private,Requires,g' misc/*.pc.in
22 $(MOVE)
24 DEPS_dvdread = dvdcss
26 .dvdread: dvdread .dvdcss
27 $(RECONF) -I m4
28 cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --with-libdvdcss
29 cd $< && $(MAKE) install
30 touch $@