| 1 |
# Copyright 1999-2012 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-office/pinpoint/pinpoint-0.1.2.ebuild,v 1.1 2011/08/24 06:27:38 ford_prefect Exp $ |
| 4 |
|
| 5 |
EAPI=4 |
| 6 |
|
| 7 |
GNOME_TARBALL_SUFFIX="bz2" |
| 8 |
|
| 9 |
inherit gnome.org |
| 10 |
|
| 11 |
DESCRIPTION="A tool for making hackers do excellent presentations" |
| 12 |
HOMEPAGE="https://live.gnome.org/Pinpoint" |
| 13 |
|
| 14 |
LICENSE="LGPL-2.1" |
| 15 |
SLOT="0" |
| 16 |
KEYWORDS="~amd64 ~x86" |
| 17 |
IUSE="examples +gstreamer +pdf" |
| 18 |
|
| 19 |
# rsvg is used for svg-in-pdf -- clubbing it under pdf for now |
| 20 |
RDEPEND=">=media-libs/clutter-1.4:1.0 |
| 21 |
>=dev-libs/glib-2.28:2 |
| 22 |
>=x11-libs/cairo-1.9.4 |
| 23 |
x11-libs/pango |
| 24 |
x11-libs/gdk-pixbuf:2 |
| 25 |
gstreamer? ( >=media-libs/clutter-gst-1.3:1.0 ) |
| 26 |
pdf? ( gnome-base/librsvg:2 )" |
| 27 |
DEPEND="virtual/pkgconfig |
| 28 |
${RDEPEND}" |
| 29 |
|
| 30 |
src_configure() { |
| 31 |
# dax support is disabled because we don't have it in tree yet and it's |
| 32 |
# experimental |
| 33 |
econf --disable-dax \ |
| 34 |
$(use_enable gstreamer cluttergst) \ |
| 35 |
$(use_enable pdf rsvg) |
| 36 |
} |
| 37 |
|
| 38 |
src_install() { |
| 39 |
default |
| 40 |
|
| 41 |
if use examples; then |
| 42 |
insinto "/usr/share/doc/${PF}/examples" |
| 43 |
doins introduction.pin bg.jpg bowls.jpg linus.jpg |
| 44 |
fi |
| 45 |
} |