# HG changeset patch # User gabriel # Date 1613381623 0 # Node ID 7301176dbce8cc86d33f1336f09cdf5571059cc2 # Parent 999361e718ae3758a5441069d4fe9ed561a43c71 xdg-desktop-portal-wlr version bump diff -r 999361e718ae -r 7301176dbce8 gui-libs/xdg-desktop-portal-wlr/Manifest --- a/gui-libs/xdg-desktop-portal-wlr/Manifest Wed Feb 10 23:19:06 2021 +0000 +++ b/gui-libs/xdg-desktop-portal-wlr/Manifest Mon Feb 15 09:33:43 2021 +0000 @@ -1,3 +1,5 @@ DIST xdg-desktop-portal-wlr-0.1.0.tar.gz 20600 BLAKE2B e7930bb2092d10adc3e34ffb5f4de8cd0c02f96085d97a56a1822f9d3bf92dee7dc3aa4e9a59ee6f868cbdc8fe3dd44511903aa4ac3b2724cc9eaf609ea3457f SHA512 07ae2ba3583e53f3b0e5b97cb60cb85ae835c403906f3b214f6feedc615e3266f5a0f9dc12997802834fdeb2958f6b22c195eebe420a93b3a697460a2a4e3367 +DIST xdg-desktop-portal-wlr-0.2.0.tar.gz 22260 BLAKE2B a1f3a8244b985874a0b663b311157bc2e2098b8c50b6e3688c89d1c7bf7c454048b359ad42b97edb2faae7b232cd5b6843c07098c07e1f97ede507995d214271 SHA512 9b01919b380510389710c005901810ac6fa00299f2b35a37fa949aab361438ab08c30fc95b88e1805dcea7e97ebe2d19111693f82eee545864077347d2659ca9 EBUILD xdg-desktop-portal-wlr-0.1.0.ebuild 1097 BLAKE2B 712e0120343d1d1815830bcef90f74f4bc9b7f3bcc917b73ad4e4873b986c1deb84787bce1df15f06b73bd4fe1dfc6831b12b63b3a2784bfeb99a3e8384a34d6 SHA512 cf01c4280fed67624f5fe701d3889a9a09da1ca380407c2a14afe6d5dfdc5002e4340ad3d1240ab303faaac6411b49380e4d1d0a133a7cbf76d48790c102d4ab +EBUILD xdg-desktop-portal-wlr-0.2.0.ebuild 1097 BLAKE2B 712e0120343d1d1815830bcef90f74f4bc9b7f3bcc917b73ad4e4873b986c1deb84787bce1df15f06b73bd4fe1dfc6831b12b63b3a2784bfeb99a3e8384a34d6 SHA512 cf01c4280fed67624f5fe701d3889a9a09da1ca380407c2a14afe6d5dfdc5002e4340ad3d1240ab303faaac6411b49380e4d1d0a133a7cbf76d48790c102d4ab EBUILD xdg-desktop-portal-wlr-9999.ebuild 1110 BLAKE2B 095863023783374e704e11ec6d3db643294893b877f39fe3b3c5f430b8380ed26fb8f47a62cf900233e42111d79e7b547d7229e9dd5ab3652940c8a57619674c SHA512 f6e7b15f9500200fef370f44a5abfce0a83ba33b08cdd693ffc1cf246cdc28fae2e6dabad34b9c287f13b2ad1e711e1f98c4c63c89eb130b511d95562ffb54ec diff -r 999361e718ae -r 7301176dbce8 gui-libs/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-0.2.0.ebuild --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gui-libs/xdg-desktop-portal-wlr/xdg-desktop-portal-wlr-0.2.0.ebuild Mon Feb 15 09:33:43 2021 +0000 @@ -0,0 +1,53 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +DESCRIPTION="xdg-desktop-portal backend for wlroots" +HOMEPAGE="https://github.com/emersion/xdg-desktop-portal-wlr" + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/emersion/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/emersion/${PN}/releases/download/v${PV}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +fi + +LICENSE="MIT" +SLOT="0/9999" +IUSE="elogind systemd" +REQUIRED_USE="?? ( elogind systemd )" + +DEPEND=" + >=media-video/pipewire-0.2.9:= + dev-libs/wayland + >=dev-libs/wayland-protocols-1.14:= + elogind? ( >=sys-auth/elogind-237 ) + systemd? ( >=sys-apps/systemd-237 ) +" +RDEPEND=" + ${DEPEND} + sys-apps/xdg-desktop-portal +" +BDEPEND=" + >=media-video/pipewire-0.2.9:= + >=dev-libs/wayland-protocols-1.14 + >=dev-util/meson-0.47.0 + virtual/pkgconfig +" + +src_configure() { + local emesonargs=( + "-Dwerror=false" + ) + if use systemd; then + emesonargs+=("-DHAVE_SYSTEMD=1") + else + emesonargs+=("-DHAVE_ELOGIND=1") + fi + + meson_src_configure +}