From b1808a38cc31d933ff6a24a39cbf6f1fb29ab3fd Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 7 Jun 2018 01:49:11 +0200 Subject: [PATCH] added tootle-9999 --- net-misc/tootle/tootle-9999.ebuild | 42 ++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 net-misc/tootle/tootle-9999.ebuild diff --git a/net-misc/tootle/tootle-9999.ebuild b/net-misc/tootle/tootle-9999.ebuild new file mode 100644 index 000000000..2fc3b17dc --- /dev/null +++ b/net-misc/tootle/tootle-9999.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit meson vala gnome2-utils git-r3 + +DESCRIPTION="GTK3 client for Mastodon" +HOMEPAGE="https://github.com/bleakgrey/tootle" +SRC_URI="https://github.com/bleakgrey/tootle/archive/${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="" +LICENSE="GPL-3" +SLOT="0" + +RDEPEND=">=x11-libs/gtk+-3.22.29 + >=net-libs/libsoup-2.58.2 + >=dev-libs/granite-0.5.0 + >=dev-libs/json-glib-1.2.8" +DEPEND="${RDEPEND} + >=dev-util/meson-0.46.1 + >=dev-lang/vala-0.36.13" + +src_unpack() { + git-r3_src_unpack +} + +src_prepare() { + export VALAC="$(type -p valac-$(vala_best_api_version))" + default_src_prepare +} + +src_install() { + meson_src_install + dosym ${EPREFIX}/usr/bin/{com.github.bleakgrey.,}tootle +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +}