wok-next view libgnomecanvasmm/receipt @ rev 20402
Up seed (3.8.1) use webkitgtk instead of libwebkit; add cogl for clutter; up clutter (1.26.2) using mesa17 instead of mesa; up gnome-games using mesa17 instead of mix 'mesa & mesa17'
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Dec 05 17:49:11 2017 +0200 (2017-12-05) |
parents | 140ee6de0635 |
children | 757d032c55c7 |
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="slaxemulator@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://gtkmm.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="gfortran gtkmm-dev libgnomecanvas-dev"
15 SPLIT="libgnomecanvasmm-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 \
27 --sysconfdir=/etc \
28 --localstatedir=/var \
29 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 libgnomecanvasmm)
36 copy @std
37 DEPENDS="atk atkmm cairo cairomm fontconfig freetype gdk-pixbuf \
38 glib glibmm gtk+ gtkmm libart_lgpl libgiomm libgnomecanvas \
39 libsigc++ pango pangomm"
40 ;;
41 *-dev)
42 copy @dev
43 DEPENDS="libgnomecanvasmm atk-dev atkmm-dev bzip2-dev cairo-dev \
44 cairomm-dev fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev \
45 glibmm-dev gtk+-dev gtkmm-dev harfbuzz-dev libart_lgpl-dev \
46 libffi-dev libgiomm-dev libgnomecanvas-dev libpng16-dev \
47 libsigc++-dev libxml2-dev pango-dev pangomm-dev pcre-dev \
48 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
49 xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
50 xorg-libXinerama-dev xorg-libXrender-dev xorg-libxcb-dev \
51 xorg-pixman-dev xz-dev zlib-dev"
52 ;;
53 esac
54 }