File: rules

package info (click to toggle)
eog 49.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,860 kB
  • sloc: ansic: 27,061; python: 347; xml: 28; makefile: 13; javascript: 9
file content (20 lines) | stat: -rwxr-xr-x 610 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#! /usr/bin/make -f

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

ifneq (,$(filter $(DEB_HOST_ARCH), amd64 arm64 armhf i386 loong64 ppc64el riscv64 s390x hurd-i386 hurd-amd64 powerpc ppc64 sparc64 x32))
ENABLE_RSVG = -Dlibrsvg=true
else
ENABLE_RSVG = -Dlibrsvg=false
endif


%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -Dgtk_doc=true -Dlibportal=false $(ENABLE_RSVG)

override_dh_girepository:
	dh_girepository -ldebian/tmp/usr/share/eog/gir-1.0/ /usr/lib/$(DEB_HOST_MULTIARCH)/eog /usr/lib/$(DEB_HOST_MULTIARCH)/eog/girepository-1.0/