wok-6.x rev 23856

codeblocks: use wxWidgets and gcc49
author Richard Dunbar <mojo@slitaz.org>
date Tue Jun 16 23:39:15 2020 -0400 (2020-06-16)
parents eb5518b1b094
children 45cacca7ad30
files codeblocks/receipt
line diff
     1.1 --- a/codeblocks/receipt	Tue Jun 16 20:15:47 2020 +0000
     1.2 +++ b/codeblocks/receipt	Tue Jun 16 23:39:15 2020 -0400
     1.3 @@ -12,10 +12,10 @@
     1.4  TARBALL="${PACKAGE}_$VERSION.tar.xz"
     1.5  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     1.6  
     1.7 -DEPENDS="gamin gcc83-lib-base hunspell wxWidgets28"
     1.8 -BUILD_DEPENDS="autoconf automake  expat-dev gamin-dev gcc83 gcc83-lib-base 
     1.9 -	gnome-icon-theme hunspell-dev libboost-dev libtool wxWidgets28-dev 
    1.10 -	xorg-libXau-dev xorg-libXdmcp-dev zip"
    1.11 +DEPENDS="gamin gcc49-lib-base hunspell wxWidgets"
    1.12 +BUILD_DEPENDS="autoconf automake expat-dev fontconfig-dev gamin-dev gcc49 
    1.13 +	gcc49-lib-base gnome-icon-theme hunspell-dev libboost-dev libtool 
    1.14 +	wxWidgets-dev xorg-libXau-dev xorg-libXdmcp-dev zip"
    1.15  
    1.16  # Rules to configure and make the package.
    1.17  compile_rules()
    1.18 @@ -30,8 +30,8 @@
    1.19  	#	because(?) plugin NassiShneiderman/CParser needs libboost-dev
    1.20  
    1.21  	./configure					\
    1.22 -		CC=gcc-83				\
    1.23 -		CXX=g++-83				\
    1.24 +		CC=gcc-49				\
    1.25 +		CXX=g++-49				\
    1.26  		--with-boost-libdir=/usr/lib		\
    1.27  		--with-contrib-plugins="all, -help"	\
    1.28  		--prefix=/usr				\
    1.29 @@ -51,7 +51,9 @@
    1.30  	cp -a $install/usr/lib/*.so*		$fs/usr/lib
    1.31  	cp -a $install/usr/lib/*.*a		$fs/usr/lib
    1.32  	cp -a $install/usr/lib/codeblocks	$fs/usr/lib
    1.33 -#	cp -a $install/usr/lib/wxSmithContribItems $fs/usr/lib
    1.34  	cp -a $install/usr/share/codeblocks	$fs/usr/share
    1.35  	cp -a $install/usr/bin			$fs/usr
    1.36 +	
    1.37 +	# Remove plugin that load fail error on start.
    1.38 +	rm $fs/usr/lib/codeblocks/plugins/libNassiShneiderman.*
    1.39  }