summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-09-11 23:32:37 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-09-11 23:52:07 +0200
commit3b7945689623009955fb908be7ec20e4bc62c7ec (patch)
treead4128c427b4b0f374d78441dc165c4ff2fc85dc
parentapp-misc/resolve-march-native: 2.0.0 + EAPI 8 (diff)
downloadgentoo-3b7945689623009955fb908be7ec20e4bc62c7ec.tar.gz
gentoo-3b7945689623009955fb908be7ec20e4bc62c7ec.tar.bz2
gentoo-3b7945689623009955fb908be7ec20e4bc62c7ec.zip
media-gfx/kgeotag: add 1.3.1
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--media-gfx/kgeotag/Manifest1
-rw-r--r--media-gfx/kgeotag/files/kgeotag-1.3.1-cmake.patch43
-rw-r--r--media-gfx/kgeotag/kgeotag-1.3.1.ebuild39
3 files changed, 83 insertions, 0 deletions
diff --git a/media-gfx/kgeotag/Manifest b/media-gfx/kgeotag/Manifest
index 4dbb16a3a457..db9a6d5f463e 100644
--- a/media-gfx/kgeotag/Manifest
+++ b/media-gfx/kgeotag/Manifest
@@ -1 +1,2 @@
DIST kgeotag-1.2.0.tar.xz 284708 BLAKE2B b4d44a9a2210c20ae0caaf51913958c4d0b0e15f622727aacf7c50a6a76f8228bada2c7b2f3c87f97866b8acc5c9abf4fc2e3963e623f7865a13ec1d190d230a SHA512 818a89babe613602b9843109c10632b09dfe0bba5e28d5332eb17c1c3841a30049dbe298a4b3c8123d72751dfa29eb5994d9d4e683a85f9b121161005c4fee65
+DIST kgeotag-1.3.1.tar.xz 365648 BLAKE2B 7d3ac33f2439072700582dbd4bfd0091728b8546865521b6a1e69a34f3a3180854026fdac67a74f053095788c3d0d1fdff94b3c923d7393b6bc453497aff5b64 SHA512 62cbf568e749a8345e8d145d0850381fcb3140bea10b02626c609c4f1bf0d0fafac23b82a796e0e4c8b293c9fcf65b2ad7c66b7354822426e56826e5b25df46e
diff --git a/media-gfx/kgeotag/files/kgeotag-1.3.1-cmake.patch b/media-gfx/kgeotag/files/kgeotag-1.3.1-cmake.patch
new file mode 100644
index 000000000000..77be87736126
--- /dev/null
+++ b/media-gfx/kgeotag/files/kgeotag-1.3.1-cmake.patch
@@ -0,0 +1,43 @@
+From d119fbfaabb7709710243f353211bab69b5ad5b6 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Sun, 11 Sep 2022 23:26:04 +0200
+Subject: [PATCH] Add doc subdirectory as usual and create docbook in subdir
+
+Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
+---
+ CMakeLists.txt | 6 +-----
+ doc/CMakeLists.txt | 5 +++++
+ 2 files changed, 6 insertions(+), 5 deletions(-)
+ create mode 100644 doc/CMakeLists.txt
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 8ba51d5..62f0d35 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -124,11 +124,7 @@ target_link_libraries(kgeotag
+ )
+
+ # Documentation
+-kdoctools_create_handbook(
+- doc/index.docbook
+- INSTALL_DESTINATION "${KDE_INSTALL_DOCBUNDLEDIR}/en"
+- SUBDIR kgeotag
+-)
++add_subdirectory(doc)
+
+ # Installation
+
+diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
+new file mode 100644
+index 0000000..6200463
+--- /dev/null
++++ b/doc/CMakeLists.txt
+@@ -0,0 +1,5 @@
++kdoctools_create_handbook(
++ index.docbook
++ INSTALL_DESTINATION "${KDE_INSTALL_DOCBUNDLEDIR}/en"
++ SUBDIR kgeotag
++)
+--
+2.37.3
+
diff --git a/media-gfx/kgeotag/kgeotag-1.3.1.ebuild b/media-gfx/kgeotag/kgeotag-1.3.1.ebuild
new file mode 100644
index 000000000000..1de4cece25cc
--- /dev/null
+++ b/media-gfx/kgeotag/kgeotag-1.3.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+KFMIN=5.82.0
+QTMIN=5.15.5
+inherit ecm kde.org
+
+DESCRIPTION="Photo geotagging program"
+HOMEPAGE="https://kgeotag.kde.org/ https://apps.kde.org/kgeotag/"
+
+if [[ ${KDE_BUILD_TYPE} != live ]]; then
+ SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3+"
+SLOT="5"
+
+DEPEND="
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=kde-apps/libkexiv2-21.12.0:5
+ >=kde-apps/marble-21.12.0:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kcrash-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( ChangeLog.rst README.md )
+
+PATCHES=( "${FILESDIR}/${P}-cmake.patch" )