geany: fix build; added cross build support

This commit is contained in:
Jan S 2014-04-13 23:47:32 +02:00
parent eed5867a08
commit 532a3061e3
2 changed files with 20 additions and 3 deletions

View file

@ -0,0 +1,17 @@
--- configure 2014-04-13 23:37:52.355000000 +0200
+++ configure 2014-04-13 23:38:32.853000000 +0200
@@ -6140,14 +6140,6 @@
am__fastdepCXX_FALSE=
fi
-
-# check for C++ compiler explicitly and fail if none is found, do this check
-# after AC_PROG_CXX has set the CXX environment variable
-if ! which $CXX >/dev/null 2>&1; then
- as_fn_error $? "No C++ compiler found. Please install a C++ compiler." "$LINENO" 5
-fi
-
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
$as_echo_n "checking whether ln -s works... " >&6; }
LN_S=$as_ln_s

View file

@ -1,8 +1,9 @@
# Template file for 'geany'
pkgname=geany
version=1.24
revision=1
build_style=waf
revision=2
build_style=configure
configure_args=" --prefix=/usr"
hostmakedepends="pkg-config intltool python"
makedepends="gtk+-devel vte-devel"
depends="hicolor-icon-theme desktop-file-utils"
@ -12,7 +13,6 @@ license="GPL-2"
homepage="http://www.geany.org"
distfiles="http://download.${pkgname}.org/${pkgname}-${version}.tar.bz2"
checksum=51c37690fea9b7a9baaf7f9158c5d88d86ae81d44409ec0460aa0445fe0a039f
only_for_archs="x86_64 i686"
geany-plugins_package() {
depends="geany>=$version"