2011-07-04 05:54:15 +02:00
|
|
|
# Template build file for 'gtkmm'.
|
|
|
|
pkgname=gtkmm2
|
2013-06-29 06:44:45 +02:00
|
|
|
version=2.24.4
|
2015-05-18 18:45:57 +02:00
|
|
|
revision=3
|
2012-10-10 15:00:58 +02:00
|
|
|
wrksrc=gtkmm-${version}
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2012-10-10 15:00:58 +02:00
|
|
|
configure_args="--disable-static --disable-documentation"
|
2015-05-18 19:22:13 +02:00
|
|
|
hostmakedepends="mm-common libtool pkg-config"
|
2013-05-13 20:20:03 +02:00
|
|
|
makedepends="gtk+-devel libsigc++-devel atkmm-devel pangomm-devel libXcursor-devel"
|
2011-07-04 05:54:15 +02:00
|
|
|
short_desc="C++ bindings for The GTK+ toolkit (v2)"
|
2013-03-31 09:51:13 +02:00
|
|
|
homepage="http://www.gtkmm.org/"
|
|
|
|
license="LGPL-2.1"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2013-05-13 20:20:03 +02:00
|
|
|
distfiles="${GNOME_SITE}/gtkmm/2.24/gtkmm-$version.tar.xz"
|
2013-06-29 06:44:45 +02:00
|
|
|
checksum=443a2ff3fcb42a915609f1779000390c640a6d7fd19ad8816e6161053696f5ee
|
2011-07-04 05:54:15 +02:00
|
|
|
|
2015-05-18 19:11:00 +02:00
|
|
|
pre_configure() {
|
2015-05-18 19:22:13 +02:00
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
2015-05-18 19:11:00 +02:00
|
|
|
}
|
2011-07-04 05:54:15 +02:00
|
|
|
pre_install() {
|
|
|
|
sed -i -e 's/^doc_subdirs/#doc_subdirs/' Makefile
|
|
|
|
}
|
2013-04-12 15:11:12 +02:00
|
|
|
|
|
|
|
gtkmm2-devel_package() {
|
|
|
|
depends="glibmm-devel atkmm-devel pangomm-devel gtk+-devel gtkmm2-${version}_${revision}"
|
2013-05-13 20:20:03 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 15:11:12 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/g*"
|
2013-06-29 06:44:45 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 15:11:12 +02:00
|
|
|
}
|
|
|
|
}
|