wok-next view nomacs/receipt @ rev 20502

Swap: current mesa (which is developing and change it's version) is just mesa, while old mesa is mesa12 now (will be removed if no one old package require it).
Also, change long names to its origins: libglu-mesa -> glu, libglw-mesa -> glw, all variations with libegl -> mesa-libegl (because it is part of mesa package).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 16 00:27:34 2018 +0200 (2018-03-16)
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 }