summaryrefslogtreecommitdiff
blob: 5d99b73a8559d46e5fd7d8be523dacfb114bcdfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=5

VALA_MIN_API_VERSION="0.16"

inherit cmake-utils git-2 gnome2-utils vala

DESCRIPTION="Terminal emulator with semantic menus, smart command completion and other interactive features"
HOMEPAGE="http://finalterm.org/"
SRC_URI=""
EGIT_REPO_URI="https://github.com/p-e-w/finalterm.git"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
IUSE=""

RDEPEND="$(vala_depend)
	dev-libs/keybinder:3
	dev-libs/libgee:0.8
	>=media-libs/clutter-1.12.2
	media-libs/clutter-gtk
	x11-libs/gtk+:3
	x11-libs/libnotify
	x11-libs/mx"
DEPEND="${RDEPEND}
	dev-util/intltool
	virtual/pkgconfig"

src_prepare() {
	vala_src_prepare
}

src_configure() {
	local mycmakeargs=(
		-DVALA_EXECUTABLE="${VALAC}"
		-DGSETTINGS_COMPILE=OFF
		-DMINIMAL_FLAGS=ON
	)
	cmake-utils_src_configure
}

pkg_preinst() {
	gnome2_icon_savelist
	gnome2_schemas_savelist
}

pkg_postinst() {
	gnome2_icon_cache_update
	gnome2_schemas_update
}

pkg_postrm() {
	gnome2_icon_cache_update
	gnome2_schemas_update
}