wok-next view nomacs/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
parents | d5aab818505e |
children |
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="https://nomacs.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/nomacs/nomacs/archive/$VERSION.tar.gz"
14 BUILD_DEPENDS="qt5-dev cmake exiv2-dev libraw-dev zlib-dev expat-dev mesa-dev"
16 compile_rules() {
17 cd $src/ImageLounge
18 sed -i 's/ ON/ OFF/g' CMakeLists.txt
20 mkdir build
21 cd build
22 cmake \
23 -DENABLE_OPENCV=OFF \
24 -DENABLE_RAW=OFF \
25 -DENABLE_WEBP=OFF \
26 -DENABLE_TIFF=OFF \
27 -DDISABLE_QT_DEBUG=ON \
28 -DCMAKE_INSTALL_PREFIX=/usr \
29 .. &&
30 make &&
31 make DESTDIR=$install install
32 }
34 genpkg_rules() {
35 cp -a $install/* $fs
36 rm -rf $src/build
37 cd $fs/usr/share/$PACKAGE/translations
38 find * -size -62k -delete
39 DEPENDS="qt5-base"
40 }