contrib: autodetect dvdread
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 6 Aug 2011 15:48:38 +0000 (18:48 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 6 Aug 2011 15:48:38 +0000 (18:48 +0300)
contrib/src/dvdread/rules.mak

index e3f8bf4..81165f7 100644 (file)
@@ -1,5 +1,12 @@
 # DVDREAD
 
+ifdef BUILD_DISCS
+PKGS += dvdread
+endif
+ifeq ($(call need_pkg,"dvdread"),)
+PKGS_FOUND += dvdread
+endif
+
 $(TARBALLS)/dvdread-svn.tar.xz:
        rm -Rf dvdread-svn
        $(SVN) export svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdread dvdread-svn