Upstreamed
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
DIST libspelling-0.4.8.tar.bz2 71982 BLAKE2B 9a1cfb2e56c1fecab12cafc337bf0e60e3729cb370e2238bb98506d23c8abeb0f3ed54c9c00fc3bee8956385c5dfc272dfb1512ae0076ca88f740f5d65038639 SHA512 bcdea4333232ff01aefd53f7f4d497dcbbed6f7564cd6a50549324ef028c6d996b021ad53d10f40908d71c922244bb4f8a9d99010855ebc94b317c669df4053c
|
|
||||||
@@ -1,60 +0,0 @@
|
|||||||
# Copyright 2024-2025 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/GNOME/libspelling"
|
|
||||||
SRC_URI="https://gitlab.gnome.org/GNOME/${PN}/-/archive/${PV}/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1+"
|
|
||||||
SLOT="1"
|
|
||||||
KEYWORDS="~amd64 ~loong ~ppc64 ~riscv ~x86 ~arm ~arm64"
|
|
||||||
IUSE="gtk-doc sysprof vala"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-libs/glib:2
|
|
||||||
>=gui-libs/gtk-4.15.5:4
|
|
||||||
>=gui-libs/gtksourceview-5.10.0:5
|
|
||||||
app-text/enchant:2
|
|
||||||
dev-libs/icu:=
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
sysprof? ( dev-util/sysprof-capture:4 )
|
|
||||||
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=(
|
|
||||||
-Denchant=enabled
|
|
||||||
-Dinstall-static=false
|
|
||||||
$(meson_use gtk-doc docs)
|
|
||||||
$(meson_use sysprof)
|
|
||||||
$(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
|
|
||||||
}
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>cyber+gentoo@sysrq.in</email>
|
|
||||||
<name>Anna</name>
|
|
||||||
</maintainer>
|
|
||||||
<upstream>
|
|
||||||
<doc>https://chergert.pages.gitlab.gnome.org/libspelling/libspelling-1/</doc>
|
|
||||||
<remote-id type="gnome-gitlab">chergert/libspelling</remote-id>
|
|
||||||
</upstream>
|
|
||||||
<use>
|
|
||||||
<flag name="enchant">Enable spellchecking using <pkg>app-text/enchant</pkg></flag>
|
|
||||||
</use>
|
|
||||||
</pkgmetadata>
|
|
||||||
Reference in New Issue
Block a user