summaryrefslogtreecommitdiff
blob: e1dbcccb471d92874dd428c38ac1b7150f215e52 (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
59
60
61
62
63
64
65
66
67
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5
VALA_MIN_API_VERSION=0.22

inherit eutils subversion gnome2-utils vala

DESCRIPTION="A font management application for the GNOME desktop"
HOMEPAGE="http://code.google.com/p/font-manager"
SRC_URI=""
ESVN_REPO_URI="http://font-manager.googlecode.com/svn/trunk/"

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

RDEPEND="
	>=dev-db/sqlite-3.8:3
	>=dev-libs/glib-2.4
	>=dev-libs/json-glib-0.15
	>=dev-libs/libgee-0.1:0.8
	>=dev-libs/libxml2-2.4
	>=gnome-extra/gucharmap-3.1:2.90
	>=media-libs/fontconfig-2.1
	>=media-libs/freetype-2.5
	>=x11-libs/cairo-1.1
	>=x11-libs/gtk+-3.1:3
	>=x11-libs/pango-1.3
	sys-devel/gettext
	"
DEPEND="${RDEPEND}
	$(vala_depend)
	app-arch/file-roller
	app-text/yelp-tools
	dev-util/intltool
	gnome-base/gnome-common
	"

src_prepare() {
	vala_src_prepare
	export WANT_AUTOCONF=2.5
	NOCONFIGURE=yes ./autogen.sh || die
}

src_configure() {
	econf --disable-schemas-compile
}

src_compile() {
	emake -j1
}

src_install() {
	default
	gnome2_schemas_savelist
}

pkg_postinst() {
	gnome2_schemas_update
}

pkg_postrm() {
	gnome2_schemas_update
}