aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaly Zdanevich <zdanevich.vitaly@ya.ru>2022-06-30 20:47:22 +0400
committerVitaly Zdanevich <zdanevich.vitaly@ya.ru>2022-06-30 20:47:22 +0400
commitac022896326a23ff0def86092c77b444fdb6facf (patch)
treeffdbed0a9f3a7dcc78c2b9b1e1b4b27e748fdfe3 /gui-apps/organicmaps
parentx11-apps/organicmaps: fix building (diff)
downloadguru-ac022896326a23ff0def86092c77b444fdb6facf.tar.gz
guru-ac022896326a23ff0def86092c77b444fdb6facf.tar.bz2
guru-ac022896326a23ff0def86092c77b444fdb6facf.zip
organicmaps: move from x11-apps to gui-apps
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
Diffstat (limited to 'gui-apps/organicmaps')
-rw-r--r--gui-apps/organicmaps/Manifest2
-rw-r--r--gui-apps/organicmaps/files/organicmaps-9999-zlib-compile.patch10
-rw-r--r--gui-apps/organicmaps/metadata.xml8
-rw-r--r--gui-apps/organicmaps/organicmaps-9999.ebuild39
4 files changed, 59 insertions, 0 deletions
diff --git a/gui-apps/organicmaps/Manifest b/gui-apps/organicmaps/Manifest
new file mode 100644
index 000000000..401d1c228
--- /dev/null
+++ b/gui-apps/organicmaps/Manifest
@@ -0,0 +1,2 @@
+AUX organicmaps-9999-zlib-compile.patch 291 BLAKE2B 627e0897134993fab63357dbaf59e16ca26fc180edfc0e05aefe557fa32d666ecdb6ad5a168b4564f2b9ef9a3b32200552faf0521594ce17a501b9b884b3b506 SHA512 a52c2a0068f929154a7c31479531db66c545328e2c069fe62cf8b3a41cc0eaf501a4885128d11be30a1037006f67b879015adcf4b126b0a13e316bffb5971e75
+EBUILD organicmaps-9999.ebuild 693 BLAKE2B a7a70da1baa43091bbfe47d6c49059a8f5cfc52e48abe3962a7f7fa141ed2301e6e3dbc31061f7f34791acfeb178c3603bbcfc607f47bfe27480d2d7fa2034b3 SHA512 94cc54583b77be1dbf54c421263c1580b05dd1dd166fa867d9e20c3f98bdafa9140581a212b47e617f8def08f8d2f0c2eb5de6137374b4e3b5427bb1bb464fa2
diff --git a/gui-apps/organicmaps/files/organicmaps-9999-zlib-compile.patch b/gui-apps/organicmaps/files/organicmaps-9999-zlib-compile.patch
new file mode 100644
index 000000000..953dd0124
--- /dev/null
+++ b/gui-apps/organicmaps/files/organicmaps-9999-zlib-compile.patch
@@ -0,0 +1,10 @@
+--- git/3party/minizip/CMakeLists.txt 2022-06-07 12:52:32.337814533 +0200
++++ organicmaps/3party/minizip/CMakeLists.txt 2022-05-31 13:38:50.604235282 +0200
+@@ -15,6 +15,7 @@
+
+ target_compile_definitions(${PROJECT_NAME}
+ PUBLIC
++ OF=_Z_OF
+ USE_FILE32API
+ PRIVATE
+ NOCRYPT
diff --git a/gui-apps/organicmaps/metadata.xml b/gui-apps/organicmaps/metadata.xml
new file mode 100644
index 000000000..e473d21c7
--- /dev/null
+++ b/gui-apps/organicmaps/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>zdanevich.vitaly@ya.ru</email>
+ <name>Vitaly Zdanevich</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/gui-apps/organicmaps/organicmaps-9999.ebuild b/gui-apps/organicmaps/organicmaps-9999.ebuild
new file mode 100644
index 000000000..3d7a2e414
--- /dev/null
+++ b/gui-apps/organicmaps/organicmaps-9999.ebuild
@@ -0,0 +1,39 @@
+EAPI=7
+
+inherit git-r3 cmake-utils
+EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
+
+DESCRIPTION="Offline maps and navigation using OpenStreetMap data"
+HOMEPAGE="https://organicmaps.app"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+DEPEND="sys-devel/clang
+ >=dev-util/cmake-3.18.1
+ dev-util/ninja
+ media-libs/freetype
+ dev-libs/icu
+ sys-libs/libstdc++-v3
+ dev-qt/qtcore
+ dev-qt/qtsvg
+ dev-db/sqlite
+ sys-libs/zlib[minizip]"
+RDEPEND=""
+
+src_prepare() {
+ eapply "${FILESDIR}/${P}-zlib-compile.patch"
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ CMAKE_BUILD_TYPE="RelWithDebInfo"
+
+ local mycmakeargs=(
+ -DBUILD_SHARED_LIBS=False
+ )
+
+ echo | ./configure.sh
+
+ cmake-utils_src_configure
+}