community/gmic to 2.0.4-1

This commit is contained in:
David Beauchamp 2017-09-27 12:06:47 -04:00
parent 4384d22207
commit 7b5e335cd0

View file

@ -11,9 +11,9 @@ highmem=1
pkgbase=gmic pkgbase=gmic
pkgname=("gmic" "gimp-plugin-gmic" "zart") pkgname=("gmic" "gimp-plugin-gmic" "zart")
pkgver=2.0.3 pkgver=2.0.4
gmic_qt_ver=2.0.0 gmic_qt_ver=.204
_commit=ffc89e7f8a7491f35191fe7e5ffce531128d77ef _commit=2afae7108fb45d6c88a0a0b0d8e220c6dddb6be1
pkgrel=1 pkgrel=1
arch=("i686" "x86_64") arch=("i686" "x86_64")
url="http://gmic.eu/" url="http://gmic.eu/"
@ -21,17 +21,17 @@ license=("custom:CeCILL")
makedepends=('gimp' 'qt5-base' 'fftw' 'openexr' 'opencv' 'mesa' 'gtk2' 'git' 'hdf5') makedepends=('gimp' 'qt5-base' 'fftw' 'openexr' 'opencv' 'mesa' 'gtk2' 'git' 'hdf5')
source=("https://gmic.eu/files/source/gmic_$pkgver.tar.gz" source=("https://gmic.eu/files/source/gmic_$pkgver.tar.gz"
"git://github.com/dtschump/gmic-community.git#commit=${_commit}" "git://github.com/dtschump/gmic-community.git#commit=${_commit}"
"https://github.com/c-koi/gmic-qt/archive/v$gmic_qt_ver.tar.gz") "gmic-qt-v$gmic_qt_ver.tar.gz::https://github.com/c-koi/gmic-qt/archive/v$gmic_qt_ver.tar.gz")
sha256sums=('b1f65aba4aa76bdf6da1ad923018de6844f5b76f9974978b4b12be108f87261e' sha256sums=('d2f9cb362668b1905c62d57a6fb73c15974841961c58c250a568854c0e4c9e55'
'SKIP' 'SKIP'
'286fc5be19f7ad63b9a20e22ed62064c4cc2bf5113caf59d835e6cd09d81b822') 'cd4170adbe916802e8ced03b6e63dea5ba9bf26a1e29e01cebf07a4001d1a126')
prepare() { prepare() {
mv "${srcdir}/gmic-${pkgver}" "${srcdir}/gmic" mv "${srcdir}/gmic-${pkgver}" "${srcdir}/gmic"
cd "${srcdir}/gmic" cd "${srcdir}/gmic"
ln -sf ../gmic-community/zart zart ln -sf ../gmic-community/zart zart
ln -sf ../gmic-qt-$gmic_qt_ver gmic-qt ln -sf ../gmic-qt-v$gmic_qt_ver gmic-qt
sed -i "s|-mtune=generic|${CFLAGS}|" src/Makefile sed -i "s|-mtune=generic|${CFLAGS}|" src/Makefile