# Template file for 'gnustep-gui'
pkgname=gnustep-gui
version=0.29.0
revision=2
build_style=gnu-configure
hostmakedepends="gnustep-make pkg-config tar"
makedepends="gnustep-base-devel libjpeg-turbo-devel tiff-devel libpng-devel
 giflib-devel"
short_desc="Graphical user interface class library for GNUstep"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-2.0-or-later, GPL-3.0-or-later"
homepage="http://www.gnustep.org/"
distfiles="http://ftp.gnustep.org/pub/gnustep/core/gnustep-gui-${version}.tar.gz"
checksum=7bf12b29b12a2886003d3b251e8076ad284f41780c7322531676fcd54e1d6df5
replaces="gnustep-gui-data>=0"

nocross="objc doesn't get cross build at present within gcc"

gnustep-gui-devel_package() {
	short_desc+=" - developement files"
	depends="${hostmakedepends} ${sourcepkg}>=${version}"
	pkg_install() {
		vmove usr/include
		vmove usr/share/GNUstep/Makefiles
		vmove "usr/lib/*.so"
	}
}
