diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2022-02-24 13:26:59 +0100 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2022-02-24 13:26:59 +0100 |
commit | eadbd51607c20feac887e67b4215adb8e8f416cb (patch) | |
tree | 3f9b9348b16145748e7b25dab55afddd253eb069 /sci-geosciences | |
parent | dev-util/bpftool: drop 5.16.5 (diff) | |
download | gentoo-eadbd51607c20feac887e67b4215adb8e8f416cb.tar.gz gentoo-eadbd51607c20feac887e67b4215adb8e8f416cb.tar.bz2 gentoo-eadbd51607c20feac887e67b4215adb8e8f416cb.zip |
sci-geosciences/gpscorrelate: add version 2.0
Closes: https://bugs.gentoo.org/754069
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'sci-geosciences')
3 files changed, 61 insertions, 0 deletions
diff --git a/sci-geosciences/gpscorrelate/Manifest b/sci-geosciences/gpscorrelate/Manifest index 866912d81e40..e08700cfbada 100644 --- a/sci-geosciences/gpscorrelate/Manifest +++ b/sci-geosciences/gpscorrelate/Manifest @@ -1 +1,2 @@ DIST gpscorrelate-1.6.1.tar.gz 154531 BLAKE2B 664a87e7be4e9cbdabd71653df4b968b0de33abe61d666b8b101d74ed9288bbceee9884bfa6e1c117a52bd13b69d11983342eb16cf07ee2c166d60f8ea5ca965 SHA512 c7e50980adc7173e6addb15b0a6451f44d8bbac5511643445b9bed85226abb4153b67032a5e9f95f6fe2f192d5b3d1965fecd3c00a21709a0d6e5dc59720132f +DIST gpscorrelate-2.0.tar.gz 283797 BLAKE2B 8cee5b3c37fa758cbf665b9e7cfcc61d7ee73c4aebc0a660718812c598e9b362e76c746a8d6007080783a5d2c0b91eaf5d5c90f48072e6808d2409c6d2b5fbf4 SHA512 c4267b14b219118f2d56c064403a3a7bd74ef1d3af1e83bec6fe5b391bee80b3d69a0e52a834da9f615d9c54720ade28ea22ab8b6fac75c31c71fc5eb348f709 diff --git a/sci-geosciences/gpscorrelate/files/gpscorrelate-2.0-desktop-pass-validation.patch b/sci-geosciences/gpscorrelate/files/gpscorrelate-2.0-desktop-pass-validation.patch new file mode 100644 index 000000000000..131e21041898 --- /dev/null +++ b/sci-geosciences/gpscorrelate/files/gpscorrelate-2.0-desktop-pass-validation.patch @@ -0,0 +1,10 @@ +diff --git a/gpscorrelate.desktop b/gpscorrelate.desktop +index b4db0d6..0885ca4 100644 +--- a/gpscorrelate.desktop ++++ b/gpscorrelate.desktop +@@ -1,4 +1,4 @@ +-[Desktop Entry] ++[Desktop Entry] + Type=Application + Version=1.0 + Name=GPSCorrelate diff --git a/sci-geosciences/gpscorrelate/gpscorrelate-2.0.ebuild b/sci-geosciences/gpscorrelate/gpscorrelate-2.0.ebuild new file mode 100644 index 000000000000..0d45dcd66a4c --- /dev/null +++ b/sci-geosciences/gpscorrelate/gpscorrelate-2.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop toolchain-funcs + +DESCRIPTION="Tool for adjusting EXIF tags of your photos with a recorded GPS trace" +HOMEPAGE="https://dfandrich.github.io/gpscorrelate/" +SRC_URI="https://github.com/dfandrich/${PN}/releases/download/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~x86" +IUSE="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+:3 ) +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${P}-desktop-pass-validation.patch" +) + +src_compile() { + tc-export CC CXX PKG_CONFIG + emake gpscorrelate CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" + use gtk && emake gpscorrelate-gui CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" + +} + +src_install() { + dobin ${PN} + if use gtk; then + dobin ${PN}-gui + doicon -s scalable ${PN}-gui.svg + domenu ${PN}.desktop + fi + dodoc doc/*.html doc/*.png doc/*.xml + einstalldocs + doman doc/${PN}.1 +} |