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

inherit eutils

DESCRIPTION="PDF Cube uses the OpenGL API to add 3D spinning cube page transitions to PDF documents."
HOMEPAGE="http://code.100allora.it/pdfcube"
SRC_URI="mirror://debian/pool/main/p/pdfcube/${PN}_${PV}.orig.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64 ~ppc"

DEPEND=">=app-text/poppler-bindings-0.5.4
	x11-libs/gtkglext"

pkg_setup() {
	if ! built_with_use app-text/poppler-bindings gtk; then
		einfo "Please re-emerge app-text/poppler-bindings with the gtk USE flag set"
		die "poppler-bindings needs gtk flag set"
	fi
}

src_install() {
	dobin src/pdfcube || die "cannot install pdfcube"
}