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