wok-next view pencil2d/receipt @ rev 20657

Up openjpeg2 (2.3.0), pciutils (3.5.6), pcre (8.41), pcre2 (10.31), pinentry (1.1.0), sakura (3.6.0), vte (0.50.2); add openobex, pax.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 05 16:03:34 2018 +0300 (2018-05-05)
parents 0709fcf9b0d7
children
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 mesa-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 mesa qt5-base qt5-multimedia qt5-svg"
36 }