# HG changeset patch # User Aleksej Bobylev # Date 1530479914 -10800 # Node ID 85a0f869ebc90871d943005e01d10e38b7cbb923 # Parent 8a42150f2543cf90b579b997974c7baf1ce98ba9 pinta: fix build diff -r 8a42150f2543 -r 85a0f869ebc9 pinta/receipt --- a/pinta/receipt Sun Jul 01 23:19:43 2018 +0300 +++ b/pinta/receipt Mon Jul 02 00:18:34 2018 +0300 @@ -1,4 +1,4 @@ -# SliTaz package receipt. +# SliTaz package receipt v2. PACKAGE="pinta" VERSION="1.6" @@ -7,23 +7,27 @@ MAINTAINER="al.bobylev@gmail.com" LICENSE="MIT" WEB_SITE="https://pinta-project.com/" + TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/PintaProject/Pinta/archive/$VERSION.tar.gz" + COOKOPTS="!pixmaps" DEPENDS="mono gtk-sharp" -BUILD_DEPENDS="automake mono-dev gtk-sharp-dev" +BUILD_DEPENDS="automake intltool gettext glib-dev mono-dev gtk-sharp-dev" -# Rules to configure and make the package. -compile_rules() -{ +compile_rules() { + # update the project and solution files for mono4 (taken from Fedora) + find . -name "*.sln" -print -exec sed -i 's/Format Version 10.00/Format Version 11.00/g' '{}' \; + find . \( -name "*.csproj" -o -name "*.proj" \) -print -exec \ + sed -i 's#ToolsVersion="3.5"#ToolsVersion="4.0"#g; s#.*##g; s##v4.5#g; s#Mono.Posix, Version.*"#Mono.Posix"#g' '{}' \; + ./autogen.sh - make && make install + make && + make install } -# Rules to gen a SliTaz package suitable for Tazpkg. -genpkg_rules() -{ +genpkg_rules() { copy pinta *.dll *.exe *.mo cook_copy_icons 16 32 # 48 is absent }