libsystemd-qt: Add latest git version of systemd bindings

This commit is contained in:
Holger Hans Peter Freyther 2014-03-21 13:42:14 +01:00
parent 6d25c7dda8
commit d736c151e7
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,18 @@
diff --git a/QtSystemd.pc.cmake b/QtSystemd.pc.cmake
index 6b6c0e5..c3bdd42 100644
--- a/QtSystemd.pc.cmake
+++ b/QtSystemd.pc.cmake
@@ -1,6 +1,6 @@
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
-libdir=@CMAKE_INSTALL_PREFIX@/lib@LIB_SUFFIX@
+libdir=${prefix}/lib@LIB_SUFFIX@
includedir=${prefix}/include/QtSystemd
Name: QtSystemd
@@ -9,4 +9,4 @@ Version: @VERSION@
Requires: systemd
Cflags: -I${includedir} @CMAKE_INCLUDE_PATH@
-Libs: -L${libdir} -lQtSystemd @CMAKE_LIBRARY_PATH@
+Libs: -L${libdir} -lQtSystemd

View File

@ -0,0 +1,19 @@
DESCRIPTION = "Qt Wrapper for systemd"
HOMEPAGE = "https://github.com/ilpianista/libsystemd-qt"
LICENSE = "LGPLv3+"
LIC_FILES_CHKSUM = "file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02"
inherit cmake_qt5
DEPENDS = "systemd"
RDEPENDS_${PN} = "dbus"
PV = "208+git${SRCPV}"
SRC_URI = "git://github.com/ilpianista/libsystemd-qt;branch=master \
file://fix-pkgconfig.patch"
S= "${WORKDIR}/git"
SRCREV = "398056b33314fc583dd8d8422e5c2f8b797fdb3b"
FILES_${PN}-dev += "${libdir}/cmake/* ${libdir}/qt5/mkspecs/features/*"