commit: 62a0c3a38adca12e41a20a31e3c84e00b637a0b1
parent: e8444a498b7f05ce79c920088d867bdc7472e09e
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 4 Jul 2018 01:11:24 +0200
net-im/tootle: Add git-based ebuild
Diffstat:
1 file changed, 43 insertions(+), 0 deletions(-)
diff --git a/net-im/tootle/tootle-9999.ebuild b/net-im/tootle/tootle-9999.ebuild
@@ -0,0 +1,43 @@
+# 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=""
+
+EGIT_REPO_URI="https://github.com/bleakgrey/tootle"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ dev-libs/granite
+ dev-libs/json-glib
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ vala_src_prepare
+ default
+}
+
+pkg_preinst() {
+ gnome2_gconf_savelist
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ gnome2_gconf_install
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}