pmaports/main/ofono-qt/11_use_libdir.patch
Bhushan Shah ff29f3a7db aports/main: Introduce ofono-qt aport (#1512)
This is basically too old stuff from meego times, and is added only
because telepathy-ofono needs it for now, I will talk with ubports
people to get telepathy-ofono ported to libqofono so we can dump this 6
year old unmaintained library.

(patches to make it build with qt5 and modern compiler are taken from
ubuntu packaging)
2018-06-01 21:19:43 +02:00

22 lines
669 B
Diff

Description: Install libraries and pkg-config file into (multiarch on Ubuntu) libdir
Author: Iain Lane <iain.lane@canonical.com>
Index: b/lib/lib.pro
===================================================================
--- a/lib/lib.pro
+++ b/lib/lib.pro
@@ -60,12 +60,13 @@
SOURCES += ofonoconnman.cpp
SOURCES += ofonoconnmancontext.cpp
-target.path = $$[QT_INSTALL_PREFIX]/lib
+target.path = $$[QT_INSTALL_LIBS]
headers.files = $$PUBLIC_HEADERS
headers.path = $$[QT_INSTALL_PREFIX]/include/ofono-qt
CONFIG += create_pc create_prl
+QMAKE_PKGCONFIG_PREFIX = $$[QT_INSTALL_LIBS]
QMAKE_PKGCONFIG_DESTDIR = pkgconfig
QMAKE_PKGCONFIG_INCDIR = $$headers.path