Date: Friday, November 25, 2011 @ 23:58:08 Author: eric Revision: 143540
upgpkg: enblend-enfuse 4.0-4 Disable arithmetic jpeg encoding (close FS#27236), Clean up depends and makedepends, Clean up .install file Modified: enblend-enfuse/trunk/PKGBUILD enblend-enfuse/trunk/enblend-enfuse.install ------------------------+ PKGBUILD | 16 +++++++++------- enblend-enfuse.install | 6 ++++-- 2 files changed, 13 insertions(+), 9 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2011-11-26 00:59:52 UTC (rev 143539) +++ PKGBUILD 2011-11-26 04:58:08 UTC (rev 143540) @@ -4,23 +4,25 @@ pkgname=enblend-enfuse pkgver=4.0 -pkgrel=3 -pkgdesc="intelligent blend tool for overlapping picture" +pkgrel=4 +pkgdesc="Intelligent blend tool for overlapping picture" arch=("i686" "x86_64") license=('GPL') url="http://enblend.sourceforge.net" -depends=('openexr' 'glew>=1.5' 'libxmi' 'freeglut' 'libgl' 'lcms' 'texinfo' 'libpng') -makedepends=('boost' 'pkgconfig') +depends=('openexr' 'glew>=1.5' 'libxmi' 'freeglut' 'lcms' 'libpng') +makedepends=('boost') replaces=('enblend') conflicts=('enblend') provides=('enblend') install=${pkgname}.install -source=(http://downloads.sourceforge.net/sourceforge/enblend/${pkgname}-${pkgver}.tar.gz libpng-1.4.patch) -md5sums=('2e7c950061e0085fd75d94576130250f' 'a39df8dd32ccfa020dea2ea388642575') -sha1sums=('34c3a5ce11c6ef0ef520d8a15a3cb6a94a567033' 'eae6cf48ea082865130302d0b4d1ca0b884a563b') +source=(http://downloads.sourceforge.net/sourceforge/enblend/${pkgname}-${pkgver}.tar.gz{,.asc} libpng-1.4.patch) +sha1sums=('34c3a5ce11c6ef0ef520d8a15a3cb6a94a567033' + 'aac6364b29b0a9d6c61c3db0982f52ce1579e934' + 'eae6cf48ea082865130302d0b4d1ca0b884a563b') build() { cd "${srcdir}/${pkgname}-${pkgver}-753b534c819d" + sed -i 's/info.arith_code = TRUE/info.arith_code = FALSE/' src/vigra_impex/jpeg.cxx patch -Np1 -i ../libpng-1.4.patch ./configure --prefix=/usr make Modified: enblend-enfuse.install =================================================================== --- enblend-enfuse.install 2011-11-26 00:59:52 UTC (rev 143539) +++ enblend-enfuse.install 2011-11-26 04:58:08 UTC (rev 143540) @@ -1,7 +1,8 @@ -infodir=/usr/share/info -filelist=(enblend.info enfuse-focus-stacking.info enfuse.info) +infodir=usr/share/info +filelist=(enblend.info enfuse.info) post_install() { + [[ -x usr/bin/install-info ]] || return 0 for file in ${filelist[@]}; do install-info $infodir/$file.gz $infodir/dir 2> /dev/null done @@ -12,6 +13,7 @@ } pre_remove() { + [[ -x usr/bin/install-info ]] || return 0 for file in ${filelist[@]}; do install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null done