summaryrefslogtreecommitdiffstats
path: root/contrib/libdvdnav/module.defs
blob: 98c26b6b5d742d7c1f9cd4fc2b1dfec9ce3c5e85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$(eval $(call import.MODULE.defs,LIBDVDNAV,libdvdnav,LIBDVDREAD))
$(eval $(call import.CONTRIB.defs,LIBDVDNAV))

LIBDVDNAV.FETCH.url = http://download.handbrake.fr/handbrake/contrib/libdvdnav-svn1168.tar.gz
LIBDVDNAV.EXTRACT.tarbase = libdvdnav

ifneq (max,$(GCC.g))
ifeq (none,$(GCC.O))
	LIBDVDNAV.CONFIGURE.env.CFLAGS = CFLAGS="-DNDEBUG -O0"
else
	LIBDVDNAV.CONFIGURE.env.CFLAGS = CFLAGS="-DNDEBUG"
endif
else
ifeq (none,$(GCC.O))
	LIBDVDNAV.CONFIGURE.env.CFLAGS = CFLAGS="-g -O0"
else
	LIBDVDNAV.CONFIGURE.env.CFLAGS = CFLAGS="-g"
endif
endif

LIBDVDNAV.CONFIGURE.bootstrap = rm -fr aclocal.m4 autom4te.cache; autoreconf -fiv;

LIBDVDNAV.CONFIGURE.extra += --with-dvdread-config=$(call fn.ABSOLUTE,$(CONTRIB.build/)bin/dvdread-config)