1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit eutils toolchain-funcs
9 DESCRIPTION="Program for printing one or more image files with a user-defined page layout"
10 HOMEPAGE="http://kornelix.squarespace.com/mashup"
11 SRC_URI="http://kornelix.squarespace.com/storage/downloads/${P}.tar.gz"
15 KEYWORDS="~amd64 ~x86"
18 DEPEND="x11-libs/gtk+:2"
22 epatch "${FILESDIR}"/${P}-ldflags.patch
26 # provide real PREFIX here as it is used in zfuncs.cc
27 # provide HTML-dir for DOCDIR as it used only to display the userguide
28 emake CXX="$(tc-getCXX)" PREFIX=/usr DOCDIR=/usr/share/doc/${PF}/html || die
33 insinto /usr/share/${PN}
39 make_desktop_entry ${PN} "Printoxx" /usr/share/${PN}/icons/${PN}.png "Application;Graphics;2DGraphics;"
40 newman doc/${PN}.man ${PN}.1 || die
42 rm -rf "${D}"/tmp || die
43 dodoc doc/{CHANGES,TRANSLATIONS} || die
44 dohtml -r doc/*.html doc/images || die