forked from tastytea/overlay
tastytea
b55c44e4b8
Package-Manager: Portage-2.3.62, Repoman-2.3.11 Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07
51 lines
831 B
Bash
51 lines
831 B
Bash
# Copyright 1999-2019 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="GTK3 client for Mastodon"
|
|
HOMEPAGE="https://github.com/bleakgrey/tootle"
|
|
EGIT_REPO_URI="https://github.com/bleakgrey/tootle.git"
|
|
LICENSE="GPL-3"
|
|
|
|
KEYWORDS=""
|
|
SLOT="0"
|
|
|
|
RDEPEND="
|
|
net-libs/libsoup
|
|
>=dev-libs/granite-0.5.2
|
|
dev-libs/json-glib
|
|
"
|
|
DEPEND="
|
|
${RDEPEND}
|
|
virtual/pkgconfig
|
|
dev-util/meson
|
|
dev-lang/vala
|
|
"
|
|
|
|
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
|
|
}
|