wok view nomacs/receipt @ rev 24622

updated graphviz, graphviz-dev and graphviz-doc (2.42.2 -> 3.0.0)
author Hans-G?nter Theisgen
date Mon Mar 07 16:02:21 2022 +0100 (2022-03-07)
parents 984910ac3270
children 73f36875e5a7
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/nomacs/files/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/nomacs-||;s|/.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src/src/img ; cp -f nomacs32.png nomacs.png
28 cd $src ; sed -i 's/ ON/ OFF/g' CMakeLists.txt
29 mkdir build ; cd build
30 cmake \
31 -DENABLE_OPENCV=OFF \
32 -DENABLE_RAW=OFF \
33 -DENABLE_WEBP=OFF \
34 -DENABLE_TIFF=OFF \
35 -DDISABLE_QT_DEBUG=ON \
36 -DCMAKE_INSTALL_PREFIX=/usr ..
37 make
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 cp -a $install/* $fs
45 rm -rf $src/build
46 cd $fs/usr/share/$PACKAGE/translations
47 find * -size -62k -delete
48 }