wok-next view inkscape/receipt @ rev 21604

updated duktape (2.3.0 -> 2.5.0)
author Hans-G?nter Theisgen
date Wed Jun 24 15:30:47 2020 +0100 (2020-06-24)
parents 4e0431198347
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="inkscape"
4 VERSION="0.92.4"
5 CATEGORY="graphics"
6 SHORT_DESC="Professional quality vector graphics software"
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://inkscape.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/xsoft/inkscape.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://gitlab.com/inkscape/inkscape/repository/INKSCAPE_${VERSION//./_}/archive.tar.bz2"
15 BUILD_DEPENDS="aspell-dev boost-dev cmake dbus-dev dbus-glib-dev fontconfig-dev gc-dev
16 gettext-dev glib-dev gnome-vfs-dev gsl-dev gtest gtk2-dev gtkmm-dev
17 gtkspell-dev imagemagick6-dev lcms2-dev libcdr-dev libvisio-dev
18 libwpd-dev libwpg-dev libxslt-dev pango-dev poppler-dev popt-dev
19 potrace-dev"
20 SPLIT="$PACKAGE-examples $PACKAGE-tutorials $PACKAGE"
22 COOKOPTS="!svgz" # don't process svg or they will be broken
24 compile_rules()
25 {
26 mkdir build
27 cd build
28 cmake .. \
29 -DCMAKE_INSTALL_PREFIX=/usr \
30 -DCMAKE_BUILD_TYPE=Release \
31 -DWITH_DBUS=ON &&
32 make &&
33 make install || return 1
35 rm $install/usr/lib/inkscape/lib*_LIB.a
37 # -DCMAKE_BUILD_TYPE=Release \
38 # -DCMAKE_INSTALL_PREFIX:PATH=/usr \
39 # -DINCLUDE_INSTALL_DIR:PATH=/usr/include \
40 # -DLIB_INSTALL_DIR:PATH=/usr/lib \
41 # -DSYSCONF_INSTALL_DIR:PATH=/etc \
42 # -DSHARE_INSTALL_PREFIX:PATH=/usr/share \
43 # -DCMAKE_ENABLE_LCMS=ON \
44 # -DCMAKE_ENABLE_POPPLER_CAIRO=ON \
45 # -DCMAKE_WITH_NLS=ON
46 }
48 genpkg_rules()
49 {
50 case $PACKAGE in
51 *-examples)
52 copy examples/
53 CAT="graphics|examples"
54 ;;
55 *-tutorials)
56 copy tutorials/
57 CAT="graphics|tutorials"
58 ;;
59 inkscape)
60 copy @std @rm
62 DEPENDS="aspell atk atkmm cairomm fontconfig freetype gc
63 gdk-pixbuf glib glibmm gnome-vfs gsl gtk2 gtkmm
64 gtkspell imagemagick6 libcairo libcdr libgiomm
65 libgomp libjpeg-turbo liblcms2 libpng libpoppler
66 librevenge libsigc++ libvisio libwpg libx11 libxml2
67 libxslt pango pangomm perl popt potrace python zlib"
69 TAGS="image vector editor svg"
70 ;;
71 esac
72 }