summaryrefslogtreecommitdiff
path: root/multimedia/telepathy-glib
diff options
context:
space:
mode:
authorThorn Inurcide <thorn_inurcide@zoho.com>2017-07-30 21:55:37 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-08-05 07:07:26 +0700
commit4a0666deb837a8a86f3b029a77be51864b34ba76 (patch)
tree7c729caa465a9f99501047d358c074ae21b89cad /multimedia/telepathy-glib
parent7e6c0167d0745b45f39e0797f6e94b23b0b0fa8e (diff)
downloadslackbuilds-4a0666deb837a8a86f3b029a77be51864b34ba76.tar.gz
multimedia/telepathy-glib: Updated for version 0.24.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
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 ce2fe2f792..5ae42bec6e 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 d411fda3b1..fb376273a9 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 df9ddd477b..89d42e200b 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"