wok-next annotate pinta/receipt @ rev 21695

updated gob2 (2.0.17 -> 2.0.20)
author Hans-G?nter Theisgen
date Tue Jun 30 15:37:32 2020 +0100 (2020-06-30)
parents 5ffe59e2de3a
children
rev   line source
al@20867 1 # SliTaz package receipt v2.
al@19502 2
al@19502 3 PACKAGE="pinta"
al@19502 4 VERSION="1.6"
al@19502 5 CATEGORY="graphics"
al@19502 6 SHORT_DESC="Free, open source program for drawing and image editing"
al@19502 7 MAINTAINER="al.bobylev@gmail.com"
al@19502 8 LICENSE="MIT"
al@21032 9 WEB_SITE="https://pinta-project.com/pintaproject/pinta/"
al@20867 10
al@19502 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19502 12 WGET_URL="https://github.com/PintaProject/Pinta/archive/$VERSION.tar.gz"
al@20867 13
al@21094 14 COOKOPTS="!pixmaps force-arch" # different .dll, .exe
al@19502 15
al@19502 16 DEPENDS="mono gtk-sharp"
al@21020 17 BUILD_DEPENDS="automake intltool gettext-dev glib-dev mono-dev gtk-sharp-dev"
al@19502 18
al@20867 19 compile_rules() {
al@20867 20 # update the project and solution files for mono4 (taken from Fedora)
al@20867 21 find . -name "*.sln" -print -exec sed -i 's/Format Version 10.00/Format Version 11.00/g' '{}' \;
al@20867 22 find . \( -name "*.csproj" -o -name "*.proj" \) -print -exec \
al@20867 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' '{}' \;
al@20867 24
al@19502 25 ./autogen.sh
al@20867 26 make &&
al@20867 27 make install
al@19502 28 }
al@19502 29
al@20867 30 genpkg_rules() {
al@19783 31 copy pinta *.dll *.exe *.mo
al@19502 32 cook_copy_icons 16 32 # 48 is absent
al@19502 33 }