gnome-extra/commit - 4.3 (guru)

Search

Install

Install this version:

emerge -a =gnome-extra/commit-4.3

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =gnome-extra/commit-4.3

Or alternatively:

emerge --autounmask-write -a =gnome-extra/commit-4.3

Package Information

Description:
Commit message editor
Homepage:
https://github.com/sonnyp/Commit https://apps.gnome.org/Commit/
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
4.3 8 ~amd64 0
View Raw Ebuild
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit gnome2-utils meson xdg

TROLL_COMMIT="8b0275948eedec9ed0378f9bdda1aa4aac3062ba"
DESCRIPTION="Commit message editor"
HOMEPAGE="
	https://github.com/sonnyp/Commit
	https://apps.gnome.org/Commit/
"
SRC_URI="
	https://github.com/sonnyp/Commit/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
	https://github.com/sonnyp/troll/archive/${TROLL_COMMIT}.tar.gz -> ${P}-troll.gh.tar.gz
"
S="${WORKDIR}/${PN^}-${PV}"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	app-text/libspelling
	gui-libs/gtk:4
	gui-libs/libadwaita:1
"
DEPEND="${RDEPEND}"

BDEPEND="
	app-alternatives/ninja
	dev-libs/appstream-glib
	dev-libs/gjs
	dev-libs/glib:2=
	dev-util/blueprint-compiler
	dev-util/desktop-file-utils
	sys-devel/gettext
	virtual/pkgconfig
"

src_unpack() {
	default
	mv "${WORKDIR}"/troll-"${TROLL_COMMIT}"/* "${S}"/troll || die
}

src_install() {
	meson_src_install
	dosym -r /usr/bin/re.sonny.Commit /usr/bin/"${PN}"
	dodir /usr/share/metainfo
}

pkg_postinst() {
	xdg_pkg_postinst
	gnome2_schemas_update
}

pkg_postrm() {
	xdg_pkg_postrm
	gnome2_schemas_update
}

Inherited Eclasses

xdg

Dependencies

DEPEND

	app-text/libspelling
	gui-libs/gtk:4
	gui-libs/libadwaita:1

RDEPEND

	app-text/libspelling
	gui-libs/gtk:4
	gui-libs/libadwaita:1

BDEPEND

	app-alternatives/ninja
	dev-libs/appstream-glib
	dev-libs/gjs
	dev-libs/glib:2=
	dev-util/blueprint-compiler
	dev-util/desktop-file-utils
	sys-devel/gettext
	virtual/pkgconfig

Manifest for 4.3

Type File Size Source URLs
DIST commit-4.3-troll.gh.tar.gz 481568 bytes https://github.com/sonnyp/troll/archive/8b0275948eedec9ed0378f9bdda1aa4aac3062ba.tar.gz
DIST commit-4.3.gh.tar.gz 783634 bytes https://github.com/sonnyp/Commit/archive/v4.3.tar.gz