commit:     ac3866e21a6404c5bf33cb23f1cd71eb648e76ca
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  9 18:45:20 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Wed Apr  9 21:40:05 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac3866e2

app-emacs/osm: bump to 1.7

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/osm/Manifest       |  1 +
 app-emacs/osm/osm-1.7.ebuild | 42 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/app-emacs/osm/Manifest b/app-emacs/osm/Manifest
index e182547d6406..2b2f10e0b7e2 100644
--- a/app-emacs/osm/Manifest
+++ b/app-emacs/osm/Manifest
@@ -1 +1,2 @@
 DIST osm-1.6.tar.gz 35738 BLAKE2B 
295123c96a9f116959809405f08f72239c084e26796b727b0819eabba0c34eb847305c3460c9cf69da23098b4a25691a939a1821a3acd1e0cc0a6e6c29f2c51f
 SHA512 
0130924d392149bbf31f69e7188543bb83fafab29f06d70be331dcc58c9b53fc7b8fc945ac1c37b6b69ff612872233a2e5f000a6116d883dac17698472adc6c9
+DIST osm-1.7.tar.gz 35741 BLAKE2B 
b2e49975d5a859180b10024a9ea7a6ed1d2bc795263d6be1b8957087e27cb86d767ee9eff76530874697ce6c583963e6bcf32bf03d80abe5c8b593b9363789e3
 SHA512 
dc121a31afa1c352e6f9e67e25af2dd4dfab824aa20c5321b8a6ad7abfa8cd884c5bd841d3385c99b0a3992704471943989881f1f64496a7bb889095c9912765

diff --git a/app-emacs/osm/osm-1.7.ebuild b/app-emacs/osm/osm-1.7.ebuild
new file mode 100644
index 000000000000..da9aa6a8d6c8
--- /dev/null
+++ b/app-emacs/osm/osm-1.7.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS="28.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}";
+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-30.0.2.0
+"
+RDEPEND="
+       ${BDEPEND}
+       net-misc/curl[ssl]
+"
+
+DOCS=( README.org )
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+       elisp_src_compile
+       elisp-make-autoload-file
+}

Reply via email to