File: rules

package info (click to toggle)
breeze 4%3A5.8.5-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 49,468 kB
  • sloc: cpp: 13,315; sh: 140; makefile: 22
file content (33 lines) | stat: -rwxr-xr-x 1,176 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
#!/usr/bin/make -f

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

include /usr/share/pkg-kde-tools/qt-kde-team/3/debian-qt-kde.mk

override_dh_auto_clean:
	$(overridden_command)
	rm -rf $(CURDIR)/build-qt4

override_dh_auto_configure:
	$(overridden_command)
	$(overridden_command) --builddirectory=$(CURDIR)/build-qt4 -- -DUSE_KDE4=true

override_dh_auto_build:
	$(overridden_command)
	$(overridden_command) --builddirectory=$(CURDIR)/build-qt4

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

override_dh_install:
	# This is required to make sure Plasma does not
	# fall back to a cursor theme from the 90's
	CURDIR=$(CURDIR) $(CURDIR)/debian/wrapperthemes.sh breeze_cursors \
	                                                   Breeze_Snow
	$(overridden_command)

override_dh_strip:
	$(overridden_command) --dbgsym-migration='breeze-dbg (<= 4:5.5.5-1~~)'