summaryrefslogtreecommitdiff
path: root/network/remmina
diff options
context:
space:
mode:
Diffstat (limited to 'network/remmina')
-rw-r--r--network/remmina/remmina.SlackBuild10
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