zimg: update to 2.4.

This commit is contained in:
lemmi 2017-01-24 21:08:29 +01:00 committed by Michael Gehring
parent bc374fbf2d
commit bfa61f4884
2 changed files with 2 additions and 38 deletions

View file

@ -1,33 +0,0 @@
--- configure.ac.orig 2016-05-23 13:02:19.860132419 +0200
+++ configure.ac 2016-05-23 13:02:31.867133038 +0200
@@ -9,11 +9,9 @@
LT_INIT([win32-dll])
+AC_CANONICAL_SYSTEM
AC_PROG_CXX
-AC_CANONICAL_HOST
-
-
AC_ARG_ENABLE([testapp], AS_HELP_STRING([--enable-testapp], [Compile the test application. (default=no)]))
AC_ARG_ENABLE([example], AS_HELP_STRING([--enable-example], [Compile example programs. (default=no)]))
AC_ARG_ENABLE([unit-test], AS_HELP_STRING([--enable-unit-test], [Compile unit tests. May result in slower code. (default=no)]))
@@ -26,7 +24,7 @@
AS_IF([test "x$enable_unit_test" = "xyes"],
[
CFLAGS="$CFLAGS -fno-fast-math -ffp-contract=off" CXXFLAGS="$CXXFLAGS -fno-fast-math -ffp-contract=off"
- AS_CASE([$host_cpu],
+ AS_CASE([$target_cpu],
[i?86], [CFLAGS="$CFLAGS -mfpmath=sse -msse2" CXXFLAGS="$CXXFLAGS -mfpmath=sse -msse2"],
[x86_64], [],
[AC_MSG_WARN([Could not determine how to enable IEEE-754 compliance on host. Tests may fail.])])
@@ -44,7 +42,7 @@
X86="no"
-AS_CASE([$host_cpu],
+AS_CASE([$target_cpu],
[i?86], [BITS="32" X86="yes"],
[x86_64], [BITS="64" X86="yes"])

View file

@ -1,9 +1,6 @@
# Template file for 'zimg'
pkgname=zimg
# 2.1 needs a patch to cross compile.
# Please remove on update
# https://github.com/sekrit-twc/zimg/issues/47
version=2.3
version=2.4
revision=1
wrksrc=zimg-release-${version}
build_style=gnu-configure
@ -13,7 +10,7 @@ maintainer="lemmi <lemmi@nerd2nerd.org>"
license="WTFPL"
homepage="https://github.com/sekrit-twc/zimg"
distfiles="https://github.com/sekrit-twc/zimg/archive/release-${version}.tar.gz"
checksum=09962385f986dbcfd8ed6160cdafc2bc57bef8c6bfb3ca3a4bcaa482f09c06fa
checksum=996ea0e446df6ff4d6cb9c04a77d60978eca47c32d3785cd63fe8c29a9523d1f
pre_configure() {
./autogen.sh