From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 226F8138336 for ; Sun, 7 Apr 2019 12:54:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0A893E0878; Sun, 7 Apr 2019 12:54:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D443EE0866 for ; Sun, 7 Apr 2019 12:54:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5D6DC335CF7 for ; Sun, 7 Apr 2019 12:54:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 54670576 for ; Sun, 7 Apr 2019 12:54:29 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1554570335.8d7b93e9fe399d405bb2dfab05638573913b48b1.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-frameworks/solid/ X-VCS-Repository: proj/kde X-VCS-Files: kde-frameworks/solid/solid-9999.ebuild X-VCS-Directories: kde-frameworks/solid/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 8d7b93e9fe399d405bb2dfab05638573913b48b1 X-VCS-Branch: master Date: Sun, 7 Apr 2019 12:54:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3f1f6126-5742-4190-9691-d2962e0fb25c X-Archives-Hash: d7a71a16b040703d65658d800727af49 commit: 8d7b93e9fe399d405bb2dfab05638573913b48b1 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Apr 6 17:05:35 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Apr 6 17:05:35 2019 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=8d7b93e9 kde-frameworks/solid: Add USE udev Upstream commit 124760e1a38338bcc35dd515ea6335f2a1fad085 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner gentoo.org> kde-frameworks/solid/solid-9999.ebuild | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/kde-frameworks/solid/solid-9999.ebuild b/kde-frameworks/solid/solid-9999.ebuild index eec12ad6bd..6621226728 100644 --- a/kde-frameworks/solid/solid-9999.ebuild +++ b/kde-frameworks/solid/solid-9999.ebuild @@ -9,7 +9,7 @@ inherit kde5 DESCRIPTION="Provider for platform independent hardware discovery, abstraction and management" LICENSE="LGPL-2.1+" KEYWORDS="" -IUSE="nls" +IUSE="nls udev" BDEPEND=" nls? ( $(add_qt_dep linguist-tools) ) @@ -20,16 +20,25 @@ RDEPEND=" $(add_qt_dep qtwidgets) $(add_qt_dep qtxml) sys-fs/udisks:2 - virtual/udev + udev? ( virtual/udev ) " DEPEND="${RDEPEND} test? ( $(add_qt_dep qtconcurrent) ) " +src_configure() { + local mycmakeargs=( + -DUDEV_DISABLED=$(usex !udev) + ) + kde5_src_configure +} + pkg_postinst() { kde5_pkg_postinst if [[ -z "${REPLACING_VERSIONS}" ]] && ! has_version "app-misc/media-player-info" ; then elog "For media player support, install app-misc/media-player-info" fi + + use udev || ewarn "Building without udev support may cause unintended runtime problems in consumers." }