lxqt-about: fix build in x11-less environments

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
Andreas Müller
2015-06-03 23:48:27 +02:00
parent f263b9e6dd
commit e9a8f54f38
2 changed files with 37 additions and 3 deletions

View File

@@ -0,0 +1,36 @@
From d5fa7823c6ddbfb5a1f00ba391e6bb5fe5f9df29 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
Date: Sun, 31 May 2015 01:12:28 +0200
Subject: [PATCH] do not depend on Qt5X11Extras
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
CMakeLists.txt | 2 --
1 file changed, 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c49929f..beacc50 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -7,7 +7,6 @@ set(CPP_FILES
find_package(Qt5Widgets REQUIRED QUIET)
find_package(Qt5DBus REQUIRED QUIET)
-find_package(Qt5X11Extras REQUIRED QUIET)
find_package(lxqt REQUIRED QUIET)
include(${LXQT_USE_FILE})
@@ -41,7 +40,6 @@ add_executable(${PROJECT_NAME}
target_link_libraries(${PROJECT_NAME}
Qt5::Widgets
Qt5::DBus
- Qt5::X11Extras
${LXQT_LIBRARIES}
)
--
1.9.3

View File

@@ -2,15 +2,13 @@ SUMMARY = "The standalone LXQt "About" dialog"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=0964c689fcf4c21c6797ea87408416b6"
REQUIRED_DISTRO_FEATURES = "x11"
inherit lxqt
DEPENDS += " \
liblxqt \
${@bb.utils.contains("DISTRO_FEATURES", "x11", "qtx11extras", "", d)} \
"
SRC_URI += "file://0001-do-not-depend-on-Qt5X11Extras.patch"
SRCREV = "dd55813a86080341b6068d788b5efb19c869e8af"
PV = "0.9.0"