File: rules

package info (click to toggle)
kylin-burner 3.0.10-1.2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 26,128 kB
  • sloc: ansic: 103,512; makefile: 1,639; xml: 107; sh: 15
file content (42 lines) | stat: -rwxr-xr-x 1,088 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/make -f
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk

SOVERSION := $(shell sed -rn 's/^Package:[[:space:]]*libburner-media([0-9-]+)[[:space:]]*$$/\1/p' debian/control)
SHLIBS := 3.0.0

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# 3.12.1 fails to build with -z defs

export BURNER_PLUGIN_DIRECTORY = /usr/lib/${DEB_HOST_MULTIARCH}/burner$(SOVERSION)/plugins

ifneq ($(DEB_BUILD_ARCH_OS), linux)
CONFFLAGS += --disable-inotify
endif

%:
	dh $@ --with gir,gnome --no-control

override_dh_autoreconf:
	dh_autoreconf --as-needed

override_dh_auto_configure:
	dh_auto_configure -- \
		--disable-cdrtools \
		--disable-caches \
		--disable-nautilus \
		--enable-search \
		--enable-introspection \
		--enable-gtk-doc \
		$(CONFFLAGS)

override_dh_install:
	find . -name "*.la" -delete
	dh_install

override_dh_missing:
	dh_missing --fail-missing

override_dh_makeshlibs:
	dh_makeshlibs -plibburner-media$(SOVERSION) -V 'libburner-media$(SOVERSION) (>= $(SHLIBS))' -Xplugins -- -c4
	dh_makeshlibs -pkylin-burner --no-act
	dh_makeshlibs -pburner-cdrkit --no-act