gentoo-ebuilds/app-emacs/ledger-mode/ledger-mode-4.0.0.ebuild
Ulrich Müller 9cd6b3297a
app-emacs/ledger-mode: Fix byte-compilation with Emacs 28
Closes: https://bugs.gentoo.org/836924
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
2022-04-06 18:50:54 +02:00

22 lines
591 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit elisp
DESCRIPTION="An Emacs major mode for editing ledger files"
HOMEPAGE="https://github.com/ledger/ledger-mode"
SRC_URI="https://github.com/ledger/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2+ BSD"
SLOT="0"
KEYWORDS="amd64 x86"
PATCHES=( "${FILESDIR}"/${P}-emacs-28.patch )
SITEFILE="50${PN}-gentoo.el"
ELISP_TEXINFO="doc/ledger-mode.texi"
BYTECOMPFLAGS+=" -l ledger-regex.el"
RDEPEND="!<app-office/ledger-3.1.2[emacs(-)]"
BDEPEND="sys-apps/texinfo"