summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-07-03 09:47:13 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-07-03 09:58:48 +0200
commitdc384f7c251c01b779f2b74a99697f9dd66d2cf1 (patch)
tree6b98b7c06042ea74e242c75de09dc47f08a59414 /app-emacs/osm
parentsys-apps/system-monitoring-center: bump to 2.17.1 (diff)
downloadgentoo-dc384f7c251c01b779f2b74a99697f9dd66d2cf1.tar.gz
gentoo-dc384f7c251c01b779f2b74a99697f9dd66d2cf1.tar.bz2
gentoo-dc384f7c251c01b779f2b74a99697f9dd66d2cf1.zip
app-emacs/osm: enable live
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/osm')
-rw-r--r--app-emacs/osm/osm-0.13.ebuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/app-emacs/osm/osm-0.13.ebuild b/app-emacs/osm/osm-0.13.ebuild
index e10c84ef5e7f..e18c2dbd3553 100644
--- a/app-emacs/osm/osm-0.13.ebuild
+++ b/app-emacs/osm/osm-0.13.ebuild
@@ -9,12 +9,18 @@ inherit elisp
DESCRIPTION="OpenStreetMap tile-based viewer for GNU Emacs"
HOMEPAGE="https://github.com/minad/osm/"
-SRC_URI="https://github.com/minad/osm/archive/${PV}.tar.gz
- -> ${P}.tar.gz"
+
+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"
-KEYWORDS="~amd64 ~x86"
BDEPEND="
>=app-editors/emacs-${NEED_EMACS}:*[jpeg,json,libxml2,png,svg]