wok-next view inkscape/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 | cb984de687da |
children | a244e109372e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="inkscape"
4 VERSION="0.92.2"
5 CATEGORY="graphics"
6 SHORT_DESC="Professional quality vector graphics software"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://inkscape.org/en/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/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="cmake gtest pango-dev fontconfig-dev glib-dev gsl-dev \
16 gnome-vfs-dev lcms2-dev gc-dev poppler-dev libwpg-dev libvisio-dev libcdr-dev \
17 libwpd-dev popt-dev potrace-dev gtkmm-dev gtk+-dev gtkspell-dev libboost-dev \
18 aspell-dev libxslt-dev imagemagick6-dev gettext dbus-dev"
19 COOKOPTS="!svgz" # don't process svg or they will be broken
20 SPLIT="inkscape-examples inkscape-tutorials inkscape"
22 compile_rules() {
23 mkdir -p build
24 cd build
25 cmake \
26 -DCMAKE_INSTALL_PREFIX=/usr \
27 -DCMAKE_BUILD_TYPE=Release \
28 -DWITH_DBUS=ON \
29 .. &&
30 make &&
31 make install &&
32 rm $install/usr/lib/inkscape/lib*_LIB.a
34 # -DCMAKE_BUILD_TYPE=Release \
35 # -DCMAKE_INSTALL_PREFIX:PATH=/usr \
36 # -DINCLUDE_INSTALL_DIR:PATH=/usr/include \
37 # -DLIB_INSTALL_DIR:PATH=/usr/lib \
38 # -DSYSCONF_INSTALL_DIR:PATH=/etc \
39 # -DSHARE_INSTALL_PREFIX:PATH=/usr/share \
40 # -DCMAKE_ENABLE_LCMS=ON \
41 # -DCMAKE_ENABLE_POPPLER_CAIRO=ON \
42 # -DCMAKE_WITH_NLS=ON
43 }
45 genpkg_rules() {
46 case $PACKAGE in
47 *-examples)
48 copy examples/
49 CAT="graphics|examples"
50 ;;
51 *-tutorials)
52 copy tutorials/
53 CAT="graphics|tutorials"
54 ;;
55 inkscape)
56 copy @std @rm
57 DEPENDS="aspell atk atkmm cairo cairomm fontconfig freetype gc \
58 gdk-pixbuf glib glibmm gnome-vfs gsl gtk+ gtkmm gtkspell \
59 imagemagick6 lcms2 libcdr libgiomm libgomp libjpeg-turbo libpng16 \
60 librevenge libsigc++ libvisio libwpg libxml2 libxslt pango pangomm \
61 perl poppler popt potrace python xorg-libX11 zlib"
62 TAGS="image vector editor svg"
63 ;;
64 esac
65 }