* update libgsf to 1.14.53-1

This commit is contained in:
Alexander Baldeck 2024-11-05 12:11:59 +01:00
parent 658766a241
commit 7d37d5f7dc
3 changed files with 44 additions and 23 deletions

View File

@ -1,7 +1,7 @@
pkgbase = libgsf
pkgdesc = Extensible I/O abstraction library for dealing with structured file formats
pkgver = 1.14.52
pkgrel = 1.1
pkgver = 1.14.53
pkgrel = 1
url = https://gitlab.gnome.org/GNOME/libgsf
arch = x86_64
arch = powerpc64le
@ -11,16 +11,22 @@ pkgbase = libgsf
license = LGPL-2.1-only
checkdepends = perl-xml-parser
checkdepends = unzip
checkdepends = valgrind
makedepends = autoconf-archive
makedepends = git
makedepends = gobject-introspection
makedepends = gtk-doc
depends = bzip2
depends = gdk-pixbuf2
depends = glib2
depends = glibc
depends = libxml2
provides = libgsf-1.so
source = git+https://gitlab.gnome.org/GNOME/libgsf.git#commit=ea9d8cd1369661bf62d0476474700a9e0887c812
b2sums = SKIP
depends = zlib
source = git+https://gitlab.gnome.org/GNOME/libgsf.git#tag=LIBGSF_1_14_53
b2sums = 57ed38c95814176748f83e22b62e7df1a857cfee3b49465337f121821e5df75602b75e5876dbd08c44bf679ee0c0515c49a63de97492e1df06e3e59e6f3c8b17
pkgname = libgsf
provides = libgsf-1.so
pkgname = libgsf-docs
pkgdesc = Extensible I/O abstraction library for dealing with structured file formats (documentation)
depends =

6
libgsf/.nvchecker.toml Normal file
View File

@ -0,0 +1,6 @@
[libgsf]
source = "git"
git = "https://gitlab.gnome.org/GNOME/libgsf.git"
prefix = "LIBGSF_"
from_pattern = '_'
to_pattern = '.'

View File

@ -3,9 +3,13 @@
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
pkgname=libgsf
pkgver=1.14.52
pkgrel=1.1
pkgbase=libgsf
pkgname=(
libgsf
libgsf-docs
)
pkgver=1.14.53
pkgrel=1
pkgdesc="Extensible I/O abstraction library for dealing with structured file formats"
url="https://gitlab.gnome.org/GNOME/libgsf"
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
@ -13,7 +17,10 @@ license=(LGPL-2.1-only)
depends=(
bzip2
gdk-pixbuf2
glib2
glibc
libxml2
zlib
)
makedepends=(
autoconf-archive
@ -24,17 +31,9 @@ makedepends=(
checkdepends=(
perl-xml-parser
unzip
valgrind
)
provides=(libgsf-1.so)
_commit=ea9d8cd1369661bf62d0476474700a9e0887c812 # tags/LIBGSF_1_14_52^0
source=("git+https://gitlab.gnome.org/GNOME/libgsf.git#commit=$_commit")
b2sums=('SKIP')
pkgver() {
cd libgsf
git describe --tags | sed 's/^LIBGSF_//;s/_/./g;s/[^-]*-g/r&/;s/-/+/g'
}
source=("git+$url.git#tag=LIBGSF_${pkgver//./_}")
b2sums=('57ed38c95814176748f83e22b62e7df1a857cfee3b49465337f121821e5df75602b75e5876dbd08c44bf679ee0c0515c49a63de97492e1df06e3e59e6f3c8b17')
prepare() {
cd libgsf
@ -58,13 +57,23 @@ build() {
}
check() {
cd libgsf
make check
make -C libgsf check
}
package_libgsf() {
cd libgsf
make DESTDIR="$pkgdir" install
provides=(libgsf-1.so)
make -C libgsf DESTDIR="$pkgdir" install
mkdir -p doc/usr/share
mv {"$pkgdir",doc}/usr/share/gtk-doc
}
package_libgsf-docs() {
pkgdesc+=" (documentation)"
depends=()
mv doc/* "$pkgdir"
}
# vim:set sw=2 sts=-1 et: