~xnox/kubuntu-packaging/qtbase-opensource-src

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Dmitrijs Ledkovs
  • Date: 2013-09-03 14:30:56 UTC
  • Revision ID: dmitrijs.ledkovs@canonical.com-20130903143056-l9zb4xcqfdz6uf61
* Store mkspecs in multiarch locations, as they are different between architectures.
* Add a qt.conf to override compiled in defaults with multi-arch paths.
* Add a mkspecs/debian which uses dpkg-architecture to select cross-compiler.

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
                    -libdir "/usr/lib/$(DEB_HOST_MULTIARCH)" \
99
99
                    -docdir "/usr/share/qt5/doc" \
100
100
                    -headerdir "/usr/include/qt5" \
101
 
                    -datadir "/usr/share/qt5" \
 
101
                    -datadir "/usr/lib/$(DEB_HOST_MULTIARH)/qt5" \
102
102
                    -archdatadir "/usr/lib/$(DEB_HOST_MULTIARCH)/qt5" \
103
103
                    -hostdatadir "/usr/share/qt5" \
104
104
                    -plugindir "/usr/lib/$(DEB_HOST_MULTIARCH)/qt5/plugins" \
233
233
        ln -s /usr/share/qtchooser/qt5-$(DEB_HOST_MULTIARCH).conf $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/qtchooser/5.conf
234
234
        ln -s /usr/share/qtchooser/qt5-$(DEB_HOST_MULTIARCH).conf $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/qtchooser/qt5.conf
235
235
        ln -s /usr/share/qtchooser/qt5-$(DEB_HOST_MULTIARCH).conf $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/qtchooser/default.conf
 
236
        cp debian/qt.conf $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/qt5/bin
236
237
 
237
238
        # Remove leftover directories
238
239
        find $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/qt5 -depth -type d \( -false \