void-packages/srcpkgs/gtkmm/template

41 lines
1.3 KiB
Plaintext

# Template build file for 'gtkmm'.
pkgname=gtkmm
version=3.10.0
revision=1
build_style=gnu-configure
configure_args="--disable-documentation"
hostmakedepends="pkg-config"
makedepends="gtk+3-devel>=3.10 glibmm-devel>=2.37 atkmm-devel pangomm-devel"
short_desc="C++ bindings for The GTK+ toolkit (v2)"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://gtkmm.sourceforge.net/"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/gtkmm/${version%.*}/gtkmm-$version.tar.xz"
checksum=5e45fed4a7cff1baa72d1ef67e0d9883063d3a575cb53190e7ecf27047d241f8
long_desc="
gtkmm (previously known as Gtk--) is the official C++ interface for the
popular GUI library GTK+. Highlights include typesafe callbacks, widgets
extensible via inheritance and a comprehensive set of widget classes that
can be freely combined to quickly create complex user interfaces. Here's
an overview, with documentation and status. gtkmm is free software
distributed under the GNU Library General Public License (LGPL)."
gtkmm-devel_package() {
depends="gtk+3-devel>=3.10 glibmm-devel>=2.37 atkmm-devel
pangomm-devel cairomm-devel gtkmm>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/g[dt]k*"
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}
gtkmm_package() {
depends="gtk+3>=3.10"
pkg_install() {
vmove all
}
}