34 lines
1 KiB
Bash
34 lines
1 KiB
Bash
# Template file for 'libgxps'
|
|
pkgname=libgxps
|
|
version=0.2.5
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static $(vopt_enable gir introspection)"
|
|
hostmakedepends="pkg-config $(vopt_if gir gobject-introspection)"
|
|
makedepends="cairo-devel libglib-devel libjpeg-turbo-devel libpng-devel
|
|
tiff-devel lcms2-devel libarchive-devel freetype-devel"
|
|
short_desc="GObject base library for XPS documents"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="http://live.gnome.org/libgxps"
|
|
distfiles="${GNOME_SITE}/${pkgname}/0.2/${pkgname}-${version}.tar.xz"
|
|
checksum=3e7594c5c9b077171ec9ccd3ff2b4f4c4b29884d26d4f35e740c8887b40199a0
|
|
|
|
# Package build options
|
|
build_options="gir"
|
|
|
|
# Disable gir for cross builds.
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="gir"
|
|
fi
|
|
|
|
libgxps-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/share
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/*.so
|
|
}
|
|
}
|