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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 56ED1158089 for ; Sun, 29 Oct 2023 20:21:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 190A92BC01E; Sun, 29 Oct 2023 20:21:08 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F16C42BC01D for ; Sun, 29 Oct 2023 20:21:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2E9E1335C5D for ; Sun, 29 Oct 2023 20:21:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6A32C12B1 for ; Sun, 29 Oct 2023 20:21:05 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1698609710.2d36642022244588f87fe7f1eb34b5109bb46135.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/xdg-desktop-portal/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.0-r1.ebuild X-VCS-Directories: sys-apps/xdg-desktop-portal/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 2d36642022244588f87fe7f1eb34b5109bb46135 X-VCS-Branch: master Date: Sun, 29 Oct 2023 20:21:05 +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: 9a8f745c-6c55-4c3e-a617-2e71186ecbc9 X-Archives-Hash: 5efde4566dc6e844816dfb899bda181e commit: 2d36642022244588f87fe7f1eb34b5109bb46135 Author: Sam James gentoo org> AuthorDate: Sun Oct 29 20:01:50 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sun Oct 29 20:01:50 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d366420 sys-apps/xdg-desktop-portal: drop 1.18.0-r1 Signed-off-by: Sam James gentoo.org> .../xdg-desktop-portal-1.18.0-r1.ebuild | 107 --------------------- 1 file changed, 107 deletions(-) diff --git a/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.0-r1.ebuild b/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.0-r1.ebuild deleted file mode 100644 index 0b47fc2c5796..000000000000 --- a/sys-apps/xdg-desktop-portal/xdg-desktop-portal-1.18.0-r1.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..12} ) - -inherit meson python-any-r1 systemd - -DESCRIPTION="Desktop integration portal" -HOMEPAGE="https://flatpak.org/ https://github.com/flatpak/xdg-desktop-portal" -SRC_URI="https://github.com/flatpak/${PN}/releases/download/${PV}/${P}.tar.xz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" -IUSE="geolocation flatpak seccomp systemd test" -RESTRICT="!test? ( test )" -# Upstream expect flatpak to be used w/ seccomp and flatpak needs bwrap anyway -REQUIRED_USE="flatpak? ( seccomp )" - -DEPEND=" - >=dev-libs/glib-2.66:2 - dev-libs/json-glib - dev-python/docutils - >=media-video/pipewire-0.3:= - >=sys-fs/fuse-3.10.0:3[suid] - x11-libs/gdk-pixbuf - geolocation? ( >=app-misc/geoclue-2.5.3:2.0 ) - flatpak? ( sys-apps/flatpak ) - seccomp? ( sys-apps/bubblewrap ) - systemd? ( sys-apps/systemd ) -" -RDEPEND=" - ${DEPEND} - sys-apps/dbus -" -BDEPEND=" - dev-util/gdbus-codegen - sys-devel/gettext - virtual/pkgconfig - test? ( - ${PYTHON_DEPS} - dev-libs/libportal - $(python_gen_any_dep ' - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - dev-python/python-dbusmock[${PYTHON_USEDEP}] - ') - ) -" - -PATCHES=( - # These tests require connections to pipewire, internet, /dev/fuse - "${FILESDIR}/${P}-sandbox-disable-failing-tests.patch" - - # https://github.com/flatpak/xdg-desktop-portal/pull/1100 - "${FILESDIR}/0001-meson.build-allow-linux-to-build-without-flatpak-ins.patch" - "${FILESDIR}/0002-meson.build-allow-linux-to-build-without-bubblewrap.patch" - "${FILESDIR}/0003-Make-flatpak-bwrap-optional.patch" -) - -pkg_setup() { - use test && python-any-r1_pkg_setup -} - -python_check_deps() { - python_has_version "dev-python/pytest[${PYTHON_USEDEP}]" && - python_has_version "dev-python/pytest-xdist[${PYTHON_USEDEP}]" && - python_has_version "dev-python/python-dbusmock[${PYTHON_USEDEP}]" -} - -src_configure() { - local emesonargs=( - -Ddbus-service-dir="${EPREFIX}/usr/share/dbus-1/services" - -Dsystemd-user-unit-dir="$(systemd_get_userunitdir)" - $(meson_feature flatpak) - # Only used for tests - $(meson_feature test libportal) - $(meson_feature geolocation geoclue) - $(meson_feature seccomp bwrap) - $(meson_feature systemd) - # Requires flatpak - -Ddocbook-docs=disabled - # -Dxmlto-flags= - -Ddatarootdir="${EPREFIX}/usr/share" - -Dman-pages=enabled - -Dinstalled-tests=false - $(meson_feature test pytest) - ) - - meson_src_configure -} - -pkg_postinst() { - if ! has_version gui-libs/xdg-desktop-portal-lxqt && ! has_version gui-libs/xdg-desktop-portal-wlr && \ - ! has_version kde-plasma/xdg-desktop-portal-kde && ! has_version sys-apps/xdg-desktop-portal-gnome && \ - ! has_version sys-apps/xdg-desktop-portal-gtk; then - elog "${PN} is not usable without any of the following XDP" - elog "implementations installed:" - elog " gui-libs/xdg-desktop-portal-lxqt" - elog " gui-libs/xdg-desktop-portal-wlr" - elog " kde-plasma/xdg-desktop-portal-kde" - elog " sys-apps/xdg-desktop-portal-gnome" - elog " sys-apps/xdg-desktop-portal-gtk" - fi -}