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

EAPI="2"

inherit autotools-utils versionator

MY_PV=$(get_version_component_range 1-2)

DESCRIPTION="Extension of Gnome designed to enable a full screen preview of any kind of file"
HOMEPAGE="http://launchpad.net/gloobus-preview"
SRC_URI="http://launchpad.net/gloobus/gloobus-${MY_PV}/${PV}/+download/${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="app-text/poppler
	gnome-base/libgnomeui
	media-libs/freetype:2
	media-libs/gst-plugins-base:0.10
	media-libs/taglib
	x11-libs/cairo
	x11-libs/gtksourceview:2.0"
RDEPEND="${DEPEND}"

src_configure() {
	econf --disable-static
}

src_install() {
	emake DESTDIR="${D}" install || die

	# Remove useless .la files
	remove_libtool_files 'all'
}

pkg_postinst() {
	elog "To enable Openoffice support, you must install:"
	elog "	app-office/unoconv"
	elog "To enable Nautilus integration, you must install:"
	elog "	gnome-extra/nautilus-gloobus-preview"
}