461
|
1 # Copyright 1999-2018 Gentoo Foundation
|
|
2 # Distributed under the terms of the GNU General Public License v2
|
|
3
|
|
4 EAPI=6
|
|
5
|
|
6 inherit meson vala gnome2-utils
|
|
7
|
|
8 DESCRIPTION="GTK3 client for Mastodon"
|
|
9 HOMEPAGE="https://github.com/bleakgrey/tootle"
|
|
10 SRC_URI="https://github.com/bleakgrey/tootle/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
11
|
|
12 LICENSE="GPL-3"
|
|
13 SLOT="0"
|
|
14 KEYWORDS="~amd64 ~x86"
|
|
15 IUSE=""
|
|
16
|
|
17 DEPEND="
|
|
18 dev-libs/glib
|
|
19 dev-libs/granite
|
|
20 dev-libs/json-glib
|
|
21 net-libs/libsoup:2.4
|
|
22 x11-libs/gtk+:3
|
|
23 "
|
|
24 RDEPEND="${DEPEND}"
|
|
25
|
|
26 src_prepare() {
|
|
27 vala_src_prepare
|
|
28 default
|
|
29 }
|
|
30
|
|
31 pkg_preinst() {
|
|
32 gnome2_gconf_savelist
|
|
33 gnome2_schemas_savelist
|
|
34 }
|
|
35
|
|
36 pkg_postinst() {
|
|
37 gnome2_icon_cache_update
|
|
38 gnome2_gconf_install
|
|
39 gnome2_schemas_update
|
|
40 }
|
|
41
|
|
42 pkg_postrm() {
|
|
43 gnome2_icon_cache_update
|
|
44 }
|