diff options
author | Sam James <sam@gentoo.org> | 2021-04-02 12:25:54 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-02 14:00:11 +0000 |
commit | 5547f3537bf04e1f0c80a1fbc80cb6c8b7a612a0 (patch) | |
tree | a84e957d14d0f8a13cce6ebc432af6685894b4d7 /sci-geosciences/gpscorrelate/gpscorrelate-1.6.1-r2.ebuild | |
parent | sys-fs/e4rat: fix DEPEND typo (diff) | |
download | gentoo-5547f3537bf04e1f0c80a1fbc80cb6c8b7a612a0.tar.gz gentoo-5547f3537bf04e1f0c80a1fbc80cb6c8b7a612a0.tar.bz2 gentoo-5547f3537bf04e1f0c80a1fbc80cb6c8b7a612a0.zip |
sci-geosciences/gpscorrelate: fix RDEPEND typo
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-geosciences/gpscorrelate/gpscorrelate-1.6.1-r2.ebuild')
-rw-r--r-- | sci-geosciences/gpscorrelate/gpscorrelate-1.6.1-r2.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/sci-geosciences/gpscorrelate/gpscorrelate-1.6.1-r2.ebuild b/sci-geosciences/gpscorrelate/gpscorrelate-1.6.1-r2.ebuild new file mode 100644 index 000000000000..edc3ab6c0635 --- /dev/null +++ b/sci-geosciences/gpscorrelate/gpscorrelate-1.6.1-r2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit desktop toolchain-funcs + +DESCRIPTION="Tool for adjusting EXIF tags of your photos with a recorded GPS trace" +HOMEPAGE="https://github.com/freefoote/gpscorrelate" +SRC_URI="http://freefoote.dview.net/linux/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86" +IUSE="doc gtk" + +BDEPEND=" + app-text/docbook-xml-dtd:4.2 + dev-libs/libxslt + virtual/pkgconfig +" +DEPEND=" + dev-libs/libxml2:2 + media-gfx/exiv2:= + gtk? ( x11-libs/gtk+:2 ) +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${P}-makefile.patch" + "${FILESDIR}/${P}-exiv2-0.27.1.patch" +) + +src_compile() { + tc-export CC CXX + local opts="gpscorrelate gpscorrelate.1" + use gtk && opts+=" gpscorrelate-gui BUILD_GUI=1" + emake ${opts} +} + +src_install() { + dobin ${PN} + if use gtk; then + dobin ${PN}-gui + doicon ${PN}-gui.svg + domenu ${PN}.desktop + fi + if use doc; then + rm doc/gpscorrelate-manpage.xml* || die + local DOCS=() + local HTML_DOCS=( doc/. ) + einstalldocs + fi + doman ${PN}.1 +} |