New package: gxml-0.20.3

This commit is contained in:
Đoàn Trần Công Danh 2024-03-09 13:11:23 +07:00
parent 445ec5ea67
commit 5552fdd072
3 changed files with 32 additions and 0 deletions

View File

@ -4135,6 +4135,7 @@ libsyncthingmodel.so.12 syncthingtray-1.4.13_1
libsyncthingconnector.so.12 syncthingtray-1.4.13_1
libglibutil.so.1 libglibutil-1.0.64_1
libgbinder.so.1 libgbinder-1.1.20_1
libgxml-0.20.so.2.0.2 gxml-0.20.3_1
libsunpinyin.so.3 libsunpinyin-3.0.0rc2_1
libtpm2-totp.so.0 libtpm2-totp-0.3.0_1
libmujs.so.1.2.0 mujs-1.2.0_2

1
srcpkgs/gxml-devel Symbolic link
View File

@ -0,0 +1 @@
gxml

30
srcpkgs/gxml/template Normal file
View File

@ -0,0 +1,30 @@
# Template file for 'gxml'
pkgname=gxml
version=0.20.3
revision=1
build_style=meson
build_helper=gir
hostmakedepends="vala pkg-config"
makedepends="libxml2-devel libglib-devel libgee08-devel vala-devel"
short_desc="GObject API for manipulating XML"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://gitlab.gnome.org/GNOME/gxml"
distfiles="https://gitlab.gnome.org/GNOME/gxml/-/archive/${version}/gxml-${version}.tar.gz"
checksum=66d7c761ae2dad14960911708d042382436c6b10f0b68e77d7c536697f663f53
pre_patch() {
sed -i '/^test .*htmlxdocument.*xthtmldoc/d' test/meson.build
}
gxml-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gir-1.0
vmove usr/share/vala
}
}