From 4a0666deb837a8a86f3b029a77be51864b34ba76 Mon Sep 17 00:00:00 2001 From: Thorn Inurcide Date: Sun, 30 Jul 2017 21:55:37 +0100 Subject: multimedia/telepathy-glib: Updated for version 0.24.1. Signed-off-by: David Spencer --- multimedia/telepathy-glib/README | 2 ++ multimedia/telepathy-glib/telepathy-glib.SlackBuild | 13 ++++++++----- multimedia/telepathy-glib/telepathy-glib.info | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) (limited to 'multimedia') 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" -- cgit v1.2.3