Mercurial > hg > portage
changeset 206:3905a1b1ad46
bump to 1.3.12
author | holger |
---|---|
date | Wed, 10 Mar 2010 16:04:21 +0100 |
parents | b0741b66a8cc |
children | 351591dc4568 |
files | media-gfx/graphicsmagick/Manifest media-gfx/graphicsmagick/graphicsmagick-1.3.10.ebuild media-gfx/graphicsmagick/graphicsmagick-1.3.12.ebuild |
diffstat | 3 files changed, 128 insertions(+), 128 deletions(-) [+] |
line wrap: on
line diff
--- a/media-gfx/graphicsmagick/Manifest Tue Feb 16 22:42:42 2010 +0100 +++ b/media-gfx/graphicsmagick/Manifest Wed Mar 10 16:04:21 2010 +0100 @@ -1,5 +1,5 @@ AUX graphicsmagick-1.3.7-debian-fixed.patch 14493 RMD160 cbeccbd775d60da7f2b498540fdef8b08189eeb6 SHA1 2da7acdf46401cbc294170919c592cb842ab2afa SHA256 da17fbb6e30ca42b2d07871cc730de8f5ad61df9387cf22948fe1dcb72263b8c AUX graphicsmagick-1.3.7-perl-ldflags.patch 991 RMD160 e234224a939892f04a82b83e48ef475318183b28 SHA1 5e5c89d808bd3040945c64a60e1f8df35c03053d SHA256 f1ff9bf3009b1e353089ed27067bee2895b4e7f0d9e15100abdebac20bef8644 -DIST GraphicsMagick-1.3.10.tar.bz2 6754130 RMD160 1f2dadea29ceb549a398a4017b9f4979e18e3a7a SHA1 f44743a1aeb06c42edd8502ca8369c7282414d4c SHA256 89b0195e6c0634fd10c7a0a5799baca1e34351fed0dec9c021b6eb46f7b41ae2 -EBUILD graphicsmagick-1.3.10.ebuild 3397 RMD160 ccfc1f95ee20226b1cc7581ccb833d6f748aed23 SHA1 4681b48a861b7f505f62431c4c9f02292b2fb3cd SHA256 75e3aad0e4480dff1671fe69843f7a18cd9412d4d55687ebd583f189354037f0 +DIST GraphicsMagick-1.3.12.tar.bz2 6690493 RMD160 0a2749ee38a63c00c3ee6259ea7ea65c2bccc621 SHA1 6b8a414af162ad8679f2f04b10f128edc8ee3233 SHA256 4ceea8558c959fba847b2a4cd92232aac37f5f6a59dda234bc17ef83b90e57d7 +EBUILD graphicsmagick-1.3.12.ebuild 3409 RMD160 111f045306f990515046fbde00594e1a2d98e62f SHA1 86940fd5a809892ea553a480c0589289b5635021 SHA256 dd84b1554a23d6d04ae3dcb5a1d4465a77fbbf8dc23d246ddf49beb0a65d0bcc MISC metadata.xml 979 RMD160 0a2a8648f7f56281f4db1f845c37865b3cbb64df SHA1 5ddee256c96236652983e56ed0a991e09b9b6c7e SHA256 73b9a3ba1b91780cdfbe20744ad4101170ad271d6df529621406382f59cbf29f
--- a/media-gfx/graphicsmagick/graphicsmagick-1.3.10.ebuild Tue Feb 16 22:42:42 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,126 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphicsmagick/graphicsmagick-1.3.10.ebuild,v 1.1 2010/02/14 18:05:43 bicatali Exp $ - -EAPI="2" - -inherit eutils toolchain-funcs flag-o-matic perl-module - -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.bz2" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~hppa ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="bzip2 cxx debug doc fpx imagemagick jbig jpeg jpeg2k lcms openmp - perl png q16 q32 svg threads tiff truetype X wmf zlib" - -RDEPEND="app-text/ghostscript-gpl - bzip2? ( app-arch/bzip2 ) - fpx? ( media-libs/libfpx ) - jbig? ( media-libs/jbigkit ) - jpeg? ( media-libs/jpeg ) - jpeg2k? ( >=media-libs/jasper-1.701.0 ) - lcms? ( media-libs/lcms ) - perl? ( dev-lang/perl ) - png? ( media-libs/libpng ) - svg? ( dev-libs/libxml2 ) - tiff? ( >=media-libs/tiff-3.8.2 ) - truetype? ( >=media-libs/freetype-2.0 ) - wmf? ( media-libs/libwmf ) - X? ( x11-libs/libXext x11-libs/libSM ) - imagemagick? ( !media-gfx/imagemagick )" - -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - if use openmp && - [[ $(tc-getCC)$ == *gcc* ]] && - ( [[ $(gcc-major-version)$(gcc-minor-version) -lt 42 ]] || - ! built_with_use sys-devel/gcc openmp ) - then - ewarn "You are using gcc and OpenMP is only available with gcc >= 4.2 " - ewarn "If you want to build fftw with OpenMP, abort now," - ewarn "and switch CC to an OpenMP capable compiler" - epause 5 - fi -} - -src_prepare() { - epatch "${FILESDIR}/${PN}-1.3.7-perl-ldflags.patch" - epatch "${FILESDIR}/${PN}-1.3.7-debian-fixed.patch" -} - -src_configure() { - local quantumDepth - if use q16 ; then - quantumDepth="16" - elif use q32 ; then - quantumDepth="32" - else - quantumDepth="8" - fi - - use debug && filter-flags -fomit-frame-pointer - econf \ - --docdir=/usr/share/doc/${PF} \ - --htmldir=/usr/share/doc/${PF}/html \ - --enable-shared \ - --enable-largefile \ - --without-included-ltdl \ - --without-frozenpaths \ - --without-gslib \ - --with-modules \ - --with-quantum-depth=${quantumDepth} \ - --with-fontpath="/usr/share/fonts" \ - --with-gs-font-dir="/usr/share/fonts/default/ghostscript" \ - --with-windows-font-dir="/usr/share/fonts/corefonts" \ - $(use_enable debug ccmalloc) \ - $(use_enable debug prof) \ - $(use_enable debug gcov) \ - $(use_enable imagemagick magick-compat) \ - $(use_enable openmp) \ - $(use_with bzip2 bzlib) \ - $(use_with cxx magick-plus-plus) \ - $(use_with fpx) \ - $(use_with jbig) \ - $(use_with jpeg) \ - $(use_with jpeg2k jp2) \ - $(use_with lcms) \ - $(use_with perl) \ - $(use_with png) \ - $(use_with svg xml) \ - $(use_with threads) \ - $(use_with tiff) \ - $(use_with truetype ttf) \ - $(use_with wmf) \ - $(use_with X x) \ - $(use_with zlib) -} - -src_compile() { - emake || die "emake failed" - if use perl; then - emake perl-build || die "emake perl failed" - fi -} - -src_test() { - emake check || die "tests failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - if use perl; then - perl -MExtUtils::MakeMaker -e 'MY->fixin(@ARGV)' PerlMagick/demo/*.pl - emake -C PerlMagick DESTDIR="${D}" \ - install || die "emake perl install failed" - fixlocalpod - fi - use doc || rm -rf "${D}"usr/share/doc/${PF}/html -}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/media-gfx/graphicsmagick/graphicsmagick-1.3.12.ebuild Wed Mar 10 16:04:21 2010 +0100 @@ -0,0 +1,126 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphicsmagick/graphicsmagick-1.3.11.ebuild,v 1.2 2010/02/25 04:18:23 bicatali Exp $ + +EAPI="2" + +inherit eutils toolchain-funcs flag-o-matic perl-module + +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.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="bzip2 cxx debug doc fpx imagemagick jbig jpeg jpeg2k lcms openmp + perl png q16 q32 svg threads tiff truetype X wmf zlib" + +RDEPEND="app-text/ghostscript-gpl + bzip2? ( app-arch/bzip2 ) + fpx? ( media-libs/libfpx ) + jbig? ( media-libs/jbigkit ) + jpeg? ( media-libs/jpeg ) + jpeg2k? ( >=media-libs/jasper-1.701.0 ) + lcms? ( media-libs/lcms ) + perl? ( dev-lang/perl ) + png? ( media-libs/libpng ) + svg? ( dev-libs/libxml2 ) + tiff? ( >=media-libs/tiff-3.8.2 ) + truetype? ( >=media-libs/freetype-2.0 ) + wmf? ( media-libs/libwmf ) + X? ( x11-libs/libXext x11-libs/libSM ) + imagemagick? ( !media-gfx/imagemagick )" + +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + if use openmp && + [[ $(tc-getCC)$ == *gcc* ]] && + ( [[ $(gcc-major-version)$(gcc-minor-version) -lt 42 ]] || + ! has_version sys-devel/gcc[openmp] ) + then + ewarn "You are using gcc and OpenMP is only available with gcc >= 4.2 " + ewarn "If you want to build fftw with OpenMP, abort now," + ewarn "and switch CC to an OpenMP capable compiler" + epause 5 + fi +} + +src_prepare() { + epatch "${FILESDIR}/${PN}-1.3.7-perl-ldflags.patch" + epatch "${FILESDIR}/${PN}-1.3.7-debian-fixed.patch" +} + +src_configure() { + local quantumDepth + if use q16 ; then + quantumDepth="16" + elif use q32 ; then + quantumDepth="32" + else + quantumDepth="8" + fi + + use debug && filter-flags -fomit-frame-pointer + econf \ + --docdir=/usr/share/doc/${PF} \ + --htmldir=/usr/share/doc/${PF}/html \ + --enable-shared \ + --enable-largefile \ + --without-included-ltdl \ + --without-frozenpaths \ + --without-gslib \ + --with-modules \ + --with-quantum-depth=${quantumDepth} \ + --with-fontpath="/usr/share/fonts" \ + --with-gs-font-dir="/usr/share/fonts/default/ghostscript" \ + --with-windows-font-dir="/usr/share/fonts/corefonts" \ + $(use_enable debug ccmalloc) \ + $(use_enable debug prof) \ + $(use_enable debug gcov) \ + $(use_enable imagemagick magick-compat) \ + $(use_enable openmp) \ + $(use_with bzip2 bzlib) \ + $(use_with cxx magick-plus-plus) \ + $(use_with fpx) \ + $(use_with jbig) \ + $(use_with jpeg) \ + $(use_with jpeg2k jp2) \ + $(use_with lcms) \ + $(use_with perl) \ + $(use_with png) \ + $(use_with svg xml) \ + $(use_with threads) \ + $(use_with tiff) \ + $(use_with truetype ttf) \ + $(use_with wmf) \ + $(use_with X x) \ + $(use_with zlib) +} + +src_compile() { + emake || die "emake failed" + if use perl; then + emake perl-build || die "emake perl failed" + fi +} + +src_test() { + emake check || die "tests failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + if use perl; then + perl -MExtUtils::MakeMaker -e 'MY->fixin(@ARGV)' PerlMagick/demo/*.pl + emake -C PerlMagick DESTDIR="${D}" \ + install || die "emake perl install failed" + fixlocalpod + fi + use doc || rm -rf "${D}"usr/share/doc/${PF}/html +}