diff options
author | Daniel Gonzalez Cabanelas | 2019-10-21 13:53:08 +0200 |
---|---|---|
committer | Daniel Gonzalez Cabanelas | 2019-10-21 13:53:08 +0200 |
commit | c55d902573922da7f54e44d67032244d2f7dbb08 (patch) | |
tree | 57f392d22ef917dfc63dfc648e815139247903cf /PKGBUILD | |
parent | 03fe2c1b1d1373033d4a797cbb3d7990f607000c (diff) | |
download | aur-c55d902573922da7f54e44d67032244d2f7dbb08.tar.gz |
3.3.4: Add missing_script_update.patch, tune PKGBUILD, fix nolcms patch formatting
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -1,27 +1,30 @@ # Contributor: Homme Zwaagstra, danitool pkgname=libecwj2 pkgver=3.3 -pkgrel=3 +pkgrel=4 pkgdesc="Library for both the ECW and the ISO JPEG 2000 image file formats" arch=('i686' 'x86_64') url="http://trac.osgeo.org/gdal/wiki/ECW" license=('ECWPL') depends=() makedepends=('autoconf' 'libtool') +MAKEFLAGS="-j$(nproc)" source=("https://sourceforge.net/projects/libecw-legacy/files/${pkgname}-${pkgver}-2006-09-06.zip" 'libecwj2-3.3-nolcms.patch' 'libecwj2-3.3-3245a.patch' 'libecwj2-3.3-3245b.patch' 'libecwj2-3.3-NCSPhysicalMemorySize-Linux.patch' 'libecwj2-3.3-2593.patch' - 'libecwj2-3.3-wcharfix.patch') + 'libecwj2-3.3-wcharfix.patch' + 'libecwj2-3.3-missing_script_update.patch') md5sums=('acc04e07153c2a2a6595b3e2ebf34432' - 'e4c4cde42a8910650fe665bf7c9bbde3' + '7163711813a954ca0b59b7e6e44ecfca' '7871632c8d52ceb0ac02589deaa3c347' 'cf23c8fbb0009905185886708d1c6de4' '3018aa1e84ca64e0026c4f3d3481cac1' '3ebdc31fa456f47aba6e1a3295f690d3' - 'd0bf5fa7e6ba62ef5a138b5b22364b4e') + 'd0bf5fa7e6ba62ef5a138b5b22364b4e' + 'cee158f3258344716ee9e28fd0d08de8') build() { cd $srcdir/$pkgname-$pkgver @@ -47,6 +50,9 @@ build() { # std::length_error bug patch -p0 -i ${srcdir}/libecwj2-3.3-wcharfix.patch + # rid of --is-lightweight warning + patch -p1 -i ${srcdir}/libecwj2-3.3-missing_script_update.patch + # rid of subdirectory warnings sed -i -e "s:AM_INIT_AUTOMAKE:AM_INIT_AUTOMAKE([subdir-objects]):" \ configure.in || return 1 |