summaryrefslogtreecommitdiff
blob: beb4753a583786aa1a39fe2cd8b57721426716cb (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
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="4"
GCONF_DEBUG="no"
GNOME2_LA_PUNT="yes"

inherit gnome2 eutils
if [[ ${PV} = 9999 ]]; then
	inherit gnome2-live
fi

DESCRIPTION="GNOME document manager"
HOMEPAGE="https://live.gnome.org/Design/Apps/Documents"

LICENSE="GPL-2"
SLOT="0"
IUSE=""
if [[ ${PV} = 9999 ]]; then
	KEYWORDS=""
else
	KEYWORDS="~amd64 ~x86"
fi

# Need gdk-pixbuf-2.25 for gdk_pixbuf_get_pixels_with_length
COMMON_DEPEND="
	>=app-misc/tracker-0.13.1
	>=app-text/evince-3.3.0[introspection]
	dev-libs/gjs
	>=dev-libs/glib-2.31.6:2
	>=dev-libs/gobject-introspection-1.31.6
	>=dev-libs/libgdata-0.11.0[introspection]
	>=dev-libs/libzapojit-0.0.2
	gnome-base/gnome-desktop:3
	>=media-libs/clutter-gtk-1.0.2:1.0[introspection]
	>=net-libs/gnome-online-accounts-3.2.0
	net-libs/liboauth
	net-libs/libsoup:2.4
	>=x11-libs/gdk-pixbuf-2.25:2[introspection]
	>=x11-libs/gtk+-3.3.6:3[introspection]
	x11-libs/pango[introspection]"
RDEPEND="${COMMON_DEPEND}
	media-libs/clutter[introspection]
	sys-apps/dbus
	x11-themes/gnome-icon-theme-symbolic"
DEPEND="${COMMON_DEPEND}
	>=dev-util/intltool-0.40
	>=sys-devel/gettext-0.17
	virtual/pkgconfig"

pkg_setup() {
	DOCS="AUTHORS NEWS README TODO"
	G2CONF="${G2CONF} --disable-schemas-compile"
}

src_prepare() {
	gnome2_src_prepare

	epatch ${FILESDIR}/${PN}-searchspeed.patch
}