9715e63dc5
Adding just automake was not sufficient because the shipped configure script expects aclocal-1.15. Add libtool and gettext-devel to hostmakedepends and run autoreconf.
32 lines
963 B
Bash
32 lines
963 B
Bash
# Template file for 'libgsf'
|
|
pkgname=libgsf
|
|
version=1.14.47
|
|
revision=1
|
|
build_style=gnu-configure
|
|
build_helper="gir"
|
|
configure_args="--disable-static --enable-introspection"
|
|
hostmakedepends="automake libtool gettext-devel glib-devel intltool pkg-config"
|
|
makedepends="gdk-pixbuf-devel libxml2-devel"
|
|
checkdepends="perl-XML-Parser unzip"
|
|
short_desc="Structured File Library"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
|
homepage="https://www.gnome.org/"
|
|
distfiles="${GNOME_SITE}/libgsf/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=d188ebd3787b5375a8fd38ee6f761a2007de5e98fa0cf5623f271daa67ba774d
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
libgsf-devel_package() {
|
|
depends="libglib-devel libxml2-devel ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/*.so
|
|
vmove usr/share/gtk-doc
|
|
vmove usr/share/gir-1.0
|
|
}
|
|
}
|