summaryrefslogtreecommitdiff
blob: f6a1449c1eff699656b1c7667469f1ea96ceb987 (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
36
37
38
39
40
41
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=3

inherit eutils autotools

DESCRIPTION="Tethered Camera Control & Capture for Nikon and Canon DSLRs"
HOMEPAGE="http://capa-project.org/"
SRC_URI="http://entangle-photo.org/download/sources/${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

RDEPEND="x11-libs/gtk+:2
	media-libs/libgphoto2
	dev-libs/libunique
	media-libs/lcms
	gnome-base/libglade:2.0
	dev-libs/glib:2
	gnome-base/gconf
	dev-libs/dbus-glib
	dev-libs/gjs
	dev-libs/gir-repository"
DEPEND="dev-util/pkgconfig
	dev-perl/Template-Toolkit
	${RDEPEND}"

src_prepare() {
	epatch "${FILESDIR}"/${P}-fix-install.diff
	epatch "${FILESDIR}"/${P}-fix-segfault-f3d9b75d68.patch
	eautoreconf
}

src_install() {
	emake DESTDIR="${D}" install || die "Install failed"
	dodoc README NEWS ChangeLog || die
}