Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/xdg-desktop-portal-gnome/
Date: Tue, 03 May 2022 16:26:14
Message-Id: 1651594824.2bdc40aacedb418a158b612aefd4157a46f02c3a.pacho@gentoo
1 commit: 2bdc40aacedb418a158b612aefd4157a46f02c3a
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 3 16:20:05 2022 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Tue May 3 16:20:24 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bdc40aa
7
8 sys-apps/xdg-desktop-portal-gnome: Add new portal with GNOME dependencies
9
10 Bug: 816135
11
12 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
13
14 sys-apps/xdg-desktop-portal-gnome/Manifest | 1 +
15 sys-apps/xdg-desktop-portal-gnome/metadata.xml | 8 ++++
16 .../xdg-desktop-portal-gnome-42.1.ebuild | 46 ++++++++++++++++++++++
17 3 files changed, 55 insertions(+)
18
19 diff --git a/sys-apps/xdg-desktop-portal-gnome/Manifest b/sys-apps/xdg-desktop-portal-gnome/Manifest
20 new file mode 100644
21 index 000000000000..a8084aba273f
22 --- /dev/null
23 +++ b/sys-apps/xdg-desktop-portal-gnome/Manifest
24 @@ -0,0 +1 @@
25 +DIST xdg-desktop-portal-gnome-42.1.tar.xz 117932 BLAKE2B c0c6dc7e4efbfda8996d63c191228ebf867e3fe11a0ae031b5bfd4298a33ab3b9cb9d9cecc36c1b41eeb33c54bd3bca17149e641c1131f0be7dcb2dbdf42eda8 SHA512 6843fd10e7e70f3d09c2a9b1397288f553fb44bcae30e7992790fddbc92d6c5cc966c27b7f294e2de1a139d3893c009f1480855d66c873a13861f3fe4abecee7
26
27 diff --git a/sys-apps/xdg-desktop-portal-gnome/metadata.xml b/sys-apps/xdg-desktop-portal-gnome/metadata.xml
28 new file mode 100644
29 index 000000000000..f453528b934f
30 --- /dev/null
31 +++ b/sys-apps/xdg-desktop-portal-gnome/metadata.xml
32 @@ -0,0 +1,8 @@
33 +<?xml version="1.0" encoding="UTF-8"?>
34 +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
35 +<pkgmetadata>
36 + <maintainer type="project">
37 + <email>gnome@g.o</email>
38 + <name>Gentoo GNOME Desktop</name>
39 + </maintainer>
40 +</pkgmetadata>
41
42 diff --git a/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-42.1.ebuild b/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-42.1.ebuild
43 new file mode 100644
44 index 000000000000..f4088f66bdb1
45 --- /dev/null
46 +++ b/sys-apps/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome-42.1.ebuild
47 @@ -0,0 +1,46 @@
48 +# Copyright 1999-2022 Gentoo Authors
49 +# Distributed under the terms of the GNU General Public License v2
50 +
51 +EAPI=8
52 +
53 +inherit gnome.org meson systemd xdg
54 +
55 +MY_PV="${PV//_pre*}"
56 +MY_P="${PN}-${MY_PV}"
57 +
58 +DESCRIPTION="Backend implementation for xdg-desktop-portal using GNOME"
59 +HOMEPAGE="https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome"
60 +
61 +LICENSE="LGPL-2.1"
62 +SLOT="0"
63 +KEYWORDS="~amd64"
64 +IUSE="wayland X"
65 +
66 +BDEPEND="
67 + dev-util/gdbus-codegen
68 + sys-devel/gettext
69 + virtual/pkgconfig
70 +"
71 +
72 +DEPEND="
73 + dev-libs/glib:2
74 + gnome-base/gnome-desktop:4=
75 + gui-libs/libadwaita:1
76 + media-libs/fontconfig
77 + sys-apps/dbus
78 + >=sys-apps/xdg-desktop-portal-1.7
79 + >=sys-apps/xdg-desktop-portal-gtk-1.14.0
80 + gui-libs/gtk:4[wayland?,X?]
81 +"
82 +
83 +RDEPEND="${DEPEND}"
84 +
85 +S="${WORKDIR}/${MY_P}"
86 +
87 +src_configure() {
88 + local emesonargs=(
89 + -Dsystemduserunitdir="$(systemd_get_userunitdir)"
90 + )
91 +
92 + meson_src_configure
93 +}