commit: da83d3b1c740e1defa65a70c870ca6d550ad20b0 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Sun Dec 16 21:14:49 2018 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sun Dec 16 21:19:19 2018 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=da83d3b1
x11-misc/xdg-desktop-portal: New package Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> x11-misc/xdg-desktop-portal/metadata.xml | 8 +++++ .../xdg-desktop-portal-1.0.3.ebuild | 39 ++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/x11-misc/xdg-desktop-portal/metadata.xml b/x11-misc/xdg-desktop-portal/metadata.xml new file mode 100644 index 0000000000..2fdbf33d96 --- /dev/null +++ b/x11-misc/xdg-desktop-portal/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>k...@gentoo.org</email> + <name>Gentoo KDE Project</name> + </maintainer> +</pkgmetadata> diff --git a/x11-misc/xdg-desktop-portal/xdg-desktop-portal-1.0.3.ebuild b/x11-misc/xdg-desktop-portal/xdg-desktop-portal-1.0.3.ebuild new file mode 100644 index 0000000000..b65056f5a4 --- /dev/null +++ b/x11-misc/xdg-desktop-portal/xdg-desktop-portal-1.0.3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit 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 ~x86" +IUSE="doc" + +RDEPEND=" + dev-libs/glib:2[dbus] + sys-fs/fuse +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/gdbus-codegen + sys-devel/gettext + virtual/pkgconfig + doc? ( + app-text/xmlto + app-text/docbook-xml-dtd:4.3 + ) +" + +src_configure() { + local myeconfargs=( + --disable-pipewire + $(use_enable doc docbook-docs) + --with-systemduserunitdir="$(systemd_get_userunitdir)" + ) + econf "${myeconfargs[@]}" +}