# Template file for 'gtkhtml'
pkgname=gtkhtml
version=4.6.6
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config intltool"
makedepends="gtk+3-devel>=3.8 enchant-devel ORBit2-devel
libsoup-gnome-devel>=2.40 gsettings-desktop-schemas-devel>=3.8
gnome-icon-theme gsettings-desktop-schemas>=3.6.0 iso-codes"
short_desc="Layout engine written in C using the GTK+ widget toolkit"
maintainer="davehome "
homepage="http://www.gnome.org"
license="GPL-2"
distfiles="${GNOME_SITE}/${pkgname}/4.6/${pkgname}-${version}.tar.xz"
checksum=145d23bbe729ff4ee7e7027bb5ff405b34822271327fdd81fe913134831374cd
libgtkhtml_package() {
short_desc+=" - runtime libraries"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
gtkhtml-devel_package() {
depends="libgtkhtml-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
gtkhtml_package() {
depends="gnome-icon-theme gsettings-desktop-schemas>=3.6.0 iso-codes"
pkg_install() {
vmove usr
}
}