2013-10-28 20:52:55 +01:00
|
|
|
# Template file for 'libgdiplus'
|
|
|
|
pkgname=libgdiplus
|
|
|
|
version=2.10.9
|
2014-10-03 20:21:44 +02:00
|
|
|
revision=4
|
2013-10-28 20:52:55 +01:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--with-cairo=system"
|
|
|
|
hostmakedepends="pkg-config"
|
2014-06-08 19:01:23 +02:00
|
|
|
makedepends="tiff-devel cairo-devel giflib-devel glib-devel libexif-devel libpng-devel"
|
2013-10-28 20:52:55 +01:00
|
|
|
patch_args="-Np1"
|
|
|
|
short_desc="An Open Source Implementation of the GDI+ API"
|
2014-06-08 11:52:36 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-10-28 20:52:55 +01:00
|
|
|
homepage="http://www.go-mono.org"
|
|
|
|
license="LGPL-2, MPL"
|
|
|
|
distfiles="http://download.mono-project.com/sources/${pkgname}/$pkgname-$version.tar.bz2"
|
|
|
|
checksum=6ddeb6c327bada7cb6e06d1a20714f526a0c69520dfd42c12ddd032c3c5d964e
|
|
|
|
|
2014-10-03 22:51:46 +02:00
|
|
|
pre_configure() {
|
|
|
|
# make it build with giflib-5.1.0
|
|
|
|
# see http://wiki.linuxfromscratch.org/blfs/ticket/5076#comment:2
|
|
|
|
sed -i "/[DE]GifCloseFile/s:gif\|fp:&, NULL:g" src/gifcodec.c
|
|
|
|
}
|
|
|
|
|
2013-10-28 20:52:55 +01:00
|
|
|
libgdiplus-devel_package() {
|
|
|
|
short_desc+=" - Development files"
|
|
|
|
depends="libgdiplus>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
2013-10-28 21:44:44 +01:00
|
|
|
# the .so symlink is needed at runtime
|
2013-10-28 20:52:55 +01:00
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|