libmng: update to 2.0.2 (soname bump).

This commit is contained in:
Juan RP 2014-08-30 10:41:17 +02:00
parent 09a4795c45
commit 58707d3733
4 changed files with 20 additions and 29 deletions

View file

@ -421,7 +421,7 @@ libdvbpsi.so.9 libdvbpsi-1.1.2_1
libdca.so.0 libdca-0.0.5_1
libmpeg2.so.0 libmpeg2-0.5.1_1
libmpeg2convert.so.0 libmpeg2-0.5.1_1
libmng.so.1 libmng-1.0.10_1
libmng.so.2 libmng-2.0.2_1
libQtAssistantClient.so qt-4.5.3_1
libQtXmlPatterns.so.4 qt-4.5.3_1
libQtScriptTools.so.4 qt-4.5.3_1

View file

@ -1,13 +0,0 @@
--- makefiles/configure.in.orig 2012-05-23 11:52:20.653259562 +0200
+++ makefiles/configure.in 2012-05-23 11:52:25.517142443 +0200
@@ -15,10 +15,6 @@ AC_SUBST(VERSION)
dnl Checks for programs.
AC_PROG_CC
AC_ISC_POSIX
-AM_C_PROTOTYPES
-if test "x$U" != "x"; then
- AC_MSG_ERROR(Compiler not ANSI compliant)
-fi
AM_PROG_LIBTOOL
AC_PROG_INSTALL

View file

@ -0,0 +1,10 @@
--- libmng_types.h 2013-08-15 16:26:03.000000000 -0400
+++ libmng_types.h 2013-08-16 19:53:39.165878412 -0400
@@ -204,6 +204,7 @@
#define HAVE_BOOLEAN
typedef int boolean;
#endif
+#include <stdio.h>
#include <jpeglib.h>
#endif /* MNG_INCLUDE_IJG6B */

View file

@ -1,30 +1,24 @@
# Template build file for 'libmng'.
pkgname=libmng
version=1.0.10
revision=9
version=2.0.2
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="automake libtool"
makedepends="libjpeg-turbo-devel zlib-devel lcms-devel"
makedepends="libjpeg-turbo-devel zlib-devel lcms2-devel"
short_desc="Multiple-image Network Graphics (MNG) reference library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.libmng.com"
license="BSD"
distfiles="http://www.libmng.com/download/libmng-$version.tar.bz2"
checksum=7b1477816c54b4d8ee0690c583982637910a1801ece0b0831e03fd07882e8118
pre_configure() {
ln -s makefiles/configure.in .
ln -s makefiles/Makefile.am .
autoreconf -fi
}
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=278c04c781e5a679c91df006fee7e71233e6f15557aef513a19fe49cd650bc50
libmng-devel_package() {
depends="libjpeg-turbo-devel zlib-devel lcms-devel libmng>=${version}_${revision}"
depends="${makedepends} libmng>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share/man/man3
vmove "usr/lib/*.so"
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}