diff options
author | Vitaly Zdanevich <zdanevich.vitaly@ya.ru> | 2022-06-30 20:22:49 +0400 |
---|---|---|
committer | Vitaly Zdanevich <zdanevich.vitaly@ya.ru> | 2022-06-30 20:22:49 +0400 |
commit | 06aa86d4c1b40d8f527bea344eabab7f1d7bd9ce (patch) | |
tree | 3d1e2c8449764acde2265732e4484f9f32aac572 /x11-apps | |
parent | dev-cpp/parallel-hashmap: restrict tests (diff) | |
download | guru-06aa86d4c1b40d8f527bea344eabab7f1d7bd9ce.tar.gz guru-06aa86d4c1b40d8f527bea344eabab7f1d7bd9ce.tar.bz2 guru-06aa86d4c1b40d8f527bea344eabab7f1d7bd9ce.zip |
x11-apps/organicmaps: new package, add 9999
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
Diffstat (limited to 'x11-apps')
-rw-r--r-- | x11-apps/organicmaps/Manifest | 2 | ||||
-rw-r--r-- | x11-apps/organicmaps/files/organicmaps-9999-zlib-compile.patch | 10 | ||||
-rw-r--r-- | x11-apps/organicmaps/metadata.xml | 8 | ||||
-rw-r--r-- | x11-apps/organicmaps/organicmaps-9999.ebuild | 40 |
4 files changed, 60 insertions, 0 deletions
diff --git a/x11-apps/organicmaps/Manifest b/x11-apps/organicmaps/Manifest new file mode 100644 index 000000000..401d1c228 --- /dev/null +++ b/x11-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/x11-apps/organicmaps/files/organicmaps-9999-zlib-compile.patch b/x11-apps/organicmaps/files/organicmaps-9999-zlib-compile.patch new file mode 100644 index 000000000..953dd0124 --- /dev/null +++ b/x11-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/x11-apps/organicmaps/metadata.xml b/x11-apps/organicmaps/metadata.xml new file mode 100644 index 000000000..e473d21c7 --- /dev/null +++ b/x11-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/x11-apps/organicmaps/organicmaps-9999.ebuild b/x11-apps/organicmaps/organicmaps-9999.ebuild new file mode 100644 index 000000000..e6090e70b --- /dev/null +++ b/x11-apps/organicmaps/organicmaps-9999.ebuild @@ -0,0 +1,40 @@ +EAPI=7 + +inherit git-r3 cmake-utils +EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" +KEYWORDS="~amd64" + +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 +} |