public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-gfx/greycstoration: ChangeLog greycstoration-2.8.ebuild
@ 2008-03-30 17:55 Denis Dupeyron (calchan)
  0 siblings, 0 replies; only message in thread
From: Denis Dupeyron (calchan) @ 2008-03-30 17:55 UTC (permalink / raw
  To: gentoo-commits

calchan     08/03/30 17:55:39

  Modified:             ChangeLog
  Added:                greycstoration-2.8.ebuild
  Log:
  Version bump.
  (Portage version: 2.1.4.4)

Revision  Changes    Path
1.2                  media-gfx/greycstoration/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/greycstoration/ChangeLog?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/greycstoration/ChangeLog?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/greycstoration/ChangeLog?r1=1.1&r2=1.2

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-gfx/greycstoration/ChangeLog,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ChangeLog	25 Feb 2008 23:18:31 -0000	1.1
+++ ChangeLog	30 Mar 2008 17:55:38 -0000	1.2
@@ -1,6 +1,12 @@
 # ChangeLog for media-gfx/greycstoration
 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/greycstoration/ChangeLog,v 1.1 2008/02/25 23:18:31 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/greycstoration/ChangeLog,v 1.2 2008/03/30 17:55:38 calchan Exp $
+
+*greycstoration-2.8 (30 Mar 2008)
+
+  30 Mar 2008; Denis Dupeyron <calchan@gentoo.org>
+  +greycstoration-2.8.ebuild:
+  Version bump.
 
 *greycstoration-1.2.7 (25 Feb 2008)
 



1.1                  media-gfx/greycstoration/greycstoration-2.8.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/greycstoration/greycstoration-2.8.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/greycstoration/greycstoration-2.8.ebuild?rev=1.1&content-type=text/plain

Index: greycstoration-2.8.ebuild
===================================================================
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/greycstoration/greycstoration-2.8.ebuild,v 1.1 2008/03/30 17:55:38 calchan Exp $

inherit toolchain-funcs

DESCRIPTION="Image regularization algorithm for denoising, inpainting and resizing"
HOMEPAGE="http://www.greyc.ensicaen.fr/~dtschump/greycstoration/"
SRC_URI="mirror://sourceforge/cimg/GREYCstoration-${PV}.zip"
LICENSE="CeCILL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="fftw imagemagick jpeg lapack png tiff X"

DEPEND="fftw? ( >=sci-libs/fftw-3 )
	imagemagick? ( media-gfx/imagemagick )
	jpeg? ( media-libs/jpeg )
	lapack? ( virtual/lapack )
	png? ( media-libs/libpng )
	tiff? ( media-libs/tiff )
	X? ( x11-libs/libX11
		x11-libs/libXext
		x11-libs/libXrandr )"

S="${WORKDIR}/GREYCstoration-${PV}/src"

src_unpack() {
	unpack ${A}
	sed -i -e "s:../CImg.h:CImg.h:" "${S}"/greycstoration.cpp || die "sed failed"
}

src_compile() {
	local MY_CONF

	use X && MY_CONF+=" -lX11 -Dcimg_use_xshm -lXext -Dcimg_use_xrandr -lXrandr"
	use png && MY_CONF+=" -Dcimg_use_png -lpng -lz"
	use jpeg && MY_CONF+=" -Dcimg_use_jpeg -ljpeg"
	use tiff && MY_CONF+=" -Dcimg_use_tiff -ltiff"
	use imagemagick && MY_CONF+=" -Dcimg_use_magick $(Magick++-config --cppflags) \
		$(Magick++-config --ldflags) $(Magick++-config --libs)"
	use fftw && MY_CONF+=" -Dcimg_use_fftw3 -lfftw3"
	use lapack && MY_CONF+=" -Dcimg_use_lapack -llapack"

	$(tc-getCXX) -o greycstoration greycstoration.cpp \
		${MY_CONF} -lm -lpthread \
		${CXXFLAGS} ${LDFLAGS} \
		|| die "Compilation failed"
}

src_install() {
	dobin greycstoration
}



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-30 18:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-30 17:55 [gentoo-commits] gentoo-x86 commit in media-gfx/greycstoration: ChangeLog greycstoration-2.8.ebuild Denis Dupeyron (calchan)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox