void-packages/srcpkgs/gtk+3/template

60 lines
1.8 KiB
Text

# Template build file for 'gtk+3'.
pkgname=gtk+3
version=3.8.0
revision=2
wrksrc="gtk+-${version}"
build_style=gnu-configure
configure_args="--enable-cups --disable-schemas-compile
--enable-gtk2-dependency --enable-colord --enable-x11-backend
--enable-broadway-backend"
short_desc="The GTK+ toolkit (v3)"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gtk.org/"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/gtk+/3.8/gtk+-${version}.tar.xz"
checksum=db1345d89d6b5f5bad411b4b2a3b1a18a2a8f98d2ab1b40d43a0197a6e6c252e
hostmakedepends="pkg-config"
makedepends="libXcursor-devel libXdamage-devel libXext-devel libXinerama-devel
libXi-devel libXrandr-devel libXcomposite-devel glib-devel>=2.36.0
atk-devel>=2.8.0 at-spi2-atk-devel>=2.6.0_2 libpng-devel fontconfig-devel
cairo-devel pango-devel>=1.29.3 gdk-pixbuf-devel>=2.28 gtk+-devel
colord-devel>=0.1.23_3 gobject-introspection cups-devel"
post_install() {
rm -f ${DESTDIR}/usr/share/man/man1/gtk-update-icon-cache.1
}
gtk+3-devel_package() {
depends="glib-devel>=2.34.0 atk-devel>=2.6.0 cairo-devel gdk-pixbuf-devel
pango-devel at-spi2-atk-devel>=2.6.0 libXcomposite-devel libXcursor-devel
libXrandr-devel libXi-devel libXinerama-devel gtk+3-${version}_${revision}"
short_desc="${short_desc} - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/gir-1.0
vmove usr/share/gtk-doc
vmove usr/share/aclocal
}
}
gtk+3-demo_package() {
short_desc="${short_desc} - demonstration application"
pkg_install() {
vmove usr/bin/gtk3-demo
vmove usr/bin/gtk3-widget-factory
vmove usr/bin/gtk3-demo-application
vmove usr/share/gtk-3.0
}
}
gtk+3_package() {
triggers="gtk3-immodules"
conf_files="/etc/gtk-3.0/im-multipress.conf"
depends="gtk-update-icon-cache shared-mime-info glib>=2.36 atk>=2.8.0 dbus-x11"
pkg_install() {
vmove usr
}
}