aboutsummaryrefslogtreecommitdiff
path: root/multimedia/telepathy-glib
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/telepathy-glib')
-rw-r--r--multimedia/telepathy-glib/README2
-rw-r--r--multimedia/telepathy-glib/telepathy-glib.SlackBuild13
-rw-r--r--multimedia/telepathy-glib/telepathy-glib.info2
3 files changed, 11 insertions, 6 deletions
diff --git a/multimedia/telepathy-glib/README b/multimedia/telepathy-glib/README
index ce2fe2f792b6d..5ae42bec6e7b4 100644
--- a/multimedia/telepathy-glib/README
+++ b/multimedia/telepathy-glib/README
@@ -3,3 +3,5 @@ clients, connection managers (protocol backends) and other
components. It can also be used from C++ via extern "C"
linkage, and from higher-level languages including Python and
JavaScript via GObject-Introspection.
+
+Vala is optional for experimental bindings
diff --git a/multimedia/telepathy-glib/telepathy-glib.SlackBuild b/multimedia/telepathy-glib/telepathy-glib.SlackBuild
index d411fda3b1351..fb376273a9b57 100644
--- a/multimedia/telepathy-glib/telepathy-glib.SlackBuild
+++ b/multimedia/telepathy-glib/telepathy-glib.SlackBuild
@@ -29,7 +29,7 @@ TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -69,6 +69,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Check for vala
+pkg-config --exists vapigen && VALA="yes"
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -76,8 +79,8 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
- --enable-introspection=yes \
- --enable-vala-bindings=no \
+ --enable-introspection="yes" \
+ --enable-vala-bindings=${VALA:-"no"} \
--disable-schemas-compile \
--build=$ARCH-slackware-linux
diff --git a/multimedia/telepathy-glib/telepathy-glib.info b/multimedia/telepathy-glib/telepathy-glib.info
index df9ddd477bd8f..89d42e200b108 100644
--- a/multimedia/telepathy-glib/telepathy-glib.info
+++ b/multimedia/telepathy-glib/telepathy-glib.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="farstream"
MAINTAINER="Thorn Inurcide"
-EMAIL="thorn-inurcide@yandex.com"
+EMAIL="thorn_inurcide@zoho.com"