File: rules

package info (click to toggle)
oxygen 4%3A5.14.5-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 25,980 kB
  • sloc: cpp: 22,277; python: 39; makefile: 24; sh: 13
file content (36 lines) | stat: -rwxr-xr-x 1,069 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
29
30
31
32
33
34
35
36
#!/usr/bin/make -f
# -*- makefile -*-

export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

l10npkgs_firstversion_ok := 4:4.14.0-2
include /usr/share/pkg-kde-tools/qt-kde-team/2/l10n-packages.mk

%:
	dh $@ --with kf5,pkgkde_symbolshelper --buildsystem kf5 --without build_stamp

override_dh_auto_clean:
	dh_auto_clean --builddirectory=build-qt4
	dh_auto_clean

override_dh_auto_configure:
	dh_auto_configure --builddirectory=build-qt4 -- -DUSE_KDE4=true
	dh_auto_configure

override_dh_auto_build:
	dh_auto_build --builddirectory=build-qt4
	dh_auto_build

override_dh_auto_install:
	dh_auto_install --builddirectory=build-qt4
	dh_auto_install
	mkdir -p debian/kde-style-oxygen-qt4/usr/lib/$(DEB_HOST_MULTIARCH)/qt4/plugins/styles/
	ln -s /usr/lib/kde4/plugins/styles/oxygen.so debian/kde-style-oxygen-qt4/usr/lib/$(DEB_HOST_MULTIARCH)/qt4/plugins/styles/

override_dh_strip:
	dh_strip --dbgsym-migration='oxygen-dbg (<= 4:5.5.5-1~~)'

override_dh_gencontrol: l10npkgs_firstversion_ok
	dh_gencontrol