summaryrefslogtreecommitdiff
blob: 5dc79b236f3890f45806fdf6339c0425ad8c74ca (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
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/cutycapt/cutycapt-0_p20110502.ebuild,v 1.1 2011/05/03 04:11:10 mattm Exp $

EAPI=4
inherit eutils qt4-r2

DESCRIPTION="Qt WebKit Web Page Rendering Capture Utility"
HOMEPAGE="http://cutycapt.sourceforge.net/"
SRC_URI="http://dev.gentoo.org/~mattm/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"

KEYWORDS="~amd64"
IUSE=""
DEPEND="x11-libs/libX11 x11-libs/qt-webkit x11-libs/qt-core"
RDEPEND="${DEPEND}"

src_configure() {
	eqmake4 CutyCapt.pro
}

src_compile() {
	emake
}

src_install() {
	dobin CutyCapt
}

pkg_postinst() {
	elog "You cannot use CutyCapt without an X server, but you"
	elog "can use e.g. Xvfb as light-weight server."
	elog "See ${HOMEPAGE} for usage."
}