summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-12-04 09:26:07 +0100
committerMaciej Barć <xgqt@gentoo.org>2023-12-04 09:43:30 +0100
commite2f8b4f6bc3bd93d0489009ab0d062f1b8780189 (patch)
tree92681afeb176bb15eafc0e79db32829b3dca06e9 /app-emacs/osm
parentapp-emacs/org-modern: bump to 1.1 (diff)
downloadgentoo-e2f8b4f6bc3bd93d0489009ab0d062f1b8780189.tar.gz
gentoo-e2f8b4f6bc3bd93d0489009ab0d062f1b8780189.tar.bz2
gentoo-e2f8b4f6bc3bd93d0489009ab0d062f1b8780189.zip
app-emacs/osm: bump to 1.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/osm')
-rw-r--r--app-emacs/osm/Manifest1
-rw-r--r--app-emacs/osm/osm-1.0.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/app-emacs/osm/Manifest b/app-emacs/osm/Manifest
index a8ee5aecedd6..86b191e160e0 100644
--- a/app-emacs/osm/Manifest
+++ b/app-emacs/osm/Manifest
@@ -1 +1,2 @@
DIST osm-0.14.tar.gz 32982 BLAKE2B 0c6672aa259c840d0da628bcc8dbac86e9801a18cec70fff997c34af54a7f1d0f4c1a746069347cca1af8a3282de59e3604c5c7faf52a646bbf718f4544425e6 SHA512 e8f294d449f1863653d7a2b6105bc21917b616e734c7014bd8b15299dbf79d764f3bfbe92512088934e069d4be6397f4b8687f1be105053ec4b2f32458ea02ec
+DIST osm-1.0.tar.gz 33319 BLAKE2B 03a1d9504fa7c33c9706750ff5ea0da33615d3dd27533f6568c5375cc8bbea23d5d463e15e2fd8404e04d392f367cfc4e8356eb6e5c38e107eb340f2c5203007 SHA512 5985c7dfff0dd077c2b52a9abc63f226c64f20a5d9d69fbed4deb89042fee9cc459428fe0b986f4c50d4a9d6104b87a5949cebe6363e9782f3935a7f5d29d271
diff --git a/app-emacs/osm/osm-1.0.ebuild b/app-emacs/osm/osm-1.0.ebuild
new file mode 100644
index 000000000000..e18c2dbd3553
--- /dev/null
+++ b/app-emacs/osm/osm-1.0.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
+}