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

EAPI=5

PYTHON_COMPAT=( python{3_2,3_3} )
inherit eutils python-any-r1

DESCRIPTION="PDF presentation tool chest, successor to x11-misc/pdfpres"
HOMEPAGE="http://www.uninformativ.de/projects/?q=slinp"
SRC_URI="https://github.com/vain/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="PIZZA-WARE-42"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="app-text/poppler
	x11-libs/gtk+:3"
RDEPEND="${DEPEND}
	${PYTHON_DEPS}
	sys-apps/sed"

src_prepare() {
	epatch "${FILESDIR}"/${P}-ldflags.patch
}

src_install() {
	emake DESTDIR="${D}" prefix=/usr install
	dodoc README.md
}