wok-next annotate nomacs/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 4db41c0dada2 |
children | d5aab818505e |
rev | line source |
---|---|
psychomaniak@17125 | 1 # SliTaz package receipt. |
psychomaniak@17125 | 2 |
psychomaniak@17125 | 3 PACKAGE="nomacs" |
psychomaniak@19994 | 4 VERSION="3.6.1" |
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@19976 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
psychomaniak@19977 | 11 WGET_URL="https://github.com/nomacs/nomacs/archive/$VERSION.tar.gz" |
psychomaniak@17125 | 12 |
psychomaniak@19997 | 13 DEPENDS="qt5-base" |
al@20502 | 14 BUILD_DEPENDS="qt5-dev cmake exiv2-dev libraw-dev zlib-dev expat-dev mesa-dev" |
psychomaniak@17125 | 15 |
psychomaniak@17125 | 16 # Rules to configure and make the package. |
psychomaniak@17125 | 17 compile_rules() |
psychomaniak@17125 | 18 { |
psychomaniak@19976 | 19 cd $src/ImageLounge ; sed -i 's/ ON/ OFF/g' CMakeLists.txt |
psychomaniak@17125 | 20 mkdir build ; cd build |
psychomaniak@17125 | 21 cmake \ |
psychomaniak@17125 | 22 -DENABLE_OPENCV=OFF \ |
psychomaniak@17125 | 23 -DENABLE_RAW=OFF \ |
psychomaniak@17125 | 24 -DENABLE_WEBP=OFF \ |
psychomaniak@17125 | 25 -DENABLE_TIFF=OFF \ |
psychomaniak@17125 | 26 -DDISABLE_QT_DEBUG=ON \ |
psychomaniak@17125 | 27 -DCMAKE_INSTALL_PREFIX=/usr .. |
psychomaniak@17125 | 28 make |
psychomaniak@17125 | 29 make DESTDIR=$DESTDIR install |
psychomaniak@17125 | 30 } |
psychomaniak@17125 | 31 |
psychomaniak@17125 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
psychomaniak@17125 | 33 genpkg_rules() |
psychomaniak@17125 | 34 { |
psychomaniak@17125 | 35 cp -a $install/* $fs |
psychomaniak@17125 | 36 rm -rf $src/build |
psychomaniak@17125 | 37 cd $fs/usr/share/$PACKAGE/translations |
psychomaniak@17125 | 38 find * -size -62k -delete |
psychomaniak@17125 | 39 } |