diff options
author | Tim Harder <radhermit@gentoo.org> | 2016-03-06 15:16:22 -0500 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2016-03-06 15:19:53 -0500 |
commit | ce10c4018d7dd9a9136935ae176effd2beafcee7 (patch) | |
tree | 10618b4282311ad0e585635dce5c02e6629bc409 /media-gfx/graphicsmagick | |
parent | app-misc/dateutils: version bump to 0.3.5 (diff) | |
download | gentoo-ce10c4018d7dd9a9136935ae176effd2beafcee7.tar.gz gentoo-ce10c4018d7dd9a9136935ae176effd2beafcee7.tar.bz2 gentoo-ce10c4018d7dd9a9136935ae176effd2beafcee7.zip |
media-gfx/graphicsmagick: version bump to 1.3.23
Diffstat (limited to 'media-gfx/graphicsmagick')
-rw-r--r-- | media-gfx/graphicsmagick/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/graphicsmagick/graphicsmagick-1.3.23.ebuild | 128 |
2 files changed, 129 insertions, 0 deletions
diff --git a/media-gfx/graphicsmagick/Manifest b/media-gfx/graphicsmagick/Manifest index c91e31d38f49..286fc45d7493 100644 --- a/media-gfx/graphicsmagick/Manifest +++ b/media-gfx/graphicsmagick/Manifest @@ -1,3 +1,4 @@ DIST GraphicsMagick-1.3.18.tar.xz 5124436 SHA256 fd48eebe200793e6f62a2b7d96413c94a8967ab56295605513898e2c8524b0ab SHA512 c04dbca467d2ac94d9c47818c7087954ceb54a736fdd062be6d499319037f4bbca3a779542d8acad262b59cb599521f895177574a21975f496ba57061b64b960 WHIRLPOOL d3b396d1cf3691f4aec1387066a55e4105e220cba22ef690234cb8724e955cc5dd4e39c269fddf610d61249850499facaaa54d2150660ed8f5126554a27c11dc DIST GraphicsMagick-1.3.19.tar.xz 5153772 SHA256 de64372bb7bbff18cf14afd35c8239d9588592f053fd51a82f7239ad42174a54 SHA512 cdfbdc75356ade5037eab836739e7e59156d8b3555112d350f25e47072142e19d47ea9da718d93e40fd864c5bb88810737c078d6fbee9950b964f49519881f6e WHIRLPOOL d4cc6eba8472a5e25cbc9e6b49ec5e1449f1b44e2962936b35227c654d3712d65b4201938127e758be2a6f1818a099de04be4761fd115d3806749965f5c42282 DIST GraphicsMagick-1.3.20.tar.xz 5206616 SHA256 35fa21da4c1479e08da8351c5b1e363adaca803a0064cfc83084363adce387c9 SHA512 59f5eece3a38a98aea43bfc2aefd9c2df458c7f836c8ac05e908c29ea1de295e3f26b63f8daeadac4f40094e5d50aa860472c48e7a52e9f694471d0dcc5bbe37 WHIRLPOOL 13bc6154fbb2224eefdb6f437179a279f8959b4ccff9dc8eb6ef2cec205774a2a7cac4093ac81d36ba22a9879edaca15576ecc56e91da0318b7fffe029a6aecc +DIST GraphicsMagick-1.3.23.tar.xz 5355200 SHA256 fd2535a529528ec6f0bd493fed4395e08082faf940d51d7c18c25586a0a0e60d SHA512 40f0a2d96ea568cc6e52ae0003c2ad393b2cffc6eabb85db78cb22af00eafec3fa1e64ebb26eed4a271f7a54c35c3b985e99a3d0b404fd025f4dba156856c99a WHIRLPOOL a1745035437981205543652e472f1f8a24402555657f79357d87402635f4e10026051ca7850ff6d655ab6321360702f2be80bf5443ca3e83cc471a84382f0107 diff --git a/media-gfx/graphicsmagick/graphicsmagick-1.3.23.ebuild b/media-gfx/graphicsmagick/graphicsmagick-1.3.23.ebuild new file mode 100644 index 000000000000..f217ee82d706 --- /dev/null +++ b/media-gfx/graphicsmagick/graphicsmagick-1.3.23.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils toolchain-funcs + +MY_P=${P/graphicsm/GraphicsM} + +DESCRIPTION="Collection of tools and libraries for many image formats" +HOMEPAGE="http://www.graphicsmagick.org/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="bzip2 cxx debug fpx imagemagick jbig jpeg jpeg2k lcms lzma modules openmp + perl png postscript q16 q32 static-libs svg threads tiff truetype webp wmf X zlib" + +RDEPEND=">=sys-devel/libtool-2.2.6b + bzip2? ( app-arch/bzip2 ) + fpx? ( media-libs/libfpx ) + imagemagick? ( !media-gfx/imagemagick ) + jbig? ( media-libs/jbigkit ) + jpeg? ( virtual/jpeg:0 ) + jpeg2k? ( media-libs/jasper ) + lcms? ( media-libs/lcms:2 ) + lzma? ( app-arch/xz-utils ) + perl? ( dev-lang/perl ) + png? ( media-libs/libpng:0 ) + postscript? ( app-text/ghostscript-gpl ) + svg? ( dev-libs/libxml2 ) + tiff? ( media-libs/tiff:0 ) + truetype? ( + media-fonts/urw-fonts + >=media-libs/freetype-2 + ) + webp? ( media-libs/libwebp ) + wmf? ( media-libs/libwmf ) + X? ( + x11-libs/libSM + x11-libs/libXext + ) + zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.3.19-flags.patch + epatch "${FILESDIR}"/${PN}-1.3.19-perl.patch + epatch "${FILESDIR}"/${PN}-1.3.20-powerpc.patch + + epatch_user #498942 + + eautoreconf +} + +src_configure() { + local depth=8 + use q16 && depth=16 + use q32 && depth=32 + + local openmp=disable + if use openmp && tc-has-openmp; then + openmp=enable + fi + + econf \ + --docdir="${EPREFIX}"/usr/share/doc/${PF} \ + --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ + --${openmp}-openmp \ + --enable-largefile \ + --enable-shared \ + $(use_enable static-libs static) \ + $(use_enable debug prof) \ + $(use_enable debug gcov) \ + $(use_enable imagemagick magick-compat) \ + $(use_with threads) \ + $(use_with modules) \ + --with-quantum-depth=${depth} \ + --without-frozenpaths \ + $(use_with cxx magick-plus-plus) \ + $(use_with perl) \ + --with-perl-options=INSTALLDIRS=vendor \ + $(use_with bzip2 bzlib) \ + $(use_with postscript dps) \ + $(use_with fpx) \ + --without-gslib \ + $(use_with jbig) \ + $(use_with webp) \ + $(use_with jpeg) \ + $(use_with jpeg2k jp2) \ + $(use_with lcms lcms2) \ + $(use_with lzma) \ + $(use_with png) \ + $(use_with tiff) \ + $(use_with truetype ttf) \ + $(use_with wmf) \ + --with-fontpath="${EPREFIX}"/usr/share/fonts \ + --with-gs-font-dir="${EPREFIX}"/usr/share/fonts/urw-fonts \ + --with-windows-font-dir="${EPREFIX}"/usr/share/fonts/corefonts \ + $(use_with svg xml) \ + $(use_with zlib) \ + $(use_with X x) +} + +src_compile() { + default + use perl && emake perl-build +} + +src_test() { + unset DISPLAY # some perl tests fail when DISPLAY is set + default +} + +src_install() { + default + + if use perl; then + emake -C PerlMagick DESTDIR="${D}" install + find "${ED}" -type f -name perllocal.pod -exec rm -f {} + + find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} + + fi + + find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} + +} |