# Copyright 2019-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 NEED_EMACS="25.1" inherit elisp git-r3 git-extras DESCRIPTION="Emacs incremental completion and selection narrowing framework" HOMEPAGE="https://emacs-helm.github.io/helm/" # EGIT_REPO_URI="https://github.com/emacs-helm/${PN}.git" EGIT_REPO_URI="https://github.com/akater/${PN}.git" EGIT_COMMIT="a7b9e898296142465c0857b2d201d8d828ba7b05" # EGIT_BRANCH="master" EGIT_CLONE_TYPE="mirror" LICENSE="GPL-3+" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~x86" IUSE="X" RDEPEND=" X? ( >=app-editors/emacs-25.1[gui] ) !X? ( >=app-editors/emacs-25.1 ) >=app-emacs/async-1.9.4 app-emacs/popup" BDEPEND="${RDEPEND} || ( app-emacs/org app-editors/emacs[-minimal] )" # PATCHES="${FILESDIR}/${P}-no-autoload-check.patch" SITEFILE="50${PN}-gentoo.el" src_prepare() { elisp_src_prepare git branch work git switch work git-merge no-autoload-check git-merge no-org use X || git-merge no-x eapply_user } src_compile() { elisp-compile *.el elisp-make-autoload-file } src_install() { elisp_src_install dobin emacs-helm.sh }