annotate net-im/tootle/tootle-0.1.5.ebuild @ 461:f1cc6af6f4b8

add tootle ebuild
author Dirk Olmes <dirk@xanthippe.ping.de>
date Thu, 12 Jul 2018 21:06:09 +0200
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
461
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
1 # Copyright 1999-2018 Gentoo Foundation
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
2 # Distributed under the terms of the GNU General Public License v2
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
3
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
4 EAPI=6
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
5
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
6 inherit meson vala gnome2-utils
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
7
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
8 DESCRIPTION="GTK3 client for Mastodon"
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
9 HOMEPAGE="https://github.com/bleakgrey/tootle"
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
10 SRC_URI="https://github.com/bleakgrey/tootle/archive/${PV}.tar.gz -> ${P}.tar.gz"
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
11
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
12 LICENSE="GPL-3"
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
13 SLOT="0"
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
14 KEYWORDS="~amd64 ~x86"
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
15 IUSE=""
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
16
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
17 DEPEND="
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
18 dev-libs/glib
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
19 dev-libs/granite
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
20 dev-libs/json-glib
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
21 net-libs/libsoup:2.4
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
22 x11-libs/gtk+:3
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
23 "
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
24 RDEPEND="${DEPEND}"
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
25
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
26 src_prepare() {
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
27 vala_src_prepare
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
28 default
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
29 }
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
30
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
31 pkg_preinst() {
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
32 gnome2_gconf_savelist
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
33 gnome2_schemas_savelist
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
34 }
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
35
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
36 pkg_postinst() {
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
37 gnome2_icon_cache_update
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
38 gnome2_gconf_install
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
39 gnome2_schemas_update
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
40 }
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
41
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
42 pkg_postrm() {
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
43 gnome2_icon_cache_update
f1cc6af6f4b8 add tootle ebuild
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff changeset
44 }