libraries/libsigrokdecode: Updated for version 0.5.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrzej Telszewski 2017-06-23 10:44:54 +07:00 committed by Willy Sudiarto Raharjo
parent ee28d085ad
commit 6dacd39487
3 changed files with 4 additions and 28 deletions

View file

@ -1,24 +0,0 @@
diff -u -r libsigrokdecode-0.3.1-orig/configure.ac libsigrokdecode-0.3.1/configure.ac
--- libsigrokdecode-0.3.1-orig/configure.ac 2015-07-12 21:35:14.000000000 +0100
+++ libsigrokdecode-0.3.1/configure.ac 2015-12-21 19:23:07.809995006 +0000
@@ -99,6 +99,11 @@
CPPFLAGS_PYTHON="$CPPFLAGS_PYTHON $python3_CFLAGS";
LDFLAGS_PYTHON="$LDFLAGS_PYTHON $python3_LIBS";
MODNAME_PYTHON="python3"],
+[PKG_CHECK_MODULES([python35], [python-3.5 >= 3.5],
+ [pyver=`$PKG_CONFIG --modversion python-3.5`;
+ CPPFLAGS_PYTHON="$CPPFLAGS_PYTHON $python35_CFLAGS";
+ LDFLAGS_PYTHON="$LDFLAGS_PYTHON $python35_LIBS";
+ MODNAME_PYTHON="python-3.5"],
[PKG_CHECK_MODULES([python34], [python-3.4 >= 3.4],
[pyver=`$PKG_CONFIG --modversion python-3.4`;
CPPFLAGS_PYTHON="$CPPFLAGS_PYTHON $python34_CFLAGS";
@@ -114,7 +119,7 @@
CPPFLAGS_PYTHON="$CPPFLAGS_PYTHON $python32_CFLAGS";
LDFLAGS_PYTHON="$LDFLAGS_PYTHON $python32_LIBS";
MODNAME_PYTHON="python-3.2"],
-)])])])
+)])])])])
AC_SUBST(CPPFLAGS_PYTHON)
AC_SUBST(LDFLAGS_PYTHON)
AC_SUBST(MODNAME_PYTHON)

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libsigrokdecode
VERSION=${VERSION:-0.4.1}
VERSION=${VERSION:-0.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}

View file

@ -1,8 +1,8 @@
PRGNAM="libsigrokdecode"
VERSION="0.4.1"
VERSION="0.5.0"
HOMEPAGE="http://sigrok.org/wiki/Libsigrokdecode"
DOWNLOAD="http://sigrok.org/download/source/libsigrokdecode/libsigrokdecode-0.4.1.tar.gz"
MD5SUM="a195d9290e7a4c7cbb479da3ac077633"
DOWNLOAD="http://sigrok.org/download/source/libsigrokdecode/libsigrokdecode-0.5.0.tar.gz"
MD5SUM="0f23ad53cb67948bf4f091bbaacba13d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3"