void-packages/srcpkgs/gtkmm2/template

40 lines
1.4 KiB
Text

# Template build file for 'gtkmm'.
pkgname=gtkmm2
version=2.24.4
revision=1
wrksrc=gtkmm-${version}
build_style=gnu-configure
configure_args="--disable-static --disable-documentation"
hostmakedepends="pkg-config"
makedepends="gtk+-devel libsigc++-devel atkmm-devel pangomm-devel libXcursor-devel"
short_desc="C++ bindings for The GTK+ toolkit (v2)"
homepage="http://www.gtkmm.org/"
license="LGPL-2.1"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${GNOME_SITE}/gtkmm/2.24/gtkmm-$version.tar.xz"
checksum=443a2ff3fcb42a915609f1779000390c640a6d7fd19ad8816e6161053696f5ee
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).
Aside from the C++ interface to Gtk 2.x, this package also provides
bindings for the ATK library."
pre_install() {
sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
}
gtkmm2-devel_package() {
depends="glibmm-devel atkmm-devel pangomm-devel gtk+-devel gtkmm2-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/g*"
vmove "usr/lib/*.so"
}
}