gui-apps/tootle: new package, add 9999

Signed-off-by: Tony Olagbaiye <bqv@fron.io>
This commit is contained in:
Tony Olagbaiye
2022-12-26 00:01:43 +00:00
parent 3a7aea9dfc
commit c543884b3e

View File

@@ -0,0 +1,51 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit git-r3 gnome2-utils meson vala xdg-utils
DESCRIPTION="Mastodon client written in GTK3"
HOMEPAGE="https://github.com/bleakgrey/tootle"
EGIT_REPO_URI="https://gitlab.gnome.org/World/tootle"
LICENSE="GPL-3"
KEYWORDS=""
SLOT="0"
RDEPEND="
dev-libs/json-glib
>=dev-libs/granite-0.5.2
gui-libs/libhandy:1.0/0
net-libs/libsoup
"
DEPEND="
${RDEPEND}
dev-util/meson
dev-lang/vala
virtual/pkgconfig
"
src_prepare() {
vala_src_prepare
default
}
src_install() {
meson_src_install
dosym "${EPREFIX}"/usr/bin/{com.github.bleakgrey.,}tootle
}
pkg_preinst() {
gnome2_gconf_savelist
gnome2_schemas_savelist
}
pkg_postinst() {
xdg_icon_cache_update
gnome2_gconf_install
gnome2_schemas_update
}
pkg_postrm() {
xdg_icon_cache_update
}