diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2016-05-02 08:03:01 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2016-05-02 08:04:05 +0200 |
commit | f0cc47ce77b6b859b28840000f03ae4e86d20094 (patch) | |
tree | e3a2a5d24cdc5af2deeb643b1215d5db9f4ca5a1 /media-gfx/imagemagick | |
parent | dev-db/rqlite: update github remote-id (diff) | |
download | gentoo-f0cc47ce77b6b859b28840000f03ae4e86d20094.tar.gz gentoo-f0cc47ce77b6b859b28840000f03ae4e86d20094.tar.bz2 gentoo-f0cc47ce77b6b859b28840000f03ae4e86d20094.zip |
media-gfx/imagemagick: Bump to version 7.0.1.0
Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-gfx/imagemagick')
-rw-r--r-- | media-gfx/imagemagick/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/imagemagick/imagemagick-7.0.1.0.ebuild | 178 |
2 files changed, 179 insertions, 0 deletions
diff --git a/media-gfx/imagemagick/Manifest b/media-gfx/imagemagick/Manifest index c13dce7543bd..b146d53ad978 100644 --- a/media-gfx/imagemagick/Manifest +++ b/media-gfx/imagemagick/Manifest @@ -2,3 +2,4 @@ DIST ImageMagick-6.9.0-3.tar.xz 7898568 SHA256 f00452ba2c05c2df9624c62d7adb49ecf DIST ImageMagick-6.9.1-8.tar.xz 8286604 SHA256 987b353058482b5ba15d42746eebc51c15eb05241ce94f22381b8aae0b841617 SHA512 feace56b4a409fa91b2827a3eae1a870541528a3f327e5d06a96ff4f97e8d94418c8f92e731b7276c41aef321584a75a4621fa2f361e9b20309a546d9a1f9fea WHIRLPOOL d2e3aa949a216829c5f2bea1149c31b0cd5ef83d0855863e6b0682afc0ee9fcc1f516893b9b0f612c5e64cb746225c3f9c2ab1c3f29332a6904ca53cb9117e7b DIST ImageMagick-6.9.2-0.tar.xz 8241360 SHA256 07a2de28f7f9ab888ef47c02eb7e10cc3e0dd0e9797c5d71d6e71d19f842399e SHA512 fc8c0f26447dc8225a30fd0c6e373cbc10161abffb9f511f137b1a78c2ab764782b3a2ce984177f99e0d5057a674465ebb27ff1260cef59ef3f8a73c82a8b617 WHIRLPOOL d53b963c15c79ff7de0077af2c2af740eb78c29a988a088b50ba8b79c2179def6e62806de6d30fced165df24eccf1019c42a1a130bef63066e824fadea4f3c0b DIST ImageMagick-6.9.2-10.tar.xz 8755528 SHA256 da2f6fba43d69f20ddb11783f13f77782b0b57783dde9cda39c9e5e733c2013c SHA512 707e4f8008a74dd4203f3535569e4f00006341d5ecadcd6924826768f94dafc3eb3b67f8d04cf9d6310c6d8cc87c86b2eb6b6529020481fc0412911cfa2defba WHIRLPOOL 33a405cfd89832cd1adc8c72b4559d86120e303ec44df814ec5af79d8ef3e2c67d404110b8090e8b52b4eb6c1e843e24478859f47425ec67a23a5ff5b78fc219 +DIST ImageMagick-7.0.1-0.tar.xz 8288172 SHA256 bd15aaef2aa2393b3d62b821f5752d5f4066a90d3b0d9259d93217ad47c056d9 SHA512 bbfc384820e6f933738c9c433ad9b471d1ac946179c3ef6cbd7d05cd566f13301021c5db0587f36e9c8eb9fd402b565d6c5373ee53294ebe3c29b2ca5731bbf6 WHIRLPOOL 90fc0095f24e6ebe0954f71bcd8364b8d185f487321d524f383289a9da91593153c95ba58307d0d944db309476a01824ff4bf1289a7b05a193966c4570f83586 diff --git a/media-gfx/imagemagick/imagemagick-7.0.1.0.ebuild b/media-gfx/imagemagick/imagemagick-7.0.1.0.ebuild new file mode 100644 index 000000000000..47260e1ab822 --- /dev/null +++ b/media-gfx/imagemagick/imagemagick-7.0.1.0.ebuild @@ -0,0 +1,178 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils flag-o-matic libtool multilib toolchain-funcs versionator + +MY_P=ImageMagick-$(replace_version_separator 3 '-') + +DESCRIPTION="A collection of tools and libraries for many image formats" +HOMEPAGE="http://www.imagemagick.org/" +SRC_URI="mirror://${PN}/${MY_P}.tar.xz" + +LICENSE="imagemagick" +SLOT="0/${PV}" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="autotrace bzip2 corefonts cxx djvu fftw fontconfig fpx graphviz hdri jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl png postscript q32 q64 q8 raw static-libs svg test tiff truetype webp wmf X xml zlib" + +RESTRICT="perl? ( userpriv )" + +RDEPEND=" + dev-libs/libltdl:0 + autotrace? ( >=media-gfx/autotrace-0.31.1 ) + bzip2? ( app-arch/bzip2 ) + corefonts? ( media-fonts/corefonts ) + djvu? ( app-text/djvu ) + fftw? ( sci-libs/fftw:3.0 ) + fontconfig? ( media-libs/fontconfig ) + fpx? ( >=media-libs/libfpx-1.3.0-r1 ) + graphviz? ( media-gfx/graphviz ) + jbig? ( >=media-libs/jbigkit-2:= ) + jpeg? ( virtual/jpeg:0 ) + jpeg2k? ( >=media-libs/openjpeg-2.1.0:2 ) + lcms? ( media-libs/lcms:2= ) + lqr? ( media-libs/liblqr ) + opencl? ( virtual/opencl ) + openexr? ( media-libs/openexr:0= ) + pango? ( x11-libs/pango ) + perl? ( >=dev-lang/perl-5.8.8:0= ) + png? ( media-libs/libpng:0= ) + postscript? ( app-text/ghostscript-gpl ) + raw? ( media-gfx/ufraw ) + svg? ( gnome-base/librsvg ) + tiff? ( media-libs/tiff:0= ) + truetype? ( + media-fonts/urw-fonts + >=media-libs/freetype-2 + ) + webp? ( media-libs/libwebp:0= ) + wmf? ( media-libs/libwmf ) + X? ( + x11-libs/libICE + x11-libs/libSM + x11-libs/libXext + x11-libs/libXt + ) + xml? ( dev-libs/libxml2:= ) + lzma? ( app-arch/xz-utils ) + zlib? ( sys-libs/zlib:= )" +DEPEND="${RDEPEND} + !media-gfx/graphicsmagick[imagemagick] + virtual/pkgconfig + X? ( x11-proto/xextproto )" + +REQUIRED_USE="corefonts? ( truetype ) + test? ( corefonts )" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + default + + elibtoolize # for Darwin modules + + # For testsuite, see https://bugs.gentoo.org/show_bug.cgi?id=500580#c3 + shopt -s nullglob + mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g') + if test -n "${mesa_cards}"; then + addpredict "${mesa_cards}" + fi + ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g') + if test -n "${ati_cards}"; then + addpredict "${ati_cards}" + fi + shopt -u nullglob + addpredict /dev/nvidiactl +} + +src_configure() { + local depth=16 + use q8 && depth=8 + use q32 && depth=32 + use q64 && depth=64 + + local openmp=disable + use openmp && { tc-has-openmp && openmp=enable; } + + [[ ${CHOST} == *-solaris* ]] && append-ldflags -lnsl -lsocket + + CONFIG_SHELL=$(type -P bash) \ + econf \ + $(use_enable static-libs static) \ + $(use_enable hdri) \ + $(use_enable opencl) \ + --with-threads \ + --with-modules \ + --with-quantum-depth=${depth} \ + $(use_with cxx magick-plus-plus) \ + $(use_with perl) \ + --with-perl-options='INSTALLDIRS=vendor' \ + --with-gs-font-dir="${EPREFIX}"/usr/share/fonts/urw-fonts \ + $(use_with bzip2 bzlib) \ + $(use_with X x) \ + $(use_with zlib) \ + $(use_with autotrace) \ + $(use_with postscript dps) \ + $(use_with djvu) \ + --with-dejavu-font-dir="${EPREFIX}"/usr/share/fonts/dejavu \ + $(use_with fftw) \ + $(use_with fpx) \ + $(use_with fontconfig) \ + $(use_with truetype freetype) \ + $(use_with postscript gslib) \ + $(use_with graphviz gvc) \ + $(use_with jbig) \ + $(use_with jpeg) \ + $(use_with jpeg2k openjp2) \ + $(use_with lcms) \ + $(use_with lqr) \ + $(use_with lzma) \ + $(use_with openexr) \ + $(use_with pango) \ + $(use_with png) \ + $(use_with svg rsvg) \ + $(use_with tiff) \ + $(use_with webp) \ + $(use_with corefonts windows-font-dir "${EPREFIX}"/usr/share/fonts/corefonts) \ + $(use_with wmf) \ + $(use_with xml) \ + --${openmp}-openmp \ + --with-gcc-arch=no-automagic +} + +src_test() { + LD_LIBRARY_PATH="${S}/coders/.libs:${S}/filters/.libs:${S}/Magick++/lib/.libs:${S}/magick/.libs:${S}/wand/.libs" \ + emake check +} + +src_install() { + # Ensure documentation installation files and paths with each release! + emake \ + DESTDIR="${D}" \ + DOCUMENTATION_PATH="${EPREFIX}"/usr/share/doc/${PF}/html \ + install + + rm -f "${ED}"/usr/share/doc/${PF}/html/{ChangeLog,LICENSE,NEWS.txt} + dodoc {AUTHORS,README}.txt ChangeLog + + if use perl; then + 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:=.*:='':" {} + + + if use opencl; then + cat <<-EOF > "${T}"/99${PN} + SANDBOX_PREDICT="/dev/nvidiactl:/dev/ati/card:/dev/dri/card" + EOF + + insinto /etc/sandbox.d + doins "${T}"/99${PN} #472766 + fi + + insinto /usr/share/${PN} + doins config/*icm +} |