diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-08-29 11:24:07 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-08-29 11:24:07 -0300 |
commit | 38bae167f23bd509b81394975c012b8abb1693d7 (patch) | |
tree | 3b926bce43f03c0366d78ad6253cbdf9520235d4 /community/gmic | |
parent | 2bcb8acb8b02bde03c5d285baafe754760788265 (diff) | |
parent | 498a4346616c33beac56d48a246cf27fe3812341 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/espeak/PKGBUILD
community/gmic/PKGBUILD
extra/dhcp/PKGBUILD
extra/hspell/PKGBUILD
extra/libatasmart/PKGBUILD
extra/udisks/PKGBUILD
extra/xorg-server/PKGBUILD
testing/libdrm/PKGBUILD
testing/libdrm/no-pthread-stubs.patch
testing/systemd/PKGBUILD
Diffstat (limited to 'community/gmic')
-rw-r--r-- | community/gmic/PKGBUILD | 57 |
1 files changed, 35 insertions, 22 deletions
diff --git a/community/gmic/PKGBUILD b/community/gmic/PKGBUILD index f7f169d90..7fcc2020b 100644 --- a/community/gmic/PKGBUILD +++ b/community/gmic/PKGBUILD @@ -1,45 +1,58 @@ -# $Id: PKGBUILD 75539 2012-08-26 22:26:59Z spupykin $ +# $Id: PKGBUILD 75579 2012-08-27 10:53:33Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com> # Contributor: farid <farid at archlinuc-br.org> # Contributor: Archie <Mymaud@gmail.com> pkgbase=gmic -pkgname=('gmic' 'gimp-plugin-gmic') +pkgname=("gmic" "gimp-plugin-gmic" "zart") pkgver=1.5.1.8 -pkgrel=1 -pkgdesc="image procession framework" +pkgrel=2 arch=('i686' 'x86_64' 'mips64el') -license=('custom:CeCILL') url="http://gmic.sourceforge.net" -makedepends=('gimp' 'fftw' 'lapack' 'opencv' 'graphicsmagick' 'openexr' 'imagemagick' 'qt') -options=('docs' '!emptydirs') -source=("http://downloads.sourceforge.net/sourceforge/gmic/gmic_$pkgver.tar.gz" - opencv-buildfix.patch) +license=("custom:CeCILL") +makedepends=("gimp" "qt" "fftw" "openexr" "opencv") +#options=('!emptydirs') +source=("http://downloads.sourceforge.net/sourceforge/gmic/gmic_${pkgver}.tar.gz" + "opencv-buildfix.patch") md5sums=('1fc38346269bdd829dd7c4864a27fbc3' '8d1cf5000239099255d25c7d3dbe5728') build() { - cd "$srcdir/gmic-$pkgver" - patch -p1 <$srcdir/opencv-buildfix.patch + cd "${srcdir}/gmic-${pkgver}" + patch -p1 -i "${srcdir}/opencv-buildfix.patch" + find "${srcdir}/gmic-${pkgver}/zart" -type f -execdir chmod 644 '{}' \; + find "${srcdir}/gmic-${pkgver}/zart" -type d -execdir chmod 755 '{}' \; make -C src all } package_gmic() { - depends=('fftw' 'lapack' 'opencv' 'graphicsmagick' 'openexr') - replaces=('greycstoration') + pkgdesc="GREYC's Magic Image Converter: image processing framework" + depends=("fftw" "libtiff" "libjpeg" "libpng" "openexr" "libx11") + replaces=("greycstoration") - cd "$srcdir/gmic-$pkgver" - make -C src install DESTDIR="$pkgdir" USR=/usr - install -Dm644 COPYING "$pkgdir/usr/share/licenses/gmic/LICENSE" + cd "${srcdir}/gmic-${pkgver}" + 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} +} + +package_zart() { + pkgdesc="A GUI for G'MIC real-time manipulations on the output of a webcam" + depends=("opencv" "fftw" "qt") + + cd "${srcdir}/gmic-${pkgver}" + make -C src install DESTDIR="$pkgdir" USR="/usr" + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + rm -rf "${pkgdir}/usr/"{bin/gmic,include,lib,share/{man,bash-completion}} } package_gimp-plugin-gmic() { - pkgdesc="Gimp plugin for the GMIC image procession framework" - depends=('gimp' 'fftw' 'lapack') - replaces=('gimp-plugin-greycstoration' 'gimp-plugin-gmic4gimp') + pkgdesc="Gimp plugin for the G'MIC image processing framework" + depends=("gimp" "fftw") + replaces=("gimp-plugin-greycstoration" "gimp-plugin-gmic4gimp") - cd "$srcdir/gmic-$pkgver" - install -Dm755 src/gmic_gimp "$pkgdir/usr/lib/gimp/2.0/plug-ins/gmic_gimp" - install -Dm644 COPYING "$pkgdir/usr/share/licenses/gimp-plugin-gmic/LICENSE" + cd "${srcdir}/gmic-${pkgver}" + install -Dm755 src/gmic_gimp "${pkgdir}/usr/lib/gimp/2.0/plug-ins/gmic_gimp" + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |