commit: 26774c6bf830a9caa7dfcb5457c5ff561d8fcd52 Author: David Heidelberg <david <AT> ixit <DOT> cz> AuthorDate: Thu May 7 12:56:53 2020 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> CommitDate: Thu May 7 14:43:27 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=26774c6b
sys-apps/xdg-desktop-portal-gtk: New package. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: David Heidelberg <david <AT> ixit.cz> sys-apps/xdg-desktop-portal-gtk/Manifest | 1 + sys-apps/xdg-desktop-portal-gtk/metadata.xml | 8 +++++ .../xdg-desktop-portal-gtk-1.6.0.ebuild | 36 ++++++++++++++++++++++ 3 files changed, 45 insertions(+) diff --git a/sys-apps/xdg-desktop-portal-gtk/Manifest b/sys-apps/xdg-desktop-portal-gtk/Manifest new file mode 100644 index 0000000..5384a90 --- /dev/null +++ b/sys-apps/xdg-desktop-portal-gtk/Manifest @@ -0,0 +1 @@ +DIST xdg-desktop-portal-gtk-1.6.0.tar.xz 366292 BLAKE2B 66676f5dc26b8eaa3db477a4c6e021cbae7f96944a9636bcb3e2f8b5ddb6123be0c6430819aaf02a107f17d29c5eef820c4c2be16d20f05f6e13f0bdeb0ed73d SHA512 97111e0c14a8cb54d88d0dd8142003b3f1a60e156131cce77deec0f43c936a110eda24c1e8efbb555dad0ad5aafe392d8c5afab80ea96166f616e6255371adc8 diff --git a/sys-apps/xdg-desktop-portal-gtk/metadata.xml b/sys-apps/xdg-desktop-portal-gtk/metadata.xml new file mode 100644 index 0000000..775bda7 --- /dev/null +++ b/sys-apps/xdg-desktop-portal-gtk/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="person"> + <email>[email protected]</email> + <name>David Heidelberg</name> + </maintainer> +</pkgmetadata> diff --git a/sys-apps/xdg-desktop-portal-gtk/xdg-desktop-portal-gtk-1.6.0.ebuild b/sys-apps/xdg-desktop-portal-gtk/xdg-desktop-portal-gtk-1.6.0.ebuild new file mode 100644 index 0000000..ef7ad5c --- /dev/null +++ b/sys-apps/xdg-desktop-portal-gtk/xdg-desktop-portal-gtk-1.6.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd + +SRC_URI="https://github.com/flatpak/${PN}/releases/download/${PV}/${P}.tar.xz" +DESCRIPTION="GTK/GNOME backend for xdg-desktop-portal" +HOMEPAGE="https://github.com/flatpak/xdg-desktop-portal-gtk" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="wayland X" + +RDEPEND=" + gnome-base/gnome-desktop:3 + media-libs/fontconfig + >=dev-libs/glib-2.44:2[dbus] + >=x11-libs/gtk+-3.21.5:3[wayland=,X=] + >=sys-apps/xdg-desktop-portal-1.6.0-r1 +" +DEPEND="${RDEPEND} + >=sys-devel/gettext-0.18.3 +" +BDEPEND=" + virtual/pkgconfig +" + +src_configure() { + local myeconfargs=( + --with-systemduserunitdir="$(systemd_get_userunitdir)" + ) + econf "${myeconfargs[@]}" +}
