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

EAPI="4"

PYTHON_COMPAT=( python{3_1,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}"

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

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