1 |
commit: bafdd82d2e24ca58c2c47ab1deb2bc26d15c4b27 |
2 |
Author: Arsen Arsenović <arsen <AT> aarsen <DOT> me> |
3 |
AuthorDate: Fri Nov 5 18:40:52 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 22 09:27:23 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bafdd82d |
7 |
|
8 |
gui-libs/xdg-desktop-portal-wlr: bump to 0.5.0 |
9 |
|
10 |
additionally, adds basu support |
11 |
|
12 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
13 |
Signed-off-by: Arsen Arsenović <arsen <AT> aarsen.me> |
14 |
Closes: https://github.com/gentoo/gentoo/pull/22836 |
15 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
16 |
|
17 |
gui-libs/xdg-desktop-portal-wlr/Manifest | 1 + |
18 |
.../xdg-desktop-portal-wlr-0.5.0.ebuild | 56 ++++++++++++++++++++++ |
19 |
2 files changed, 57 insertions(+) |
20 |
|
21 |
diff --git a/gui-libs/xdg-desktop-portal-wlr/Manifest b/gui-libs/xdg-desktop-portal-wlr/Manifest |
22 |
index bbf153137574..b654ee0dbf0b 100644 |
23 |
--- a/gui-libs/xdg-desktop-portal-wlr/Manifest |
24 |
+++ b/gui-libs/xdg-desktop-portal-wlr/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
DIST xdg-desktop-portal-wlr-0.4.0.tar.gz 30776 BLAKE2B c4a6c07f57cc7cf16f16de43571bf9a281e647bcb1216da5a82e9c40d7a8344e78380b08a215a252011c9da8f97294aacc844d999095f4117ea26d17ff9ffec6 SHA512 544dea4601ce8aa8649d15b7c249aa5b0099fa5a6aec1b7a1433439265acede9ac442092da53080c36b372dd0ef5aaa15747b13a56f4a648e1c00ed3c2435e19 |
27 |
+DIST xdg-desktop-portal-wlr-0.5.0.tar.gz 31622 BLAKE2B 9314a1bfd121f25c6f615e1cfaa62d071224b5da9373bb3a954a06aa7ef9527617e34ae29192e25ca9c13c53eb77eb137fbaa1b121c9365397d64845c0cc3e36 SHA512 9ece46f2381e83cac8002a8175a13b0c29c0a2dab49cf11ed5ffa3448f176802b9d324b7e4fe9c15d3fb65087be42299f21a0ef505088e6281787f4067d256ac |
28 |
|
29 |
diff --git a/gui-libs/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-0.5.0.ebuild b/gui-libs/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-0.5.0.ebuild |
30 |
new file mode 100644 |
31 |
index 000000000000..bf8864955975 |
32 |
--- /dev/null |
33 |
+++ b/gui-libs/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-0.5.0.ebuild |
34 |
@@ -0,0 +1,56 @@ |
35 |
+# Copyright 1999-2021 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+inherit meson |
41 |
+ |
42 |
+DESCRIPTION="xdg-desktop-portal backend for wlroots" |
43 |
+HOMEPAGE="https://github.com/emersion/xdg-desktop-portal-wlr" |
44 |
+ |
45 |
+if [[ ${PV} == 9999 ]]; then |
46 |
+ EGIT_REPO_URI="https://github.com/emersion/${PN}.git" |
47 |
+ inherit git-r3 |
48 |
+else |
49 |
+ SRC_URI="https://github.com/emersion/${PN}/releases/download/v${PV}/${P}.tar.gz" |
50 |
+ KEYWORDS="~amd64" |
51 |
+fi |
52 |
+ |
53 |
+LICENSE="MIT" |
54 |
+SLOT="0/9999" |
55 |
+IUSE="elogind systemd" |
56 |
+REQUIRED_USE="?? ( elogind systemd )" |
57 |
+ |
58 |
+DEPEND=" |
59 |
+ >=media-video/pipewire-0.3.34:= |
60 |
+ dev-libs/inih |
61 |
+ dev-libs/wayland |
62 |
+ || ( |
63 |
+ systemd? ( >=sys-apps/systemd-237 ) |
64 |
+ elogind? ( >=sys-auth/elogind-237 ) |
65 |
+ sys-libs/basu |
66 |
+ ) |
67 |
+" |
68 |
+RDEPEND=" |
69 |
+ ${DEPEND} |
70 |
+ sys-apps/xdg-desktop-portal |
71 |
+" |
72 |
+BDEPEND=" |
73 |
+ dev-libs/wayland-protocols |
74 |
+ dev-util/meson |
75 |
+ virtual/pkgconfig |
76 |
+" |
77 |
+ |
78 |
+src_configure() { |
79 |
+ local emesonargs=( |
80 |
+ "-Dwerror=false" |
81 |
+ ) |
82 |
+ if use systemd; then |
83 |
+ emesonargs+=(-Dsd-bus-provider=systemd) |
84 |
+ elif use elogind; then |
85 |
+ emesonargs+=(-Dsd-bus-provider=elogind) |
86 |
+ else |
87 |
+ emesonargs+=(-Dsd-bus-provider=basu) |
88 |
+ fi |
89 |
+ meson_src_configure |
90 |
+} |