blob: c8a1b28b455d1b118b33b75e9be7953ed7ff6e82 (
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: /var/cvsroot/gentoo-x86/app-office/impressive/impressive-0.10.3-r1.ebuild,v 1.1 2011/03/19 17:57:03 dilfridge Exp $
EAPI=3
PYTHON_DEPEND=2
inherit python
MY_PN="Impressive"
DESCRIPTION="Stylish way of giving presentations with Python"
HOMEPAGE="http://impressive.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${MY_PN}/${PV}/${MY_PN}-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="app-text/pdftk
dev-python/imaging
dev-python/pygame
dev-python/pyopengl
x11-misc/xdg-utils
x11-apps/xrandr
|| ( app-text/xpdf app-text/ghostscript-gpl )
|| ( media-fonts/dejavu media-fonts/ttf-bitstream-vera media-fonts/corefonts )"
S=${WORKDIR}/${MY_PN}-${PV}
src_install() {
python_convert_shebangs 2 impressive.py
dobin impressive.py || die
# compatibility symlinks
insinto /usr/bin
dosym impressive.py /usr/bin/impressive || die
dosym impressive.py /usr/bin/keyjnote || die
# docs
doman impressive.1 || die
dohtml impressive.html || die
dodoc changelog.txt demo.pdf || die
}
|