| 1 |
# Copyright 1999-2011 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-office/impressive/impressive-0.10.3-r1.ebuild,v 1.2 2011/06/18 12:57:46 hwoarang Exp $
|
| 4 |
|
| 5 |
EAPI=3
|
| 6 |
PYTHON_DEPEND=2
|
| 7 |
|
| 8 |
inherit python
|
| 9 |
|
| 10 |
MY_PN="Impressive"
|
| 11 |
|
| 12 |
DESCRIPTION="Stylish way of giving presentations with Python"
|
| 13 |
HOMEPAGE="http://impressive.sourceforge.net/"
|
| 14 |
SRC_URI="mirror://sourceforge/${PN}/${MY_PN}/${PV}/${MY_PN}-${PV}.tar.gz"
|
| 15 |
|
| 16 |
LICENSE="GPL-2"
|
| 17 |
SLOT="0"
|
| 18 |
KEYWORDS="amd64 x86"
|
| 19 |
IUSE=""
|
| 20 |
|
| 21 |
DEPEND=""
|
| 22 |
RDEPEND="app-text/pdftk
|
| 23 |
dev-python/imaging
|
| 24 |
dev-python/pygame
|
| 25 |
dev-python/pyopengl
|
| 26 |
x11-misc/xdg-utils
|
| 27 |
x11-apps/xrandr
|
| 28 |
|| ( app-text/xpdf app-text/ghostscript-gpl )
|
| 29 |
|| ( media-fonts/dejavu media-fonts/ttf-bitstream-vera media-fonts/corefonts )"
|
| 30 |
|
| 31 |
S=${WORKDIR}/${MY_PN}-${PV}
|
| 32 |
|
| 33 |
src_install() {
|
| 34 |
python_convert_shebangs 2 impressive.py
|
| 35 |
dobin impressive.py || die
|
| 36 |
|
| 37 |
# compatibility symlinks
|
| 38 |
insinto /usr/bin
|
| 39 |
dosym impressive.py /usr/bin/impressive || die
|
| 40 |
dosym impressive.py /usr/bin/keyjnote || die
|
| 41 |
|
| 42 |
# docs
|
| 43 |
doman impressive.1 || die
|
| 44 |
dohtml impressive.html || die
|
| 45 |
dodoc changelog.txt demo.pdf || die
|
| 46 |
}
|