[arch-commits] Commit in gmic/repos/community-x86_64 (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue May 8 20:17:20 UTC 2018
Date: Tuesday, May 8, 2018 @ 20:17:19
Author: arojas
Revision: 319706
archrelease: copy trunk to community-x86_64
Added:
gmic/repos/community-x86_64/PKGBUILD
(from rev 319705, gmic/trunk/PKGBUILD)
Deleted:
gmic/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 139 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 70 insertions(+), 69 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-08 20:16:44 UTC (rev 319705)
+++ PKGBUILD 2018-05-08 20:17:19 UTC (rev 319706)
@@ -1,69 +0,0 @@
-# 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.2.2
-_commit=26c271d8a721447f24f118c9d0236a02118d0009
-pkgrel=1
-arch=(x86_64)
-url="http://gmic.eu/"
-license=(custom:CeCILL)
-makedepends=(gimp qt5-base fftw openexr opencv git hdf5 gtkglext)
-source=("https://gmic.eu/files/source/gmic_$pkgver.tar.gz"
- git://github.com/dtschump/gmic-community.git#commit=$_commit
- gmic-qt-v.$pkgver.tar.gz::"https://github.com/c-koi/gmic-qt/archive/v.$pkgver.tar.gz")
-sha256sums=('cce23f791c7c9f4a09ef00c4b696b29fe2ee55725cc03e9273c3da52bd900e7f'
- 'SKIP'
- '13bb8e3207af1e6aac0b3c2694e8bb212bb14e574c5fa9d6d2899966d1ee835f')
-
-prepare() {
- mv gmic-$pkgver gmic
- mv gmic-community/zart zart
- mv gmic-qt-v.$pkgver 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 gmic/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/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)
-
- install -Dm755 gmic/gmic-qt/gmic_krita_qt -t "$pkgdir"/usr/bin/
-}
Copied: gmic/repos/community-x86_64/PKGBUILD (from rev 319705, gmic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-08 20:17:19 UTC (rev 319706)
@@ -0,0 +1,70 @@
+# 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.2.2
+_commit=26c271d8a721447f24f118c9d0236a02118d0009
+pkgrel=2
+arch=(x86_64)
+url="http://gmic.eu/"
+license=(custom:CeCILL)
+makedepends=(gimp qt5-base fftw openexr opencv git)
+source=("https://gmic.eu/files/source/gmic_$pkgver.tar.gz"
+ git://github.com/dtschump/gmic-community.git#commit=$_commit
+ gmic-qt-v.$pkgver.tar.gz::"https://github.com/c-koi/gmic-qt/archive/v.$pkgver.tar.gz")
+sha256sums=('cce23f791c7c9f4a09ef00c4b696b29fe2ee55725cc03e9273c3da52bd900e7f'
+ 'SKIP'
+ '13bb8e3207af1e6aac0b3c2694e8bb212bb14e574c5fa9d6d2899966d1ee835f')
+
+prepare() {
+ mv gmic-$pkgver gmic
+ mv gmic-community/zart zart
+ mv gmic-qt-v.$pkgver 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
+ sed -e 's/pkg-config opencv --libs ||//' -e 's/-lopencv_highgui/-lopencv_videoio/' -i gmic/src/Makefile # fix overlinking
+}
+
+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 gmic/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/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)
+
+ install -Dm755 gmic/gmic-qt/gmic_krita_qt -t "$pkgdir"/usr/bin/
+}
More information about the arch-commits
mailing list