mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-03 07:42:10 +01:00
47 lines
1.1 KiB
Plaintext
47 lines
1.1 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=libgsf
|
|
pkgver=1.14.51
|
|
pkgrel=0
|
|
pkgdesc="Utility library for reading and writing structured file formats"
|
|
url="https://gitlab.gnome.org/GNOME/libgsf"
|
|
arch="all"
|
|
license="LGPL-2.1-only"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
|
depends_dev="bzip2-dev"
|
|
makedepends="libxml2-dev glib-dev bzip2-dev intltool python3 zlib-dev
|
|
gobject-introspection-dev"
|
|
source="https://download.gnome.org/sources/libgsf/1.14/libgsf-$pkgver.tar.xz"
|
|
|
|
# secfixes:
|
|
# 1.14.41-r0:
|
|
# - CVE-2016-9888
|
|
|
|
build() {
|
|
sed -i -e 's/gsf-gnome//' -e 's/thumbnailer//' Makefile.*
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--mandir=/usr/share/man \
|
|
--disable-static \
|
|
--without-gnome-vfs \
|
|
--without-bonobo \
|
|
--enable-introspection
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
rm -f "$pkgdir"/usr/share/man/man1/gsf-office-thumbnailer.1
|
|
}
|
|
|
|
sha512sums="
|
|
b7c02e10762c93909a1aacb86f30b266ed8b0eeefe73ede5acb8ac0c1094a1e4be2b7bd3a59ebfc03180f8f72f2cc602e80c871a1b8a28f3fccfdd403ad24da7 libgsf-1.14.51.tar.xz
|
|
"
|