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 9BBB5138334 for ; Sun, 7 Jul 2019 16:06:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DE8F2E0843; Sun, 7 Jul 2019 16:06:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 B29EDE0843 for ; Sun, 7 Jul 2019 16:06:04 +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 93C833472EA for ; Sun, 7 Jul 2019 16:06:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 00C584D3 for ; Sun, 7 Jul 2019 16:06:02 +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: <1562515303.de1e5b48cd2c02be62ed8fe4c86cc62fc695479f.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-plasma/xdg-desktop-portal-kde/ X-VCS-Repository: proj/kde X-VCS-Files: kde-plasma/xdg-desktop-portal-kde/metadata.xml kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.16.49.9999.ebuild kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-9999.ebuild X-VCS-Directories: kde-plasma/xdg-desktop-portal-kde/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: de1e5b48cd2c02be62ed8fe4c86cc62fc695479f X-VCS-Branch: master Date: Sun, 7 Jul 2019 16:06:02 +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: 0189025a-0d0b-4f62-856b-8297c6761321 X-Archives-Hash: 00a955a7af01cad94ce1f9fe16f6f448 commit: de1e5b48cd2c02be62ed8fe4c86cc62fc695479f Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Jul 7 15:33:05 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jul 7 16:01:43 2019 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=de1e5b48 kde-plasma/xdg-desktop-portal-kde: Add USE screencast Package-Manager: Portage-2.3.68, Repoman-2.3.16 Signed-off-by: Andreas Sturmlechner gentoo.org> kde-plasma/xdg-desktop-portal-kde/metadata.xml | 3 +++ .../xdg-desktop-portal-kde-5.16.49.9999.ebuild | 26 ++++++++++++++++------ .../xdg-desktop-portal-kde-9999.ebuild | 26 ++++++++++++++++------ 3 files changed, 41 insertions(+), 14 deletions(-) diff --git a/kde-plasma/xdg-desktop-portal-kde/metadata.xml b/kde-plasma/xdg-desktop-portal-kde/metadata.xml index 2fdbf33d96..bcfc8e0c39 100644 --- a/kde-plasma/xdg-desktop-portal-kde/metadata.xml +++ b/kde-plasma/xdg-desktop-portal-kde/metadata.xml @@ -5,4 +5,7 @@ kde@gentoo.org Gentoo KDE Project + + Enable screencast portal using media-video/pipewire + diff --git a/kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.16.49.9999.ebuild b/kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.16.49.9999.ebuild index ab93b235e4..2eb10fd815 100644 --- a/kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.16.49.9999.ebuild +++ b/kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.16.49.9999.ebuild @@ -9,13 +9,8 @@ inherit kde5 DESCRIPTION="Backend implementation for xdg-desktop-portal that is using Qt/KDE Frameworks" LICENSE="LGPL-2+" KEYWORDS="" -IUSE="" +IUSE="screencast" -# TODO: Needed for screencast portal -# dev-libs/glib:2 -# media-libs/libepoxy -# media-libs/mesa[gbm] -# not packaged: PipeWire COMMON_DEPEND=" $(add_frameworks_dep kcoreaddons) $(add_frameworks_dep ki18n) @@ -26,11 +21,28 @@ COMMON_DEPEND=" $(add_qt_dep qtgui) $(add_qt_dep qtprintsupport 'cups') $(add_qt_dep qtwidgets) + screencast? ( + dev-libs/glib:2 + media-libs/libepoxy + media-libs/mesa[gbm] + media-video/pipewire + ) " DEPEND="${COMMON_DEPEND} $(add_frameworks_dep kwayland) $(add_qt_dep qtconcurrent) " RDEPEND="${COMMON_DEPEND} - sys-apps/xdg-desktop-portal + screencast? ( sys-apps/xdg-desktop-portal[screencast] ) + !screencast? ( sys-apps/xdg-desktop-portal ) " + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package screencast GLIB2) + $(cmake-utils_use_find_package screencast PipeWire) + $(cmake-utils_use_find_package screencast GBM) + $(cmake-utils_use_find_package screencast Epoxy) + ) + kde5_src_configure +} diff --git a/kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-9999.ebuild b/kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-9999.ebuild index ab93b235e4..2eb10fd815 100644 --- a/kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-9999.ebuild +++ b/kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-9999.ebuild @@ -9,13 +9,8 @@ inherit kde5 DESCRIPTION="Backend implementation for xdg-desktop-portal that is using Qt/KDE Frameworks" LICENSE="LGPL-2+" KEYWORDS="" -IUSE="" +IUSE="screencast" -# TODO: Needed for screencast portal -# dev-libs/glib:2 -# media-libs/libepoxy -# media-libs/mesa[gbm] -# not packaged: PipeWire COMMON_DEPEND=" $(add_frameworks_dep kcoreaddons) $(add_frameworks_dep ki18n) @@ -26,11 +21,28 @@ COMMON_DEPEND=" $(add_qt_dep qtgui) $(add_qt_dep qtprintsupport 'cups') $(add_qt_dep qtwidgets) + screencast? ( + dev-libs/glib:2 + media-libs/libepoxy + media-libs/mesa[gbm] + media-video/pipewire + ) " DEPEND="${COMMON_DEPEND} $(add_frameworks_dep kwayland) $(add_qt_dep qtconcurrent) " RDEPEND="${COMMON_DEPEND} - sys-apps/xdg-desktop-portal + screencast? ( sys-apps/xdg-desktop-portal[screencast] ) + !screencast? ( sys-apps/xdg-desktop-portal ) " + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package screencast GLIB2) + $(cmake-utils_use_find_package screencast PipeWire) + $(cmake-utils_use_find_package screencast GBM) + $(cmake-utils_use_find_package screencast Epoxy) + ) + kde5_src_configure +}