wok-next view libgnomecanvasmm/receipt @ rev 21540
updated cantarell-fonts (0.111 -> 0.201)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jun 21 16:26:44 2020 +0100 (2020-06-21) |
parents | a3c581bf52b8 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libgnomecanvasmm"
4 VERSION="2.26.0"
5 CATEGORY="x-window"
6 SHORT_DESC="A C++ wrapper for libgnomecanvas"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://www.gtkmm.org/en/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="gfortran gtkmm-dev libgnomecanvas-dev"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 sed -i 's|.*glibmm/propertyproxy.h|#include <gtkmm.h>\n&|' \
19 libgnomecanvas/libgnomecanvasmm/properties.h
20 sed -i 's|gtkmm/main|gtkmm|' \
21 demos/canvas.cc \
22 libgnomecanvas/libgnomecanvasmm/init.cc \
23 examples/canvas_affine/canvas_affine.cc \
24 examples/canvas_events/canvas_events.cc
26 ./configure $CONFIGURE_ARGS &&
27 fix libtool &&
28 make &&
29 make install
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 libgnomecanvasmm)
35 copy @std
36 DEPENDS="atkmm gdk-pixbuf glib glibmm gtkmm libart_lgpl \
37 libgnomecanvas libsigc++ pangomm"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="libgnomecanvasmm gtkmm-dev libgnomecanvas-dev"
42 ;;
43 esac
44 }