wok-next view libgnomecanvasmm/receipt @ rev 20690

add missing SHA256sums
author Erkan Yilmaz <erkan@slitaz.org>
date Mon May 21 19:36:47 2018 +0000 (2018-05-21)
parents 16a417e1e89d
children 342b30daff76
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 $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="atk atkmm cairo cairomm fontconfig freetype gdk-pixbuf \
37 glib glibmm gtk+ gtkmm libart_lgpl libgiomm libgnomecanvas \
38 libsigc++ pango pangomm"
39 ;;
40 *-dev)
41 copy @dev
42 DEPENDS="libgnomecanvasmm atk-dev atkmm-dev bzip2-dev cairo-dev \
43 cairomm-dev fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev \
44 glibmm-dev gtk+-dev gtkmm-dev harfbuzz-dev libart_lgpl-dev \
45 libffi-dev libgiomm-dev libgnomecanvas-dev libpng16-dev \
46 libsigc++-dev libxml2-dev pango-dev pangomm-dev pcre-dev \
47 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
48 xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
49 xorg-libXinerama-dev xorg-libXrender-dev xorg-libxcb-dev \
50 xorg-pixman-dev xz-dev zlib-dev"
51 ;;
52 esac
53 }