38 lines
1.0 KiB
Bash
38 lines
1.0 KiB
Bash
# Template file for 'gtkhtml'
|
|
pkgname=gtkhtml
|
|
version=4.10.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
make_build_args="V=1"
|
|
hostmakedepends="pkg-config intltool"
|
|
makedepends="gtk+3-devel enchant-devel ORBit2-devel
|
|
libsoup-gnome-devel gsettings-desktop-schemas-devel
|
|
gsettings-desktop-schemas iso-codes"
|
|
depends="gsettings-desktop-schemas iso-codes"
|
|
short_desc="Layout engine written in C using the GTK+ widget toolkit"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
homepage="http://www.gnome.org"
|
|
license="GPL-2"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=ca3b6424fb2c7ac5d9cb8fdafb69318fa2e825c9cf6ed17d1e38d9b29e5606c3
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" glib-devel"
|
|
fi
|
|
|
|
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"
|
|
}
|
|
}
|