summaryrefslogtreecommitdiffstats
path: root/gtk/module.defs
blob: 33a5fd11572cb57e1be0668ec7b2e28e11450a10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
$(eval $(call import.MODULE.defs,GTK,gtk,LIBHB))
$(eval $(call import.GCC,GTK))

GTK.src/   = $(SRC/)gtk/
GTK.build/ = $(BUILD/)gtk/

GTK.CONFIGURE.stamp = $(GTK.build/).stamp.configure

###############################################################################

GTK.out += $(GTK.CONFIGURE.stamp)

BUILD.out += $(GTK.out)

###############################################################################

ifeq (1-mingw,$(BUILD.cross)-$(BUILD.system))
GTK.CONFIGURE.extra += --host=$(BUILD.spec) --disable-gst
ifeq ($(HAS.dlfcn),1)
	GTK.CONFIGURE.extra += --enable-dl
endif
endif

ifeq (0,$(FEATURE.gtk.update.checks))
	GTK.CONFIGURE.extra += --disable-update-checks
endif

ifeq (0,$(FEATURE.gst))
	GTK.CONFIGURE.extra += --disable-gst
endif

ifeq (1,$(FEATURE.fdk_aac))
	GTK.CONFIGURE.extra += --enable-fdk-aac
endif

ifeq (1,$(FEATURE.faac))
	GTK.CONFIGURE.extra += --enable-faac
endif

ifeq (1,$(FEATURE.mp4v2))
	GTK.CONFIGURE.extra += --enable-mp4v2
endif

ifeq (1,$(FEATURE.libmkv))
	GTK.CONFIGURE.extra += --enable-libmkv
endif

ifeq (1,$(FEATURE.x265))
	GTK.CONFIGURE.extra += --enable-x265
endif