wok annotate nomacs/receipt @ rev 22099

Add python-incremental
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 01 14:48:33 2019 +0100 (2019-11-01)
parents
children afae00265386
rev   line source
psychomaniak@17125 1 # SliTaz package receipt.
psychomaniak@17125 2
psychomaniak@17125 3 PACKAGE="nomacs"
psychomaniak@17125 4 VERSION="1.6.0"
psychomaniak@17125 5 CATEGORY="graphics"
psychomaniak@17125 6 SHORT_DESC="Pictures browser"
psychomaniak@17125 7 MAINTAINER="psychomaniak@xakep.ru"
psychomaniak@17125 8 LICENSE="GPL3"
psychomaniak@17125 9 WEB_SITE="http://www.nomacs.org"
psychomaniak@17125 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
psychomaniak@17125 11 WGET_URL="$SF_MIRROR/$PACKAGE/files/$PACKAGE-$VERSION-source.tar.bz2"
psychomaniak@17125 12
psychomaniak@17125 13 DEPENDS="libQtCore libQtGui libQtNetwork libgomp exiv2"
psychomaniak@17125 14 BUILD_DEPENDS="Qt4-dev qmake cmake exiv2-dev libraw-dev"
psychomaniak@17125 15 SUGGESTED="xdg-utils qtconfig"
psychomaniak@17125 16
psychomaniak@17125 17 # Rules to configure and make the package.
psychomaniak@17125 18 compile_rules()
psychomaniak@17125 19 {
psychomaniak@17125 20 cd $src/src/img ; cp -f nomacs32.png nomacs.png
psychomaniak@17125 21 cd $src ; sed -i 's/ ON/ OFF/g' CMakeLists.txt
psychomaniak@17125 22 mkdir build ; cd build
psychomaniak@17125 23 cmake \
psychomaniak@17125 24 -DENABLE_OPENCV=OFF \
psychomaniak@17125 25 -DENABLE_RAW=OFF \
psychomaniak@17125 26 -DENABLE_WEBP=OFF \
psychomaniak@17125 27 -DENABLE_TIFF=OFF \
psychomaniak@17125 28 -DDISABLE_QT_DEBUG=ON \
psychomaniak@17125 29 -DCMAKE_INSTALL_PREFIX=/usr ..
psychomaniak@17125 30 make
psychomaniak@17125 31 make DESTDIR=$DESTDIR install
psychomaniak@17125 32 }
psychomaniak@17125 33
psychomaniak@17125 34 # Rules to gen a SliTaz package suitable for Tazpkg.
psychomaniak@17125 35 genpkg_rules()
psychomaniak@17125 36 {
psychomaniak@17125 37 cp -a $install/* $fs
psychomaniak@17125 38 rm -rf $src/build
psychomaniak@17125 39 cd $fs/usr/share/$PACKAGE/translations
psychomaniak@17125 40 find * -size -62k -delete
psychomaniak@17125 41 }