wok-6.x view nomacs/receipt @ rev 21445

updated mjpegtools and mjpegtools-dev (2.0.0 -> 2.1.0)
author Hans-G?nter Theisgen
date Mon Apr 29 15:41:32 2019 +0100 (2019-04-29)
parents
children afae00265386
line source
1 # SliTaz package receipt.
3 PACKAGE="nomacs"
4 VERSION="1.6.0"
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.bz2"
11 WGET_URL="$SF_MIRROR/$PACKAGE/files/$PACKAGE-$VERSION-source.tar.bz2"
13 DEPENDS="libQtCore libQtGui libQtNetwork libgomp exiv2"
14 BUILD_DEPENDS="Qt4-dev qmake cmake exiv2-dev libraw-dev"
15 SUGGESTED="xdg-utils qtconfig"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/src/img ; cp -f nomacs32.png nomacs.png
21 cd $src ; sed -i 's/ ON/ OFF/g' CMakeLists.txt
22 mkdir build ; cd build
23 cmake \
24 -DENABLE_OPENCV=OFF \
25 -DENABLE_RAW=OFF \
26 -DENABLE_WEBP=OFF \
27 -DENABLE_TIFF=OFF \
28 -DDISABLE_QT_DEBUG=ON \
29 -DCMAKE_INSTALL_PREFIX=/usr ..
30 make
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 rm -rf $src/build
39 cd $fs/usr/share/$PACKAGE/translations
40 find * -size -62k -delete
41 }