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