From 765a5cf088b8678dba6766420948e66f1565c832 Mon Sep 17 00:00:00 2001 From: Martin Sekera Date: Wed, 26 Aug 2020 22:57:20 +0200 Subject: [PATCH] add sys-libs/libportal --- sys-libs/libportal/libportal-0.3.ebuild | 29 +++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 sys-libs/libportal/libportal-0.3.ebuild diff --git a/sys-libs/libportal/libportal-0.3.ebuild b/sys-libs/libportal/libportal-0.3.ebuild new file mode 100644 index 0000000..94a1eff --- /dev/null +++ b/sys-libs/libportal/libportal-0.3.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +SRC_URI="https://github.com/flatpak/${PN}/releases/download/${PV}/${P}.tar.xz" +DESCRIPTION="Flatpak portal library" +HOMEPAGE="https://github.com/flatpak/libportal" + +LICENSE="LGPL-2" +SLOT="0" +IUSE="test" + +KEYWORDS="~amd64" + +RDEPEND="dev-libs/glib:2" + +DEPEND="${RDEPEND} + dev-util/gtk-doc" + +src_configure() { + local emesonargs=( + $(meson_use test build-portal-test) + ) + + meson_src_configure +}