2011-07-04 03:54:15 +00:00
|
|
|
# Template build file for 'gtkmm'.
|
|
|
|
pkgname=gtkmm2
|
2013-05-13 18:20:03 +00:00
|
|
|
version=2.24.3
|
|
|
|
revision=1
|
2012-10-10 13:00:58 +00:00
|
|
|
wrksrc=gtkmm-${version}
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-10-10 13:00:58 +00:00
|
|
|
configure_args="--disable-static --disable-documentation"
|
2013-05-13 18:20:03 +00:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="gtk+-devel libsigc++-devel atkmm-devel pangomm-devel libXcursor-devel"
|
2011-07-04 03:54:15 +00:00
|
|
|
short_desc="C++ bindings for The GTK+ toolkit (v2)"
|
2013-03-31 07:51:13 +00:00
|
|
|
homepage="http://www.gtkmm.org/"
|
|
|
|
license="LGPL-2.1"
|
2011-07-04 03:54:15 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-05-13 18:20:03 +00:00
|
|
|
distfiles="${GNOME_SITE}/gtkmm/2.24/gtkmm-$version.tar.xz"
|
|
|
|
checksum=c564a438677174b97d69dd70467cb03c933481006398dc9377417aa6abe02a39
|
2011-07-04 03:54:15 +00:00
|
|
|
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
|
|
|
|
}
|
2013-04-12 13:11:12 +00:00
|
|
|
|
|
|
|
gtkmm2-devel_package() {
|
|
|
|
depends="glibmm-devel atkmm-devel pangomm-devel gtk+-devel gtkmm2-${version}_${revision}"
|
2013-05-13 18:20:03 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 13:11:12 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/g*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
gtkmm2_package() {
|
|
|
|
pkg_install() {
|
2013-05-13 18:20:03 +00:00
|
|
|
vmove all
|
2013-04-12 13:11:12 +00:00
|
|
|
}
|
|
|
|
}
|