wok-next view inkscape/receipt @ rev 21229
updated clamav (0.99.4 -> 0.101.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 03 16:54:38 2019 +0100 (2019-12-03) |
parents | 82b613cfd1e0 |
children | 4e0431198347 |
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 libcairo cairomm fontconfig freetype gc \
59 gdk-pixbuf glib glibmm gnome-vfs gsl gtk2 gtkmm gtkspell \
60 imagemagick6 liblcms2 libcdr libgiomm libgomp libjpeg-turbo libpng \
61 librevenge libsigc++ libvisio libwpg libxml2 libxslt pango pangomm \
62 perl libpoppler popt potrace python libx11 zlib"
63 TAGS="image vector editor svg"
64 ;;
65 esac
66 }