summaryrefslogtreecommitdiff
path: root/user/libgsf
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-08 04:43:43 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-08 04:43:43 -0500
commit283c483f6c1a7443fc44e631365870c943fe7502 (patch)
tree680fae46db44b8e0a74c62ec826c3506918796fd /user/libgsf
parentfd5a6bc3c7ef58993ea72a504e77aac8192180c5 (diff)
downloadpackages-283c483f6c1a7443fc44e631365870c943fe7502.tar.gz
packages-283c483f6c1a7443fc44e631365870c943fe7502.tar.bz2
packages-283c483f6c1a7443fc44e631365870c943fe7502.tar.xz
packages-283c483f6c1a7443fc44e631365870c943fe7502.zip
user/libgsf: pull in, bump, fix
Diffstat (limited to 'user/libgsf')
-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"