35 lines
898 B
Bash
35 lines
898 B
Bash
# Template file for 'libgdiplus'
|
|
pkgname=libgdiplus
|
|
version=5.6.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--with-cairo=system"
|
|
hostmakedepends="pkg-config automake libtool"
|
|
makedepends="tiff-devel cairo-devel giflib-devel glib-devel libexif-devel
|
|
libpng-devel"
|
|
short_desc="Open Source Implementation of the GDI+ API"
|
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
|
license="LGPL-2.1, MPL-1.1, MIT"
|
|
homepage="http://www.mono-project.com/"
|
|
distfiles="https://github.com/mono/${pkgname}/archive/${version}.tar.gz"
|
|
checksum=deff863023950b1d1de7e47e44fc31c8ba39cfc06334737261965f697b2ad312
|
|
|
|
pre_configure() {
|
|
autoreconf -fiv
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
libgdiplus-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
# the .so symlink is needed at runtime
|
|
vmove "usr/lib/*.a"
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|
|
|