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 +}