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

EAPI=4

inherit autotools autotools-utils eutils 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_prepare() {
	epatch "${FILESDIR}"/${P}-cxxflags.patch
	eautomake
}

src_configure() {
	local myeconfargs=(
		--disable-static
	)
	autotools-utils_src_configure
}

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"
}