summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-05-05 19:44:29 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-05-05 19:44:29 (GMT)
commit24f49296f451cfb96d498aafde46e11accfe3003 (patch)
tree6f362a619daa433d06b36d9d908c4b7ff6be4238 /abs
parent5095db5489b514be38266e8a1722d430e4573865 (diff)
downloadlinhes_pkgbuild-24f49296f451cfb96d498aafde46e11accfe3003.zip
linhes_pkgbuild-24f49296f451cfb96d498aafde46e11accfe3003.tar.gz
linhes_pkgbuild-24f49296f451cfb96d498aafde46e11accfe3003.tar.bz2
libmng: update to 2.0.2
Diffstat (limited to 'abs')
-rw-r--r--abs/extra/libmng/PKGBUILD30
-rw-r--r--abs/extra/libmng/__changelog1
-rw-r--r--abs/extra/libmng/automake-patch11
-rw-r--r--abs/extra/libmng/libmng-stdio.patch10
4 files changed, 26 insertions, 26 deletions
diff --git a/abs/extra/libmng/PKGBUILD b/abs/extra/libmng/PKGBUILD
index 7be67d7..812b577 100644
--- a/abs/extra/libmng/PKGBUILD
+++ b/abs/extra/libmng/PKGBUILD
@@ -1,31 +1,33 @@
-# $Id: PKGBUILD 137860 2011-09-12 05:28:13Z eric $
+# $Id$
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=libmng
-pkgver=1.0.10
-pkgrel=4
+pkgver=2.0.2
+pkgrel=3
pkgdesc="A collection of routines used to create and manipulate MNG format graphics files"
arch=('i686' 'x86_64')
url="http://www.libmng.com/"
license=('custom')
-depends=('zlib' 'libjpeg')
-options=('!libtool')
-source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2 automake-patch)
+depends=('lcms2')
+source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.asc}
+ libmng-stdio.patch)
+sha1sums=('7dd35369ff5916e1823cbacef984ab1b87714b69'
+ 'SKIP'
+ '2f8b472d53791ba3a44dab9b18fb215e8b19dd77')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ patch -p5 -i "${srcdir}/libmng-stdio.patch"
+}
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np0 < $srcdir/automake-patch || exit 1
- ln -s makefiles/configure.in .
- ln -s makefiles/Makefile.am .
- autoreconf --force --install
+ cd ${pkgname}-${pkgver}
./configure --prefix=/usr
make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
+ cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
-md5sums=('eaf1476a3bb29f6190bca660e6abef16'
- 'abd75e07394cc04e0d8ffa9a93b1e485')
diff --git a/abs/extra/libmng/__changelog b/abs/extra/libmng/__changelog
deleted file mode 100644
index 41fd872..0000000
--- a/abs/extra/libmng/__changelog
+++ /dev/null
@@ -1 +0,0 @@
-add automake_patch
diff --git a/abs/extra/libmng/automake-patch b/abs/extra/libmng/automake-patch
deleted file mode 100644
index 309983a..0000000
--- a/abs/extra/libmng/automake-patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- makefiles/configure.in 2005-01-30 05:28:00.000000000 -0500
-+++ makefiles/configure.in.new 2012-05-03 16:36:01.000000000 -0400
-@@ -15,7 +15,7 @@
- dnl Checks for programs.
- AC_PROG_CC
- AC_ISC_POSIX
--AM_C_PROTOTYPES
-+#AM_C_PROTOTYPES
- if test "x$U" != "x"; then
- AC_MSG_ERROR(Compiler not ANSI compliant)
- fi
diff --git a/abs/extra/libmng/libmng-stdio.patch b/abs/extra/libmng/libmng-stdio.patch
new file mode 100644
index 0000000..42414f1
--- /dev/null
+++ b/abs/extra/libmng/libmng-stdio.patch
@@ -0,0 +1,10 @@
+--- /mnt/chrootstaging32/usr/include/libmng_types.h 2013-08-15 16:26:03.000000000 -0400
++++ /mnt/chrootstaging64/usr/include/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 */
+