enchant2: update to 2.8.2.

split respective bindings into separate subpackages
This commit is contained in:
icp 2024-11-05 12:42:00 +05:30
parent 028059e246
commit 29abc85fba
No known key found for this signature in database
6 changed files with 51 additions and 13 deletions

1
srcpkgs/enchant2-aspell Symbolic link
View file

@ -0,0 +1 @@
enchant2

1
srcpkgs/enchant2-hunspell Symbolic link
View file

@ -0,0 +1 @@
enchant2

1
srcpkgs/enchant2-nuspell Symbolic link
View file

@ -0,0 +1 @@
enchant2

1
srcpkgs/enchant2-voikko Symbolic link
View file

@ -0,0 +1 @@
enchant2

View file

@ -1,31 +1,64 @@
# Template file for 'enchant2'
pkgname=enchant2
version=2.6.4
version=2.8.2
revision=1
build_style=gnu-configure
# tests need --enable-relocatable
configure_args="--enable-relocatable"
configure_args="--disable-static"
hostmakedepends="pkg-config groff"
makedepends="libglib-devel hunspell-devel aspell-devel libvoikko-devel
libnuspell-devel icu-devel"
checkdepends="unittest-cpp"
makedepends="libglib-devel hunspell-devel aspell-devel libnuspell-devel libvoikko-devel"
short_desc="Generic spell checking library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://rrthomas.github.io/enchant/"
changelog="https://raw.githubusercontent.com/rrthomas/enchant/master/NEWS"
changelog="https://raw.githubusercontent.com/rrthomas/enchant/refs/heads/master/NEWS"
distfiles="https://github.com/rrthomas/enchant/releases/download/v${version}/enchant-${version}.tar.gz"
checksum=833b4d5600dbe9ac867e543aac6a7a40ad145351495ca41223d4499d3ddbbd2c
checksum=8f19535adb5577b83b00e02f330fe9b9eb40dd21f19e2899636fc4d3a7696375
make_check=no # tests broken
enchant2-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
libenchant2_package() {
depends="libglib-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/enchant-2/*.a"
vmove "usr/lib/*.so"
vmove "usr/lib/libenchant-2.*"
vmove usr/lib/pkgconfig
}
}
enchant2-hunspell_package() {
depends="libenchant2>=${version}_${revision} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - hunspell provider"
pkg_install() {
vmove "usr/lib/enchant-2/enchant_hunspell.so"
}
}
enchant2-aspell_package() {
depends="libenchant2>=${version}_${revision} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - aspell provider"
pkg_install() {
vmove "usr/lib/enchant-2/enchant_aspell.so"
}
}
enchant2-nuspell_package() {
depends="libenchant2>=${version}_${revision} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - nuspell provider"
pkg_install() {
vmove "usr/lib/enchant-2/enchant_nuspell.so"
}
}
enchant2-voikko_package() {
depends="libenchant2>=${version}_${revision} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - voikko provider"
pkg_install() {
vmove "usr/lib/enchant-2/enchant_voikko.so"
}
}
enchant2-devel_package() {
depends="libenchant2>=${version}_${revision} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - transitional meta package"
build_style=meta
}

1
srcpkgs/libenchant2 Symbolic link
View file

@ -0,0 +1 @@
enchant2