diff --git a/debian/libnymea-remoteproxyclient-dev.install.in b/debian/libnymea-remoteproxyclient-dev.install.in index da4196d..cff04e1 100644 --- a/debian/libnymea-remoteproxyclient-dev.install.in +++ b/debian/libnymea-remoteproxyclient-dev.install.in @@ -1,2 +1,3 @@ usr/lib/@DEB_HOST_MULTIARCH@/libnymea-remoteproxyclient.so usr/include/nymea-remoteproxyclient/* usr/include/nymea-remoteproxyclient +usr/lib/@DEB_HOST_MULTIARCH@/pkgconfig/nymea-remoteproxyclient.pc diff --git a/libnymea-remoteproxyclient/libnymea-remoteproxyclient.pro b/libnymea-remoteproxyclient/libnymea-remoteproxyclient.pro index ea2067b..0541c0f 100644 --- a/libnymea-remoteproxyclient/libnymea-remoteproxyclient.pro +++ b/libnymea-remoteproxyclient/libnymea-remoteproxyclient.pro @@ -10,3 +10,14 @@ installheaders.files = remoteproxyconnection.h installheaders.path = $$[QT_INSTALL_PREFIX]/include/nymea-remoteproxyclient/ INSTALLS += target installheaders + +# Create pkgconfig file +CONFIG += create_pc create_prl no_install_prl +QMAKE_PKGCONFIG_NAME = libnymea-remoteproxyclient +QMAKE_PKGCONFIG_DESCRIPTION = nymea remoteproxy client development library +QMAKE_PKGCONFIG_PREFIX = $$[QT_INSTALL_PREFIX] +QMAKE_PKGCONFIG_INCDIR = $$[QT_INSTALL_PREFIX]/include/nymea-remoteproxyclient/ +QMAKE_PKGCONFIG_LIBDIR = $$target.path +QMAKE_PKGCONFIG_VERSION = $$NYMEA_VERSION_STRING +QMAKE_PKGCONFIG_FILE = nymea-remoteproxyclient +QMAKE_PKGCONFIG_DESTDIR = pkgconfig