diff options
author | ponce <matteo.bernardini@gmail.com> | 2012-07-25 13:11:53 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-08-21 16:32:43 -0500 |
commit | ebcfd96a0f8829f80970488ca2f2ad16f65b7595 (patch) | |
tree | 337577fc8af62acf50d4df779f02bc58a795e6a8 /network/remmina | |
parent | 578691d00680948678d6c1276f09fae554390ef1 (diff) | |
download | slackbuilds-ebcfd96a0f8829f80970488ca2f2ad16f65b7595.tar.gz |
network/remmina: Included some linker flags for gcc-4.7.x
Also disabled autodetection of vte and appindicator that break build.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/remmina')
-rw-r--r-- | network/remmina/remmina.SlackBuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/network/remmina/remmina.SlackBuild b/network/remmina/remmina.SlackBuild index c93d22f8d1..bc516e4c4b 100644 --- a/network/remmina/remmina.SlackBuild +++ b/network/remmina/remmina.SlackBuild @@ -7,7 +7,7 @@ PRGNAM=remmina VERSION=${VERSION:-1.0.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} SRCNAM=Remmina @@ -60,15 +60,23 @@ find . \ # Fix libdirsuffix in CMakeLists.txt sed "s|/lib/remmina|/lib$LIBDIRSUFFIX/remmina|g" -i CMakeLists.txt +# gcc-4.7.x needs additional linker flags +SLKLDFLAGS="-lX11 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lgdk_pixbuf-2.0 -lpthread" +# VTE support must explicitly be disabled because it's detected in +# but the version is not high enough (>=2.90). +# The same for appindicator. mkdir -p build cd build cmake \ + -DCMAKE_EXE_LINKER_FLAGS:STRING="$SLKLDFLAGS" \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \ -DWITH_AVAHI=${AVAHI} \ -DWITH_TELEPATHY=${TELEPATHY} \ + -DWITH_VTE=OFF \ + -DWITH_APPINDICATOR=OFF \ -DCMAKE_BUILD_TYPE=Release .. make VERBOSE=1 |