diff options
author | Bermond | 2016-02-14 01:49:29 -0200 |
---|---|---|
committer | Bermond | 2016-02-14 01:49:29 -0200 |
commit | 821366bed10ff71a8be654f442e2382cf8ba0a35 (patch) | |
tree | 0a3c033954d812308a3db9c29a9611ce9fbcfd06 | |
download | aur-821366bed10ff71a8be654f442e2382cf8ba0a35.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 78 | ||||
-rwxr-xr-x | PKGBUILD | 126 |
2 files changed, 204 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7624b0d44537 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,78 @@ +# Generated by mksrcinfo v8 +# Sun Feb 14 03:46:16 UTC 2016 +pkgbase = imagemagick-full-git + pkgdesc = An image viewing/manipulation program (Q32 HDRI with all libs and features, Git version) + pkgver = 7.0.0.0.r10577.g0ff89d1 + pkgrel = 1 + url = http://www.imagemagick.org/ + arch = i686 + arch = x86_64 + license = custom + depends = jemalloc + depends = bzip2 + depends = libx11 + depends = libxext + depends = libxt + depends = libsm + depends = zlib + depends = autotrace-nomagick + depends = fftw + depends = libfpx + depends = djvulibre + depends = fontconfig + depends = freetype2 + depends = libraqm + depends = ghostscript + depends = gsfonts + depends = graphviz + depends = jbigkit + depends = libjpeg-turbo + depends = lcms + depends = lcms2 + depends = openjpeg2 + depends = liblqr + depends = xz + depends = openexr + depends = pango + depends = libpng + depends = librsvg + depends = libtiff + depends = libwebp + depends = libwmf + depends = libxml2 + depends = libmpeg2 + depends = opencl-headers + depends = ocl-icd + provides = imagemagick + provides = imagemagick-full + provides = imagemagick-git + provides = imagemagick-fftw + provides = libMagickCore-7.Q32HDRI.so + provides = libMagickWand-7.Q32HDRI.so + provides = libMagick++-7.Q32HDRI.so + conflicts = imagemagick + conflicts = imagemagick-full + conflicts = imagemagick-git + conflicts = imagemagick-fftw + conflicts = imagemagick-no-hdri + options = !docs + options = libtool + options = !emptydirs + backup = etc/ImageMagick-7/coder.xml + backup = etc/ImageMagick-7/colors.xml + backup = etc/ImageMagick-7/delegates.xml + backup = etc/ImageMagick-7/log.xml + backup = etc/ImageMagick-7/magic.xml + backup = etc/ImageMagick-7/mime.xml + backup = etc/ImageMagick-7/policy.xml + backup = etc/ImageMagick-7/quantization-table.xml + backup = etc/ImageMagick-7/thresholds.xml + backup = etc/ImageMagick-7/type.xml + backup = etc/ImageMagick-7/type-dejavu.xml + backup = etc/ImageMagick-7/type-ghostscript.xml + backup = etc/ImageMagick-7/type-windows.xml + source = imagemagick-full-git::git+http://git.imagemagick.org/repos/ImageMagick.git + sha256sums = SKIP + +pkgname = imagemagick-full-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100755 index 000000000000..7c03e806a241 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,126 @@ +# Maintainer: Daniel Bermond < yahoo-com: danielbermond > + +# ImageMagick compiled with all features and delegate libraries. +# Using quantum depth 32 (Q32) and HDRI. +# NOTE: DPS (Display PostScript) feature is obsolete and thus not enabled. +# For more information about DPS being obsolete please visit: +# http://www.x.org/releases/X11R7.7/doc/xorg-docs/graphics/dps.html + +# NOTE: +# Change font directories bellow to match yours. +# DeJaVu and GhostScript font directories provided bellow are the default ones. +# Windows font directory provided bellow is set according to the example in Arch Linux Wiki. + +_dejavu_font_dir="/usr/share/fonts/TTF" +_gs_font_dir="/usr/share/fonts/Type1" +_windows_font_dir="/usr/share/fonts/WindowsFonts" +pkgname=imagemagick-full-git +pkgver=7.0.0.0.r10577.g0ff89d1 +pkgrel=1 +pkgdesc="An image viewing/manipulation program (Q32 HDRI with all libs and features, Git version)" +arch=('i686' 'x86_64') +url="http://www.imagemagick.org/" +license=('custom') +depends=('jemalloc' 'bzip2' 'libx11' 'libxext' 'libxt' 'libsm' 'zlib' 'autotrace-nomagick' 'fftw' + 'libfpx' 'djvulibre' 'fontconfig' 'freetype2' 'libraqm' 'ghostscript' 'gsfonts' 'graphviz' + 'jbigkit' 'libjpeg-turbo' 'lcms' 'lcms2' 'openjpeg2' 'liblqr' 'xz' 'openexr' 'pango' 'libpng' + 'librsvg' 'libtiff' 'libwebp' 'libwmf' 'libxml2' 'libmpeg2' 'opencl-headers' 'ocl-icd') +provides=('imagemagick' 'imagemagick-full' 'imagemagick-git' 'imagemagick-fftw' + 'libMagickCore-7.Q32HDRI.so' 'libMagickWand-7.Q32HDRI.so' 'libMagick++-7.Q32HDRI.so') +conflicts=('imagemagick' 'imagemagick-full' 'imagemagick-git' 'imagemagick-fftw' 'imagemagick-no-hdri') +backup=("etc/ImageMagick-${pkgver%%.*}/coder.xml" + "etc/ImageMagick-${pkgver%%.*}/colors.xml" + "etc/ImageMagick-${pkgver%%.*}/delegates.xml" + "etc/ImageMagick-${pkgver%%.*}/log.xml" + "etc/ImageMagick-${pkgver%%.*}/magic.xml" + "etc/ImageMagick-${pkgver%%.*}/mime.xml" + "etc/ImageMagick-${pkgver%%.*}/policy.xml" + "etc/ImageMagick-${pkgver%%.*}/quantization-table.xml" + "etc/ImageMagick-${pkgver%%.*}/thresholds.xml" + "etc/ImageMagick-${pkgver%%.*}/type.xml" + "etc/ImageMagick-${pkgver%%.*}/type-dejavu.xml" + "etc/ImageMagick-${pkgver%%.*}/type-ghostscript.xml" + "etc/ImageMagick-${pkgver%%.*}/type-windows.xml") +options=('!docs' 'libtool' '!emptydirs') +source=("$pkgname"::'git+http://git.imagemagick.org/repos/ImageMagick.git') +sha256sums=('SKIP') + +pkgver() { + cd "${srcdir}/${pkgname}" + + # Git, no tags available + + local _version="$(grep "PACKAGE_VERSION=" version.sh | grep -o '[0-9.]*')" + local _release="$(grep "PACKAGE_RELEASE=" version.sh | grep -o '[0-9]')" + local _revision="$(printf "r%s.g%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)")" + + printf "%s.%s.%s" "$_version" "$_release" "$_revision" +} + +build() { + cd "${srcdir}/${pkgname}" + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --enable-static=no \ + --enable-shared=yes \ + --enable-fast-install=yes \ + --enable-openmp \ + --enable-opencl \ + --enable-largefile \ + --enable-cipher \ + --enable-hdri \ + --enable-hugepages \ + --enable-docs \ + --disable-delegate-build \ + --with-threads \ + --with-modules \ + --with-quantum-depth=32 \ + --with-magick-plus-plus \ + --with-perl \ + --with-perl-options="INSTALLDIRS=vendor" \ + --with-jemalloc \ + --with-umem \ + --with-bzlib \ + --with-x \ + --with-zlib \ + --with-autotrace \ + --without-dps \ + --with-fftw \ + --with-fpx \ + --with-djvu \ + --with-fontconfig \ + --with-freetype \ + --with-raqm \ + --with-gslib \ + --with-gvc \ + --with-jbig \ + --with-jpeg \ + --with-lcms \ + --with-openjp2 \ + --with-lqr \ + --with-lzma \ + --with-openexr \ + --with-pango \ + --with-png \ + --with-rsvg \ + --with-tiff \ + --with-webp \ + --with-wmf \ + --with-xml \ + --with-dejavu-font-dir="$_dejavu_font_dir" \ + --with-gs-font-dir="$_gs_font_dir" \ + --with-windows-font-dir="$_windows_font_dir" + + make +} + +package() { + cd "${srcdir}/${pkgname}" + + make -j1 DESTDIR="$pkgdir/" install + + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -D -m644 NOTICE "${pkgdir}/usr/share/licenses/${pkgname}/NOTICE" +} |