# Template file for 'gnustep-gui'
pkgname=gnustep-gui
version=0.30.0
revision=1
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="https://github.com/gnustep/libs-gui/releases/download/gui-${version//./_}/gnustep-gui-${version}.tar.gz"
checksum=469dcaa54ed05b2520a704c30c0761a75b3ade8428e2e64645fb7b38a15c3cc3
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"
	}
}
