wok-next annotate libgnomecanvasmm/receipt @ rev 21087
Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 28 05:11:49 2018 +0200 (2018-12-28) |
parents | a3c581bf52b8 |
children |
rev | line source |
---|---|
al@20344 | 1 # SliTaz package receipt v2. |
slaxemulator@13120 | 2 |
slaxemulator@13120 | 3 PACKAGE="libgnomecanvasmm" |
slaxemulator@13120 | 4 VERSION="2.26.0" |
slaxemulator@13120 | 5 CATEGORY="x-window" |
al@20344 | 6 SHORT_DESC="A C++ wrapper for libgnomecanvas" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@14714 | 8 LICENSE="LGPL2.1" |
al@20906 | 9 WEB_SITE="https://www.gtkmm.org/en/" |
al@20344 | 10 |
slaxemulator@13120 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@13120 | 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
slaxemulator@13120 | 13 |
al@20344 | 14 BUILD_DEPENDS="gfortran gtkmm-dev libgnomecanvas-dev" |
al@21020 | 15 SPLIT="$PACKAGE-dev" |
slaxemulator@13120 | 16 |
al@20344 | 17 compile_rules() { |
pascal@14739 | 18 sed -i 's|.*glibmm/propertyproxy.h|#include <gtkmm.h>\n&|' \ |
pascal@14739 | 19 libgnomecanvas/libgnomecanvasmm/properties.h |
pascal@14739 | 20 sed -i 's|gtkmm/main|gtkmm|' \ |
pascal@14739 | 21 demos/canvas.cc \ |
pascal@14739 | 22 libgnomecanvas/libgnomecanvasmm/init.cc \ |
pascal@14739 | 23 examples/canvas_affine/canvas_affine.cc \ |
pascal@14739 | 24 examples/canvas_events/canvas_events.cc |
al@20344 | 25 |
al@20534 | 26 ./configure $CONFIGURE_ARGS && |
al@20534 | 27 fix libtool && |
al@20534 | 28 make && |
al@20534 | 29 make install |
slaxemulator@13120 | 30 } |
slaxemulator@13120 | 31 |
al@20344 | 32 genpkg_rules() { |
al@20344 | 33 case $PACKAGE in |
al@20344 | 34 libgnomecanvasmm) |
al@20344 | 35 copy @std |
al@20749 | 36 DEPENDS="atkmm gdk-pixbuf glib glibmm gtkmm libart_lgpl \ |
al@20749 | 37 libgnomecanvas libsigc++ pangomm" |
al@20344 | 38 ;; |
al@20344 | 39 *-dev) |
al@20344 | 40 copy @dev |
al@20749 | 41 DEPENDS="libgnomecanvasmm gtkmm-dev libgnomecanvas-dev" |
al@20344 | 42 ;; |
al@20344 | 43 esac |
slaxemulator@13120 | 44 } |