File: rules

package info (click to toggle)
foundry 1.1~beta-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 15,552 kB
  • sloc: ansic: 167,487; xml: 417; makefile: 21; sh: 19; javascript: 10
file content (28 lines) | stat: -rwxr-xr-x 900 bytes parent folder | download
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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs
export DPKG_GENSYMBOLS_CHECK_LEVEL = 4

%:
	dh $@

# We enable gtk for now because those packages already went through NEW
# gtk requires feature-text, feature-vcs seems necessary also
# https://gitlab.gnome.org/GNOME/foundry/-/issues/24
override_dh_auto_configure:
	dh_auto_configure -- \
		-Dadwaita=false \
		-Ddocs=$(if $(filter %-doc,$(shell dh_listpackages)),true,false) \
		-Dfeature-flatpak=$(if $(filter alpha,$(DEB_HOST_ARCH)),false,true) \
		-Dgtk=$(if $(filter libfoundry-gtk-%,$(shell dh_listpackages)),true,false) \
		-Dcommonmark=false \
		-Dfeature-debugger=false \
		-Dfeature-forge=false \
		-Dfeature-git=false \
		-Dfeature-llm=false \
		-Dfeature-lsp=false \
		-Dfeature-mcp=false \
		-Dfeature-templates=false \
		-Dplugin-deviced=false \
		-Dwebkit=false