wok-next view pinta/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 5ffe59e2de3a
children
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/pintaproject/pinta/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/PintaProject/Pinta/archive/$VERSION.tar.gz"
14 COOKOPTS="!pixmaps force-arch" # different .dll, .exe
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 }