Merge updates from master

This commit is contained in:
Repository mirror & CI
2024-03-22 00:18:32 +00:00
5 changed files with 161 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST libspelling-0.2.0.tar.bz2 45591 BLAKE2B 5fefe443d9f492d1d84e41eaba74065eab8a0b1d62b5bb292f221b4af02832dc0114d801cd08e6b9ef3c905f27da524f3331b64e7726e8138e665dfd512ac7ab SHA512 3eef6fe3d0ed32d2c7a8da7eab337b4553d5f4dd0a3c3b24dcf3036d4c1218411122bfec3842160581a669e049bee7f3e3c1b86a03cc1de67ae30bb9cab0584f
DIST libspelling-0.2.1.tar.bz2 45653 BLAKE2B a0efe16246bf215ee974fd7f5101791b85f7ed76a29259bc158a22271771a77ecd3e83ca460a38fbf86f8057cb7f3826f71061de4fbee546a001b1a0b0fedd34 SHA512 430dc8eddfcb86c9a2d5a225cf43e56bff8652013fe3eededf3bf97323736afcbeaa75004f94d79f745173bb67947ac14274ea7c72d2584c945302fc97fe899f

View File

@@ -0,0 +1,59 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson vala
DESCRIPTION="A GNOME library for spellchecking"
HOMEPAGE="https://gitlab.gnome.org/chergert/libspelling"
SRC_URI="https://gitlab.gnome.org/chergert/${PN}/-/archive/${PV}/${P}.tar.bz2"
LICENSE="LGPL-2.1+"
SLOT="1"
KEYWORDS="~amd64"
IUSE="+enchant gtk-doc vala"
RDEPEND="
dev-libs/glib:2
>=gui-libs/gtk-4.8:4
>=gui-libs/gtksourceview-5.6:5
enchant? (
app-text/enchant:2
dev-libs/icu:=
)
"
DEPEND="${RDEPEND}
vala? (
$(vala_depend)
>=gui-libs/gtksourceview-5.6:5[vala]
)
"
BDEPEND="
dev-libs/gobject-introspection
virtual/pkgconfig
gtk-doc? ( dev-util/gi-docgen )
"
src_prepare() {
use vala && vala_setup
default
}
src_configure() {
local emesonargs=(
$(meson_feature enchant)
$(meson_use gtk-doc docs)
$(meson_use vala vapi)
)
meson_src_configure
}
src_install() {
meson_src_install
if use gtk-doc; then
mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die
mv "${ED}"/usr/share/doc/${PN}-${SLOT} "${ED}"/usr/share/gtk-doc/html/ || die
fi
}

View File

@@ -0,0 +1,2 @@
DIST commit-4.1-troll.gh.tar.gz 474880 BLAKE2B 9ebde0b0d32dd0591f1940add827776938d42121b84b391c478ad7baf82580eec12b084c89bf6cebbf34759aea5b6bdc7ced518fa56ea9a9def7bcc5b5a2c734 SHA512 140eeae1458aeed3ce294fb89c4c1ae84a947f3abf6992d1bcaca23e78595f5f41700934889914c1f152fc0d31543205f62097ee000c7f285edf853be79beb13
DIST commit-4.1.gh.tar.gz 598633 BLAKE2B 8381d385ca62f351cc61e405e115f81311eb6509ab32f75e42e066ed3ab24156b8f6036c94204c5137ab720e976099a6f80a9b1c21145126857076b520367330 SHA512 0208cbea33d19913ca928e72397ffb5cb40456ab1154f0ccd9a271758eb77491f7197a39c9593c5daad207e35f16de8ac05da8c85aced790a4152564f9e77f76

View File

@@ -0,0 +1,62 @@
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gnome2-utils meson xdg
TROLL_COMMIT="e7933a083681d23fce0078b0246fcff244af5ac3"
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/c/C}-${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}"
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
xdg_icon_cache_update
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
xdg_icon_cache_update
}

View File

@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Julien Roy</name>
<email>julien@jroy.ca</email>
</maintainer>
<longdescription>
Commit is an editor that helps you write better Git and Mercurial commit messages.
After installing make sure to launch the application and follow the instructions.
Commit will pop up automatically when you make a commit in one of your projects. To save your commit message, press the Commit button or the Ctrl+Return shortcut. To abort and dismiss Commit, press the Abort button or the Escape key.
Features:
Highlights overflow of the commit title
Smart body wrapping
Inserts a blank line between title and body
Spell checking
Comments are read-only and excluded from "Select All"
Displays project folder and branch in window header
Dark mode support
Keyboard navigation and shortcuts
Undo/Redo support
Emoji picker
Supports git commit, merge, tag --annotate, add --patch, rebase --interactive
Supports Mercurial commit
Auto capitalize the commit title
Welcome window with settings and instructions
Highlight syntax for Git, Mercurial and diffs
</longdescription>
<upstream>
<bugs-to>https://github.com/sonnyp/Commit/issues</bugs-to>
<remote-id type="github">sonnyp/Commit</remote-id>
</upstream>
</pkgmetadata>