Date: Tuesday, July 20, 2021 @ 23:58:25 Author: archange Revision: 980590
upgpkg: enblend-enfuse 4.2.r1524+h4c30a326b3f4-1 Upstream is mostly dead, so upgrade to newer code with exiv2 added. Modified: enblend-enfuse/trunk/PKGBUILD ----------+ PKGBUILD | 51 ++++++++++++++++++++++++++++++--------------------- 1 file changed, 30 insertions(+), 21 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-07-20 23:51:03 UTC (rev 980589) +++ PKGBUILD 2021-07-20 23:58:25 UTC (rev 980590) @@ -3,32 +3,41 @@ # Contributor: Dominik Ryba <[email protected]> pkgname=enblend-enfuse -pkgver=4.2 -pkgrel=6 +pkgver=4.2.r1524+h4c30a326b3f4 +pkgrel=1 pkgdesc="Intelligent blend tool for overlapping picture" -arch=('x86_64') +arch=(x86_64) url="http://enblend.sourceforge.net" -license=('GPL') -depends=('lcms2' 'vigra' 'gsl') -makedepends=('libjpeg' 'libpng' 'libtiff' 'openexr' 'libgl' 'glu' 'boost' 'help2man' 'texlive-bin') - # Not building doc fails if pdflatex is not available, hence texlive-bin above. - # Building doc is failing because of something FS#56460 related, but not sure why. - # 'texlive-latexextra' 'perl-readonly' 'perl-timedate' 'imagemagick' 'hevea' 'gnuplot' 'graphviz' 'librsvg') -replaces=('enblend') -conflicts=('enblend') -provides=('enblend') -source=(https://downloads.sourceforge.net/enblend/${pkgname}-${pkgver}.tar.gz) -sha256sums=('8703e324939ebd70d76afd350e56800f5ea2c053a040a5f5218b2a1a4300bd48') +license=(GPL) +depends=(lcms2 vigra gsl exiv2) +makedepends=(mercurial libjpeg libpng libtiff openexr zlib help2man boost) +# The latest revision moves to C++17 instead of boost but requires exiv2 2.28 which is currently unreleased +#source=(enblend-enfuse::hg+http://hg.code.sf.net/p/enblend/code#revision=b236375ad1a8 +source=(enblend-enfuse::hg+http://hg.code.sf.net/p/enblend/code#revision=4c30a326b3f4) +sha256sums=(SKIP) +pkgver() { + cd ${pkgname} + printf "4.2.r%s+h%s" "$(hg identify -n)" "$(hg identify -i)" +} + +prepare() { + cd ${pkgname} + make --makefile=Makefile.scm +} + build() { - cd ${pkgname}-${pkgver} - ./configure --prefix=/usr \ - --enable-openmp=yes \ - --enable-opencl=yes - make + cd ${pkgname} + ./configure \ + --prefix=/usr \ + --enable-openmp=yes \ + --enable-opencl=yes \ + --with-exiv2 \ + --with-openexr + make } package() { - cd ${pkgname}-${pkgver} - make DESTDIR="${pkgdir}" install + cd ${pkgname} + make DESTDIR="${pkgdir}" install }
