blob: 05dc7bc7212ae695f84ec1e7b197fb4dfccb38f6 (
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
42
43
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpscorrelate/gpscorrelate-1.6.0.ebuild,v 1.1 2009/05/04 07:14:24 hanno Exp $
inherit eutils
DESCRIPTION="Tool for adjusting EXIF tags of your photos with a recorded GPS trace"
HOMEPAGE="http://freefoote.dview.net/linux_gpscorr.html"
SRC_URI="http://freefoote.dview.net/linux/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~x86"
IUSE="doc gtk"
DEPEND="dev-libs/libxml2
media-gfx/exiv2
gtk? ( >=x11-libs/gtk+-2 )"
RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${PN}-1.5.8-makefile.diff"
}
src_compile() {
emake gpscorrelate gpscorrelate.1 || die
if use gtk; then
emake gpscorrelate-gui || die
fi
}
src_install() {
dobin gpscorrelate
if use gtk; then
dobin gpscorrelate-gui
make_desktop_entry gpscorrelate-gui GPSCorrelate "" "Photography;Graphics;Geography;"
fi
if use doc; then
dohtml doc/* || die
fi
doman gpscorrelate.1 || die
}
|