2019-05-04 01:33:02 +02:00
|
|
|
# Copyright 1999-2019 Gentoo Authors
|
2018-06-27 15:54:52 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2019-05-04 01:33:02 +02:00
|
|
|
EAPI=7
|
|
|
|
inherit git-r3 gnome2-utils meson vala xdg-utils
|
2018-06-27 15:54:52 +02:00
|
|
|
|
|
|
|
DESCRIPTION="GTK3 client for Mastodon"
|
|
|
|
HOMEPAGE="https://github.com/bleakgrey/tootle"
|
|
|
|
EGIT_REPO_URI="https://github.com/bleakgrey/tootle.git"
|
|
|
|
LICENSE="GPL-3"
|
2018-10-30 15:12:51 +01:00
|
|
|
|
|
|
|
KEYWORDS=""
|
2018-06-27 15:54:52 +02:00
|
|
|
SLOT="0"
|
|
|
|
|
2019-05-04 01:33:02 +02:00
|
|
|
RDEPEND="
|
|
|
|
net-libs/libsoup
|
|
|
|
>=dev-libs/granite-0.5.2
|
2019-05-04 01:34:09 +02:00
|
|
|
dev-libs/json-glib
|
|
|
|
"
|
2019-05-04 01:33:02 +02:00
|
|
|
DEPEND="
|
|
|
|
${RDEPEND}
|
|
|
|
virtual/pkgconfig
|
|
|
|
dev-util/meson
|
2019-05-04 01:34:09 +02:00
|
|
|
dev-lang/vala
|
|
|
|
"
|
2018-06-27 15:54:52 +02:00
|
|
|
|
|
|
|
src_prepare() {
|
2018-10-30 15:12:51 +01:00
|
|
|
vala_src_prepare
|
|
|
|
default
|
2018-06-27 15:54:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
meson_src_install
|
2018-07-21 21:35:34 +02:00
|
|
|
dosym "${EPREFIX}"/usr/bin/{com.github.bleakgrey.,}tootle
|
2018-06-27 15:54:52 +02:00
|
|
|
}
|
|
|
|
|
2018-10-30 15:12:51 +01:00
|
|
|
pkg_preinst() {
|
|
|
|
gnome2_gconf_savelist
|
|
|
|
gnome2_schemas_savelist
|
|
|
|
}
|
|
|
|
|
2018-06-27 15:54:52 +02:00
|
|
|
pkg_postinst() {
|
2019-05-04 01:33:02 +02:00
|
|
|
xdg_icon_cache_update
|
2018-10-30 15:12:51 +01:00
|
|
|
gnome2_gconf_install
|
|
|
|
gnome2_schemas_update
|
2018-06-27 15:54:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postrm() {
|
2019-05-04 01:33:02 +02:00
|
|
|
xdg_icon_cache_update
|
2018-06-27 15:54:52 +02:00
|
|
|
}
|