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

MP4V2.FETCH.url = http://download.handbrake.fr/handbrake/contrib/mp4v2-trunk-r355.tar.bz2

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

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

# gch causes build errors with -g3 on many gcc toolchains
MP4V2.CONFIGURE.extra += --disable-gch

## optional static libs need to be marked
MP4V2.OSL.libs  = mp4v2
MP4V2.OSL.files = $(foreach i,$(MP4V2.OSL.libs),$(call fn.ABSOLUTE,$(CONTRIB.build/)lib/lib$(i).a))