summaryrefslogtreecommitdiffstats
path: root/contrib/libmp4v2/module.defs
blob: ede60253ed905d7d57bec61421009c434de3fce0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$(eval $(call import.MODULE.defs,LIBMP4V2,libmp4v2))
$(eval $(call import.CONTRIB.defs,LIBMP4V2))

LIBMP4V2.FETCH.url = http://download.m0k.org/handbrake/contrib/libmp4v2-2.0-r224-repack.tar.gz
LIBMP4V2.EXTRACT.tarbase = libmp4v2

## propagate more flags
LIBMP4V2.CONFIGURE.env.CFLAGS = CFLAGS="$(call fn.ARGS,LIBMP4V2.GCC,*archs *D .g .O)"
LIBMP4V2.CONFIGURE.env.CXXFLAGS = CXXFLAGS="$(call fn.ARGS,LIBMP4V2.GCC,*archs *D .g .O)"

## save some build-time by disabling utils
LIBMP4V2.CONFIGURE.extra += --disable-util

ifeq ($(BUILD.system),mingw)
    ## mingw platform patches configure.ac and requires bootstrap
    LIBMP4V2.CONFIGURE.bootstrap = autoreconf -fiv;
endif