summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-08-02 10:28:12 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-09-24 10:48:15 +0200
commit418879765756a0882e61b53498271674a96e9b9a (patch)
tree5204bec69bc7e2b96f694b97ad6e67659793da97
parent09847462a8e1cd97c7a68fefe2e9fa5aaa1d2f3e (diff)
downloadkde-418879765756a0882e61b53498271674a96e9b9a.tar.gz
kde-418879765756a0882e61b53498271674a96e9b9a.tar.bz2
kde-418879765756a0882e61b53498271674a96e9b9a.zip
kde-frameworks/knotifications: Fix build with USE -X
Upstream commit 0450e434116acdc640b0c8256228feec8b363e47 Bug: https://bugs.gentoo.org/813450 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-frameworks/knotifications/knotifications-9999.ebuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/kde-frameworks/knotifications/knotifications-9999.ebuild b/kde-frameworks/knotifications/knotifications-9999.ebuild
index 8f5e502a067..168e524bd4b 100644
--- a/kde-frameworks/knotifications/knotifications-9999.ebuild
+++ b/kde-frameworks/knotifications/knotifications-9999.ebuild
@@ -9,6 +9,7 @@ QTMIN=5.15.5
inherit ecm frameworks.kde.org
DESCRIPTION="Framework for notifying the user of an event"
+
LICENSE="LGPL-2.1+"
KEYWORDS=""
IUSE="dbus nls phonon qml speech X"
@@ -19,7 +20,7 @@ RDEPEND="
>=dev-qt/qtwidgets-${QTMIN}:5
=kde-frameworks/kconfig-${PVCUT}*:5
=kde-frameworks/kcoreaddons-${PVCUT}*:5
- =kde-frameworks/kwindowsystem-${PVCUT}*:5[X=]
+ =kde-frameworks/kwindowsystem-${PVCUT}*:5[X?]
dbus? ( dev-libs/libdbusmenu-qt[qt5(+)] )
!phonon? ( media-libs/libcanberra )
phonon? ( >=media-libs/phonon-4.11.0 )
@@ -34,9 +35,7 @@ RDEPEND="
DEPEND="${RDEPEND}
X? ( x11-base/xorg-proto )
"
-BDEPEND="
- nls? ( >=dev-qt/linguist-tools-${QTMIN}:5 )
-"
+BDEPEND="nls? ( >=dev-qt/linguist-tools-${QTMIN}:5 )"
src_configure() {
local mycmakeargs=(
@@ -44,7 +43,7 @@ src_configure() {
$(cmake_use_find_package !phonon Canberra)
$(cmake_use_find_package qml Qt5Qml)
$(cmake_use_find_package speech Qt5TextToSpeech)
- $(cmake_use_find_package X X11)
+ -DWITHOUT_X11=$(usex !X)
)
ecm_src_configure