|
17
by michal quintaisan
Revert that useless move, why did I even bother? |
1 |
#!/usr/bin/make -f
|
2 |
||
|
38
by Philip Muskovac
use pkg-project-neon.mk in rules |
3 |
dh = -a |
|
17
by michal quintaisan
Revert that useless move, why did I even bother? |
4 |
|
|
38
by Philip Muskovac
use pkg-project-neon.mk in rules |
5 |
include /opt/project-neon/share/project-neon/pkg-project-neon.mk |
|
34
by Philip Muskovac
disable compiler optimizations |
6 |
|
|
17
by michal quintaisan
Revert that useless move, why did I even bother? |
7 |
export QTDIR := $(shell pwd) |
8 |
export PATH := $(QTDIR)/bin:$(PATH) |
|
9 |
export LD_LIBRARY_PATH := $(QTDIR)/lib:$(LD_LIBRARY_PATH) |
|
10 |
||
|
44
by Philip Muskovac
force 32bit builds if we want to build for 32bit |
11 |
# make sure we build for 32bit if intended
|
12 |
ifeq ($(shell gcc -dumpmachine),i686-linux-gnu) |
|
13 |
extra_configure_opts := $(extra_configure_opts) -platform linux-g++-32 |
|
14 |
endif
|
|
15 |
||
|
17
by michal quintaisan
Revert that useless move, why did I even bother? |
16 |
override_dh_auto_configure:
|
17 |
rm -rf include && QTDIR="." perl bin/syncqt |
|
18 |
||
19 |
./configure -confirm-license \ |
|
20 |
-prefix "/opt/project-neon" \ |
|
21 |
-opensource \ |
|
22 |
-fast \ |
|
23 |
-nomake "examples" \ |
|
24 |
-nomake "demos" \ |
|
25 |
-I/usr/include/freetype2 \ |
|
26 |
-lfontconfig \ |
|
27 |
-qdbus \ |
|
28 |
-pch \ |
|
29 |
-system-sqlite \ |
|
30 |
-multimedia \ |
|
31 |
-audio-backend \ |
|
32 |
-svg \ |
|
33 |
-script \ |
|
34 |
-scripttools \ |
|
35 |
-no-phonon \ |
|
36 |
-no-phonon-backend \ |
|
37 |
-debug \ |
|
38 |
-no-separate-debug-info \ |
|
39 |
-verbose \ |
|
40 |
-gtkstyle \ |
|
41 |
-R install_libpath \ |
|
42 |
$(extra_configure_opts) |
|
43 |
||
44 |
override_dh_auto_install:
|
|
45 |
$(MAKE) install INSTALL_ROOT=$(CURDIR)/debian/tmp/ |
|
46 |
||
47 |
override_dh_install:
|
|
|
29
by Philip Muskovac
don't install useless example pictures |
48 |
# we don't need those |
49 |
rm -r debian/tmp/opt/project-neon/doc |
|
|
33
by Philip Muskovac
add workaround so the package build doesn't fail with a timestamp too old error |
50 |
touch debian/tmp/opt/project-neon/include/QtCore/QtConfig |
|
38
by Philip Muskovac
use pkg-project-neon.mk in rules |
51 |
dh_install
|