blob: 966fe58a26385604ba6b8617aa84dc967da0cad6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
EAPI=7
inherit git-r3 cmake xdg
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=""
PATCHES=(
"${FILESDIR}/${P}-zlib-compile.patch"
)
src_configure() {
CMAKE_BUILD_TYPE="RelWithDebInfo"
local mycmakeargs=(
-DBUILD_SHARED_LIBS=False
)
echo | ./configure.sh
cmake_src_configure
}
pkg_postinst() {
xdg_icon_cache_update
einfo "For dark mode type in search ?dark"
einfo "For light mode type in search ?light"
}
|