wok-next view nomacs/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents 4db41c0dada2
children d5aab818505e
line source
1 # SliTaz package receipt.
3 PACKAGE="nomacs"
4 VERSION="3.6.1"
5 CATEGORY="graphics"
6 SHORT_DESC="Pictures browser"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.nomacs.org"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/nomacs/nomacs/archive/$VERSION.tar.gz"
13 DEPENDS="qt5-base"
14 BUILD_DEPENDS="qt5-dev cmake exiv2-dev libraw-dev zlib-dev expat-dev mesa-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src/ImageLounge ; sed -i 's/ ON/ OFF/g' CMakeLists.txt
20 mkdir build ; cd build
21 cmake \
22 -DENABLE_OPENCV=OFF \
23 -DENABLE_RAW=OFF \
24 -DENABLE_WEBP=OFF \
25 -DENABLE_TIFF=OFF \
26 -DDISABLE_QT_DEBUG=ON \
27 -DCMAKE_INSTALL_PREFIX=/usr ..
28 make
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
36 rm -rf $src/build
37 cd $fs/usr/share/$PACKAGE/translations
38 find * -size -62k -delete
39 }