[arch-commits] Commit in gmic/repos/community-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Fri Dec 22 07:37:05 UTC 2017


    Date: Friday, December 22, 2017 @ 07:37:04
  Author: arojas
Revision: 275488

archrelease: copy trunk to community-x86_64

Added:
  gmic/repos/community-x86_64/PKGBUILD
    (from rev 275487, gmic/trunk/PKGBUILD)
Deleted:
  gmic/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  149 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 71 insertions(+), 78 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-22 07:36:37 UTC (rev 275487)
+++ PKGBUILD	2017-12-22 07:37:04 UTC (rev 275488)
@@ -1,78 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer: Jan "heftig" Steffens <jan.steffens at gmail.com>
-# Contributor: farid <farid at archlinuc-br.org>
-# Contributor: Archie <Mymaud at gmail.com>
-
-pkgbase=gmic
-pkgname=("gmic" "gimp-plugin-gmic" "zart" "krita-plugin-gmic")
-pkgver=2.1.5
-gmic_qt_ver=.215
-_commit=26c271d8a721447f24f118c9d0236a02118d0009
-pkgrel=1
-arch=("x86_64")
-url="http://gmic.eu/"
-license=("custom:CeCILL")
-makedepends=('gimp' 'qt5-base' 'fftw' 'openexr' 'opencv' 'mesa' 'gtk2' 'git' 'hdf5')
-source=("https://gmic.eu/files/source/gmic_$pkgver.tar.gz"
-	"git://github.com/dtschump/gmic-community.git#commit=${_commit}"
-	"gmic-qt-v$gmic_qt_ver.tar.gz::https://github.com/c-koi/gmic-qt/archive/v$gmic_qt_ver.tar.gz")
-sha256sums=('2f3de90a09bba6d24c89258be016fd6992886bda13dbbcaf03de58c765774845'
-            'SKIP'
-            'f2c6f7301e47e691f0ca578959bbbb1a5a29c4bdaa493f2720987cec6f32d3d4')
-
-prepare() {
-  mv "${srcdir}/gmic-${pkgver}" "${srcdir}/gmic"
-  cd "${srcdir}/gmic"
-
-  ln -sf ../gmic-community/zart zart
-  ln -sf ../gmic-qt-v$gmic_qt_ver gmic-qt
-
-  sed -i -e 's|/etc/bash_completion.d|/usr/share/bash-completion/completions|g' \
-    src/Makefile
-  sed -i -e 's|-Ofast|-O2 -fno-fast-math|g' \
-    gmic-qt/gmic_qt.pro
-}
-
-build() {
-  cd "${srcdir}/gmic"
-  (cd zart && qmake -o Makefile zart.pro)
-  make -C src all WGET=/bin/true -j1
-  make -C zart all WGET=/bin/true
-}
-
-package_gmic() {
-  pkgdesc="GREYC's Magic Image Converter: image processing framework"
-  depends=("opencv" "fftw" "libtiff" "libjpeg" "libpng" "openexr" "libx11" "hdf5" "curl")
-
-  cd "${srcdir}/gmic"
-  make -C src install DESTDIR="$pkgdir" USR="/usr"
-  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  rm -rf "${pkgdir}/usr/"{bin/zart,lib/gimp,share/zart,bin/gmic_krita_qt}
-}
-
-package_zart() {
-  pkgdesc="A GUI for G'MIC real-time manipulations on the output of a webcam"
-  depends=("opencv" "fftw" "qt5-base")
-
-  cd "${srcdir}/gmic"
-  install -Dm755 zart/zart "${pkgdir}/usr/bin/zart"
-  install -Dm644 zart/Licence_CeCILL_V2-en.html "${pkgdir}/usr/share/licenses/${pkgname}/Licence_CeCILL_V2-en.html"
-}
-
-package_gimp-plugin-gmic() {
-  pkgdesc="Gimp plugin for the G'MIC image processing framework"
-  depends=("opencv" "gimp" "fftw" "qt5-base" "curl")
-
-  cd "${srcdir}/gmic"
-  install -Dm755 gmic-qt/gmic_gimp_qt "${pkgdir}/usr/lib/gimp/2.0/plug-ins/gmic_gimp"
-  install -Dm644 gmic-qt/COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_krita-plugin-gmic() {
-  pkgdesc="Krita plugin for the G'MIC image processing framework"
-  depends=('krita')
-
-  cd gmic/gmic-qt
-  install -Dm755 gmic_krita_qt -t "${pkgdir}"/usr/bin/
-}

Copied: gmic/repos/community-x86_64/PKGBUILD (from rev 275487, gmic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-22 07:37:04 UTC (rev 275488)
@@ -0,0 +1,71 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Jan "heftig" Steffens <jan.steffens at gmail.com>
+# Contributor: farid <farid at archlinuc-br.org>
+# Contributor: Archie <Mymaud at gmail.com>
+
+pkgbase=gmic
+pkgname=(gmic zart gimp-plugin-gmic krita-plugin-gmic)
+pkgver=2.1.7
+_gmic_qt_ver=.215
+_commit=26c271d8a721447f24f118c9d0236a02118d0009
+pkgrel=1
+arch=(x86_64)
+url="http://gmic.eu/"
+license=(custom:CeCILL)
+makedepends=(gimp qt5-base fftw openexr opencv git hdf5)
+source=("https://gmic.eu/files/source/gmic_$pkgver.tar.gz"
+        git://github.com/dtschump/gmic-community.git#commit=$_commit
+	gmic-qt-v$gmic_qt_ver.tar.gz::"https://github.com/c-koi/gmic-qt/archive/v$_gmic_qt_ver.tar.gz")
+sha256sums=('5a927b6ab597d760c42efe2ee397757d1b4ba2b61684ec6ee10920cd59dfcfc2'
+            'SKIP'
+            'f2c6f7301e47e691f0ca578959bbbb1a5a29c4bdaa493f2720987cec6f32d3d4')
+
+prepare() {
+  mv gmic-$pkgver gmic
+  mv gmic-community/zart zart
+  mv gmic-qt-v$_gmic_qt_ver gmic-qt
+
+  sed -e 's|/etc/bash_completion.d|/usr/share/bash-completion/completions|g' -i gmic/src/Makefile
+  sed -e 's|-Ofast|-O2 -fno-fast-math|g' -i gmic-qt/gmic_qt.pro
+}
+
+build() {
+  cd gmic
+  make -C src all WGET=/bin/true -j1
+}
+
+package_gmic() {
+  pkgdesc="GREYC's Magic Image Converter: image processing framework"
+  depends=(opencv fftw curl)
+  optdepends=('qt5-base: for the Qt UI')
+
+  cd gmic/src
+  make DESTDIR="$pkgdir" install
+  install -Dm644 ../COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm -rf "$pkgdir"/usr/{bin/zart,lib/gimp,share/zart,bin/gmic_krita_qt}
+}
+
+package_zart() {
+  pkgdesc="A GUI for G'MIC real-time manipulations on the output of a webcam"
+  depends=(opencv fftw qt5-base)
+
+  install -Dm755 zart/zart -t "$pkgdir"/usr/bin
+  install -Dm644 zart/Licence_CeCILL_V2-en.html -t "$pkgdir"/usr/share/licenses/$pkgname
+}
+
+package_gimp-plugin-gmic() {
+  pkgdesc="Gimp plugin for the G'MIC image processing framework"
+  depends=(gimp fftw qt5-base curl)
+
+  install -Dm755 gmic-qt/gmic_gimp_qt "$pkgdir"/usr/lib/gimp/2.0/plug-ins/gmic_gimp
+  install -Dm644 gmic-qt/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_krita-plugin-gmic() {
+  pkgdesc="Krita plugin for the G'MIC image processing framework"
+  depends=(krita)
+
+  cd gmic-qt
+  install -Dm755 gmic_krita_qt -t "$pkgdir"/usr/bin/
+}



More information about the arch-commits mailing list