~gerboland/qtubuntu/fix_1351024

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Ricardo Salveti de Araujo
  • Date: 2014-05-09 21:19:21 UTC
  • Revision ID: ricardo.salveti@canonical.com-20140509211921-u4e0q9hesqhnpfj2
Moving back qtubuntu-desktop's arch to any, as there's no easy way to
guarantee that the package is broken on armhf

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH), $(gles2_architectures)))
20
20
        rm -rf $(TMP1_DIR)
21
21
endif
22
 
ifneq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH), $(gles2_architectures)))
23
22
        rm -rf $(TMP2_DIR)
24
 
endif
25
23
        dh_clean
26
24
 
27
25
override_dh_auto_configure:
28
26
ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH), $(gles2_architectures)))
29
27
        mkdir -p $(ANDROID_DIR) && dh_auto_configure -B$(ANDROID_DIR) -- "CONFIG+=mirserver" "CONFIG+=mirclient" "CONFIG+=hybris" $(CURDIR)
30
28
endif
31
 
ifneq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH), $(gles2_architectures)))
32
29
        mkdir -p $(DESKTOP_DIR) && dh_auto_configure -B$(DESKTOP_DIR) -- "CONFIG+=mirserver" "CONFIG+=mirclient" "QMAKE_CXXFLAGS=-DQTUBUNTU_USE_OPENGL" $(CURDIR)
33
 
endif
34
30
 
35
31
override_dh_auto_build:
36
32
ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH), $(gles2_architectures)))
37
33
        dh_auto_build -B$(ANDROID_DIR)
38
34
endif
39
 
ifneq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH), $(gles2_architectures)))
40
35
        dh_auto_build -B$(DESKTOP_DIR)
41
 
endif
42
36
 
43
37
override_dh_auto_install:
44
38
        rm -f debian/*/usr/lib/*/qt5/examples/qtubuntu/qmlscene-ubuntu
46
40
        mkdir -p $(TMP1_DIR) && cd $(ANDROID_DIR) && INSTALL_ROOT=$(TMP1_DIR) make install
47
41
        cd $(CURDIR)
48
42
endif
49
 
ifneq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH), $(gles2_architectures)))
50
43
        mkdir -p $(TMP2_DIR) && cd $(DESKTOP_DIR) && INSTALL_ROOT=$(TMP2_DIR) make install
51
44
        cd $(CURDIR)
52
 
endif
53
45
 
54
46
override_dh_install:
55
47
ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH), $(gles2_architectures)))
56
48
        dh_install --sourcedir=$(TMP1_DIR) -pqtubuntu-android
57
49
endif
58
 
ifneq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH), $(gles2_architectures)))
59
50
        dh_install --sourcedir=$(TMP2_DIR) -pqtubuntu-desktop
60
 
endif