wok-next view inkscape/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents a244e109372e
children d5aab818505e
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/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="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 gtk2-dev gtkspell-dev boost-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="$PACKAGE-examples $PACKAGE-tutorials $PACKAGE"
22 compile_rules() {
23 mkdir 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 gtk2 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 }