wok-next view pencil2d/receipt @ rev 21469

updated tinc (1.0.25 -> 1.0.36)
author Hans-G?nter Theisgen
date Wed May 13 07:41:00 2020 +0100 (2020-05-13)
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 }