void-packages/srcpkgs/gtk+/template

38 lines
1.4 KiB
Plaintext
Raw Normal View History

# Template build file for 'gtk+'.
pkgname=gtk+
version=2.18.5
distfiles="${GNOME_SITE}/gtk+/2.18/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--disable-cups --with-xinput"
short_desc="The GTK+ toolkit (v2)"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=4986365bce2f164edae10be20a4d417eadca9534eedfd9e2176a0c45334b7bf4
long_desc="
GTK+ is a multi-platform toolkit for creating graphical user
interfaces. Offering a complete set of widgets, GTK+ is suitable for
projects ranging from small one-off tools to complete application
suites.
GTK+ has been designed from the ground up to support a range of
languages, not only C/C++. Using GTK+ from languages such as Perl and
Python (especially in combination with the Glade GUI builder) provides
an effective method of rapid application development."
conf_files="/etc/gtk-2.0/im-multipress.conf"
triggers="gtk-pixbuf-loaders gtk-immodules"
subpackages="$pkgname-devel"
Add_dependency run glibc
Add_dependency build pkg-config
Add_dependency build perl
Add_dependency full shared-mime-info
_gtk_deps="atk cairo fontconfig freetype glib jpeg pango libpng tiff"
_gtk_deps="${_gtk_deps} libX11 libXcomposite libXcursor libXrandr libXrender"
_gtk_deps="${_gtk_deps} libXdamage libXext libXfixes libXinerama libXi"
for _dep_ in ${_gtk_deps}; do
Add_dependency run ${_dep_}
Add_dependency build ${_dep_}-devel
done