summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/libgsf/APKBUILD48
1 files changed, 48 insertions, 0 deletions
diff --git a/user/libgsf/APKBUILD b/user/libgsf/APKBUILD
new file mode 100644
index 000000000..7d79b4ac6
--- /dev/null
+++ b/user/libgsf/APKBUILD
@@ -0,0 +1,48 @@
+# Maintainer:
+pkgname=libgsf
+pkgver=1.14.43
+pkgrel=0
+pkgdesc="Library for manipulating structured files"
+url="https://www.gnome.org/"
+arch="all"
+license="LGPL-2.1-only"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+depends=
+depends_dev="bzip2-dev"
+makedepends="libxml2-dev glib-dev bzip2-dev intltool python3 zlib-dev
+ gobject-introspection-dev"
+source="https://download.gnome.org/sources/$pkgname/1.14/$pkgname-$pkgver.tar.xz"
+
+# secfixes:
+# 1.14.41-r0:
+# - CVE-2016-9888
+
+build() {
+ cd "$builddir"
+ 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() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+ rm -f "$pkgdir"/usr/share/man/man1/gsf-office-thumbnailer.1
+}
+
+sha512sums="bb487de9358c057fc73f3414c9515726315be9b6d78456253daaca1cbd58281de8766e0b72914532d63fab04d3ae2cf90f711f436c7b4f70620d77e8a7802ac9 libgsf-1.14.43.tar.xz"