wok-next view pencil2d/receipt @ rev 20332
Up exosip, httpfs-fuse, libvncserver, upx; add upx391 (for httpfs-fuse)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 15 14:21:32 2017 +0200 (2017-11-15) |
parents | |
children | c0521c689857 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pencil2d"
4 VERSION="0.6-171109" # releases absent; current v.0.6 in the ChangeLog.md
5 COMMIT="80acbff"
6 CATEGORY="graphics"
7 SHORT_DESC="Animation and drawing software"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="GPL3"
10 WEB_SITE="https://github.com/pencil2d/pencil"
12 TARBALL="$PACKAGE-$COMMIT.tar.gz"
13 WGET_URL="https://github.com/pencil2d/pencil/archive/$COMMIT.tar.gz"
15 BUILD_DEPENDS="qt5-dev mesa17-dev"
17 compile_rules() {
18 # specify correct version
19 sed -i 's|0\.5\.4|0.6|' app/app.pro core_lib/core_lib.pro
20 sed -i '/^Keywords/d' pencil2d.desktop # sdft can't handle keywords
22 mkdir build
23 cd build
24 qmake \
25 PREFIX=/usr \
26 .. &&
27 make &&
28 make INSTALL_ROOT=$install install || return 1
30 find $install/usr/share -type f -exec chmod 0644 '{}' \;
31 }
33 genpkg_rules() {
34 copy @std hicolor/ # only 128 icon
35 DEPENDS="libatomic mesa17 qt5-base qt5-multimedia qt5-svg"
36 }