wok-next view pinta/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 85a0f869ebc9
children 5ffe59e2de3a
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pinta"
4 VERSION="1.6"
5 CATEGORY="graphics"
6 SHORT_DESC="Free, open source program for drawing and image editing"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="https://pinta-project.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/PintaProject/Pinta/archive/$VERSION.tar.gz"
14 COOKOPTS="!pixmaps"
16 DEPENDS="mono gtk-sharp"
17 BUILD_DEPENDS="automake intltool gettext-dev glib-dev mono-dev gtk-sharp-dev"
19 compile_rules() {
20 # update the project and solution files for mono4 (taken from Fedora)
21 find . -name "*.sln" -print -exec sed -i 's/Format Version 10.00/Format Version 11.00/g' '{}' \;
22 find . \( -name "*.csproj" -o -name "*.proj" \) -print -exec \
23 sed -i 's#ToolsVersion="3.5"#ToolsVersion="4.0"#g; s#<TargetFrameworkVersion>.*</TargetFrameworkVersion>##g; s#<PropertyGroup>#<PropertyGroup><TargetFrameworkVersion>v4.5</TargetFrameworkVersion>#g; s#Mono.Posix, Version.*"#Mono.Posix"#g' '{}' \;
25 ./autogen.sh
26 make &&
27 make install
28 }
30 genpkg_rules() {
31 copy pinta *.dll *.exe *.mo
32 cook_copy_icons 16 32 # 48 is absent
33 }