summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-12-26 22:41:35 +0100
committerMaciej Barć <xgqt@gentoo.org>2023-12-27 02:20:42 +0100
commita2635840ea30d7fa597ccb6cb3cd55560ec8509f (patch)
tree2f7ecfa51a6c02877587135e6135d750d238cc52
parentapp-emacs/js2-mode: bump to 20231224 (diff)
downloadgentoo-a2635840ea30d7fa597ccb6cb3cd55560ec8509f.tar.gz
gentoo-a2635840ea30d7fa597ccb6cb3cd55560ec8509f.tar.bz2
gentoo-a2635840ea30d7fa597ccb6cb3cd55560ec8509f.zip
app-emacs/osm: bump to 1.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
-rw-r--r--app-emacs/osm/Manifest1
-rw-r--r--app-emacs/osm/osm-1.1.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/app-emacs/osm/Manifest b/app-emacs/osm/Manifest
index 86b191e160e0..a5ffb4b18e64 100644
--- a/app-emacs/osm/Manifest
+++ b/app-emacs/osm/Manifest
@@ -1,2 +1,3 @@
DIST osm-0.14.tar.gz 32982 BLAKE2B 0c6672aa259c840d0da628bcc8dbac86e9801a18cec70fff997c34af54a7f1d0f4c1a746069347cca1af8a3282de59e3604c5c7faf52a646bbf718f4544425e6 SHA512 e8f294d449f1863653d7a2b6105bc21917b616e734c7014bd8b15299dbf79d764f3bfbe92512088934e069d4be6397f4b8687f1be105053ec4b2f32458ea02ec
DIST osm-1.0.tar.gz 33319 BLAKE2B 03a1d9504fa7c33c9706750ff5ea0da33615d3dd27533f6568c5375cc8bbea23d5d463e15e2fd8404e04d392f367cfc4e8356eb6e5c38e107eb340f2c5203007 SHA512 5985c7dfff0dd077c2b52a9abc63f226c64f20a5d9d69fbed4deb89042fee9cc459428fe0b986f4c50d4a9d6104b87a5949cebe6363e9782f3935a7f5d29d271
+DIST osm-1.1.tar.gz 34665 BLAKE2B 0fcff04c229ce92e44365cd24acd417bf41c6c57fc1b17c61a18a20e85d0777e0bfcfbd51e0d14ce37c119d2d6db74447b1a5837cf0db6dc5213056df902c151 SHA512 18d2123962b481966e877a77e90621f900fffb093502d676d10a61de371509d476d16dccf1679b092b71fe1b3276da97255aa9528ab0b9e124390be1f1f2bd13
diff --git a/app-emacs/osm/osm-1.1.ebuild b/app-emacs/osm/osm-1.1.ebuild
new file mode 100644
index 000000000000..e18c2dbd3553
--- /dev/null
+++ b/app-emacs/osm/osm-1.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS=27.1
+
+inherit elisp
+
+DESCRIPTION="OpenStreetMap tile-based viewer for GNU Emacs"
+HOMEPAGE="https://github.com/minad/osm/"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/minad/${PN}.git"
+else
+ SRC_URI="https://github.com/minad/${PN}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+BDEPEND="
+ >=app-editors/emacs-${NEED_EMACS}:*[jpeg,json,libxml2,png,svg]
+ >=app-emacs/compat-29.1.4.0
+"
+RDEPEND="
+ ${BDEPEND}
+ net-misc/curl[ssl]
+"
+
+DOCS=( README.org )
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ elisp_src_compile
+ elisp-make-autoload-file
+}