makedeb
A free offline maps app for travelers, tourists, hikers, and cyclists based on top of crowd-sourced OpenStreetMap data
Click here to go back to the commit logs for organicmaps.
Hash: ac4082f0d28715a387a185a6d544443385b148ac
Message: Push version 2024.01.09_5-1
* New maintainer: Tai Lam (taivlam on the MPR)
* Package will remain point-release source binary
* Previously considered converting to a Git VCS package
* However, decided against this after looking at corresponding AUR comments
* [Source](https://aur.archlinux.org/packages/organicmaps-git#comment-957395)
diff --git a/.SRCINFO b/.SRCINFO
index 8eebc5e..de9b219 100755
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,59 +1,44 @@
-generated-by = makedeb
-pkgname = organicmaps
pkgbase = organicmaps
-pkgdesc = A free offline maps app for travelers, tourists, hikers, and cyclists based on top of crowd-sourced OpenStreetMap data
-pkgrel = 9
-pkgver = 2022.11.24
-url = https://github.com/organicmaps/organicmaps
-arch = amd64
-arch = arm64
-arch = armel
-arch = armhf
-arch = i386
-arch = mipsel
-arch = mips64el
-arch = ppc64el
-arch = s390x
-conflicts = organicmaps-bin
-depends = libqt5core5a
-depends = libqt5svg5
-depends = libsqlite3-0
-depends = libc++1
-depends = libglu1-mesa
-depends = libicu72
-depends = libfreetype6
-depends = libopengl0
-depends = zlib1g
-license = Apache
-makedepends = git
-makedepends = git-lfs
-makedepends = gendesk
-makedepends = jq
-makedepends = build-essential
-makedepends = ninja-build
-makedepends = python3
-makedepends = qtbase5-dev
-makedepends = libc++-dev
-makedepends = libfreetype-dev
-makedepends = libglu1-mesa-dev
-makedepends = libicu-dev
-makedepends = libqt5svg5-dev
-makedepends = libsqlite3-dev
-makedepends = zlib1g-dev
-optdepends = ccache
-makedepends = git
-makedepends = git-lfs
-makedepends = gendesk
-makedepends = jq
-makedepends = build-essential
-makedepends = ninja-build
-makedepends = python3
-makedepends = qtbase5-dev
-makedepends = libc++-dev
-makedepends = libfreetype-dev
-makedepends = libglu1-mesa-dev
-makedepends = libicu-dev
-makedepends = libqt5svg5-dev
-makedepends = libsqlite3-dev
-makedepends = zlib1g-dev
-optdepends = ccache
+ pkgdesc = A free offline maps app for travelers, tourists, hikers, and cyclists based on top of crowd-sourced OpenStreetMap data
+ pkgver = 2024.01.09_5
+ pkgrel = 1
+ url = https://github.com/organicmaps/organicmaps
+ arch = amd64
+ arch = arm64
+ arch = armel
+ arch = armhf
+ arch = i386
+ arch = mipsel
+ arch = mips64el
+ arch = ppc64el
+ arch = s390x
+ license = Apache
+ makedepends = git
+ makedepends = git-lfs
+ makedepends = gendesk
+ makedepends = jq
+ makedepends = build-essential
+ makedepends = ninja-build
+ makedepends = python3
+ makedepends = qtbase5-dev
+ makedepends = libc++-dev
+ makedepends = libfreetype-dev
+ makedepends = libglu1-mesa-dev
+ makedepends = libicu-dev
+ makedepends = libqt5svg5-dev
+ makedepends = libsqlite3-dev
+ makedepends = libxml2-utils
+ makedepends = zlib1g-dev
+ depends = libqt5core5a
+ depends = libqt5svg5
+ depends = libsqlite3-0
+ depends = libc++1
+ depends = libglu1-mesa
+ depends = libicu72
+ depends = libfreetype6
+ depends = libopengl0
+ depends = zlib1g
+ optdepends = ccache
+ conflicts = organicmaps-bin
+
+pkgname = organicmaps
diff --git a/PKGBUILD b/PKGBUILD
index e3bafea..3489d78 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,9 @@
-# Maintainer: bunnylo1 <bunnylo12@yahoo.com>
+# Maintainer: Tai Lam <47955724+taivlam at users.noreply.github dot com>
+# Contributor: bunnylo1 <bunnylo12@yahoo.com>
pkgname='organicmaps'
-pkgver='2022.11.24'
-pkgrel='9'
+pkgver='2024.01.09_5'
+pkgrel='1'
pkgdesc='A free offline maps app for travelers, tourists, hikers, and cyclists based on top of crowd-sourced OpenStreetMap data'
arch=('amd64' 'arm64' 'armel' 'armhf'
'i386' 'mipsel' 'mips64el' 'ppc64el' 's390x')
@@ -13,7 +14,8 @@ optdepends=("ccache")
makedepends=("git" "git-lfs" "gendesk" "jq" "build-essential"
"ninja-build" "python3" "qtbase5-dev" "libc++-dev"
"libfreetype-dev" "libglu1-mesa-dev" "libicu-dev"
- "libqt5svg5-dev" "libsqlite3-dev" "zlib1g-dev")
+ "libqt5svg5-dev" "libsqlite3-dev" "libxml2-utils"
+ "zlib1g-dev")
license=("Apache")
url="https://github.com/organicmaps/organicmaps"
conflicts=("${pkgname%-git}-bin")
@@ -30,6 +32,11 @@ prepare() {
bash ./configure.sh
}
+pkgver() {
+ cd $pkgname
+ xmllint --xpath "string(//releases/release/@version)" "${srcdir}/${pkgname}/packaging/app.organicmaps.desktop.metainfo.xml" | sed -r 's/-/_/g'
+}
+
build() {
$srcdir/$pkgname/tools/unix/build_omim.sh -n 1 -r desktop #pass option -DUNITY_DISABLE=1 if running into free memory issues, remove option -n 1 if not having problems with multi-core compiling
}
diff --git a/PKGUBILD b/PKGUBILD
deleted file mode 100644
index e69de29..0000000
--- a/PKGUBILD
+++ /dev/null