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 61FE6138334 for ; Sun, 7 Jul 2019 15:56:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A5955E0844; Sun, 7 Jul 2019 15:56:08 +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 72867E0844 for ; Sun, 7 Jul 2019 15:56:08 +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 5CC1234730E for ; Sun, 7 Jul 2019 15:56:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 824276DC for ; Sun, 7 Jul 2019 15:56:03 +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: <1562514663.689f851fdd7ed3b3de87d790b5fe45765cf92442.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: kde-plasma/xdg-desktop-portal-kde/ X-VCS-Repository: repo/gentoo X-VCS-Files: kde-plasma/xdg-desktop-portal-kde/metadata.xml kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.16.2.ebuild X-VCS-Directories: kde-plasma/xdg-desktop-portal-kde/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 689f851fdd7ed3b3de87d790b5fe45765cf92442 X-VCS-Branch: master Date: Sun, 7 Jul 2019 15:56:03 +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: 9489939c-2efc-44ad-9ca1-36e76b9944d3 X-Archives-Hash: a11184e8ddc0aa0c99a2c9faa3c44a1f commit: 689f851fdd7ed3b3de87d790b5fe45765cf92442 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Jul 7 15:33:05 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jul 7 15:51:03 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=689f851f kde-plasma/xdg-desktop-portal-kde: Add USE screencast Bug: https://bugs.gentoo.org/686336 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.2.ebuild | 26 ++++++++++++++++------ 2 files changed, 22 insertions(+), 7 deletions(-) diff --git a/kde-plasma/xdg-desktop-portal-kde/metadata.xml b/kde-plasma/xdg-desktop-portal-kde/metadata.xml index 2fdbf33d963..bcfc8e0c39c 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.2.ebuild b/kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.16.2.ebuild index b36da6ccfc5..0f81e42f3e0 100644 --- a/kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.16.2.ebuild +++ b/kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.16.2.ebuild @@ -9,13 +9,8 @@ inherit kde5 DESCRIPTION="Backend implementation for xdg-desktop-portal that is using Qt/KDE Frameworks" LICENSE="LGPL-2+" KEYWORDS="~amd64 ~arm ~arm64 ~x86" -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 +}