commit: 34f5015a50008e073bbba71320f02470b592047d Author: Joonas Niilola <juippis <AT> gentoo <DOT> org> AuthorDate: Wed Feb 11 17:40:58 2026 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Wed Feb 11 17:40:58 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34f5015a
app-editors/kakoune: add a KEYWORDS/SRC_URI/EGIT_REPO_URI construct - match with the latest release 2025.06.03 and 9999 ebuilds. Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> app-editors/kakoune/kakoune-2025.06.03.ebuild | 10 ++++++++-- app-editors/kakoune/kakoune-9999.ebuild | 11 +++++++++-- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/app-editors/kakoune/kakoune-2025.06.03.ebuild b/app-editors/kakoune/kakoune-2025.06.03.ebuild index 11589a6d77b3..e17b691fcb6e 100644 --- a/app-editors/kakoune/kakoune-2025.06.03.ebuild +++ b/app-editors/kakoune/kakoune-2025.06.03.ebuild @@ -7,11 +7,17 @@ inherit toolchain-funcs DESCRIPTION="Modal editor inspired by vim" HOMEPAGE="https://kakoune.org/ https://github.com/mawww/kakoune" -SRC_URI="https://github.com/mawww/kakoune/releases/download/v${PV}/${P}.tar.bz2" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/mawww/kakoune.git" +else + SRC_URI="https://github.com/mawww/kakoune/releases/download/v${PV}/${P}.tar.bz2" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +fi LICENSE="Unlicense" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" BDEPEND="virtual/pkgconfig" diff --git a/app-editors/kakoune/kakoune-9999.ebuild b/app-editors/kakoune/kakoune-9999.ebuild index bb560c4e083e..e17b691fcb6e 100644 --- a/app-editors/kakoune/kakoune-9999.ebuild +++ b/app-editors/kakoune/kakoune-9999.ebuild @@ -3,11 +3,18 @@ EAPI=8 -inherit toolchain-funcs git-r3 +inherit toolchain-funcs DESCRIPTION="Modal editor inspired by vim" HOMEPAGE="https://kakoune.org/ https://github.com/mawww/kakoune" -EGIT_REPO_URI="https://github.com/mawww/kakoune.git" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/mawww/kakoune.git" +else + SRC_URI="https://github.com/mawww/kakoune/releases/download/v${PV}/${P}.tar.bz2" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +fi LICENSE="Unlicense" SLOT="0"
