wok-next view inkscape/receipt @ rev 21078

Update png and Xorg in dependencies.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Dec 22 04:52:35 2018 +0200 (2018-12-22)
parents d5aab818505e
children 6f5739796e82
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="devel@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="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-dev 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 || return 1
33 rm $install/usr/lib/inkscape/lib*_LIB.a
35 # -DCMAKE_BUILD_TYPE=Release \
36 # -DCMAKE_INSTALL_PREFIX:PATH=/usr \
37 # -DINCLUDE_INSTALL_DIR:PATH=/usr/include \
38 # -DLIB_INSTALL_DIR:PATH=/usr/lib \
39 # -DSYSCONF_INSTALL_DIR:PATH=/etc \
40 # -DSHARE_INSTALL_PREFIX:PATH=/usr/share \
41 # -DCMAKE_ENABLE_LCMS=ON \
42 # -DCMAKE_ENABLE_POPPLER_CAIRO=ON \
43 # -DCMAKE_WITH_NLS=ON
44 }
46 genpkg_rules() {
47 case $PACKAGE in
48 *-examples)
49 copy examples/
50 CAT="graphics|examples"
51 ;;
52 *-tutorials)
53 copy tutorials/
54 CAT="graphics|tutorials"
55 ;;
56 inkscape)
57 copy @std @rm
58 DEPENDS="aspell atk atkmm cairo cairomm fontconfig freetype gc \
59 gdk-pixbuf glib glibmm gnome-vfs gsl gtk2 gtkmm gtkspell \
60 imagemagick6 lcms2 libcdr libgiomm libgomp libjpeg-turbo libpng \
61 librevenge libsigc++ libvisio libwpg libxml2 libxslt pango pangomm \
62 perl poppler popt potrace python libx11 zlib"
63 TAGS="image vector editor svg"
64 ;;
65 esac
66 }