diff options
author | Denis Dupeyron <calchan@gentoo.org> | 2008-02-25 23:18:31 +0000 |
---|---|---|
committer | Denis Dupeyron <calchan@gentoo.org> | 2008-02-25 23:18:31 +0000 |
commit | 11ef551d9c5391fe8786435811a9316131972030 (patch) | |
tree | f7a48b6efc765edba2dc5f0dc1b0dc74ff4a175d /media-gfx | |
parent | Another x11-themes/*qtcurve* version bump. (diff) | |
download | gentoo-2-11ef551d9c5391fe8786435811a9316131972030.tar.gz gentoo-2-11ef551d9c5391fe8786435811a9316131972030.tar.bz2 gentoo-2-11ef551d9c5391fe8786435811a9316131972030.zip |
Initial commit, see bug #114577.
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/greycstoration/ChangeLog | 10 | ||||
-rw-r--r-- | media-gfx/greycstoration/Manifest | 4 | ||||
-rw-r--r-- | media-gfx/greycstoration/greycstoration-1.2.7.ebuild | 47 | ||||
-rw-r--r-- | media-gfx/greycstoration/metadata.xml | 8 |
4 files changed, 69 insertions, 0 deletions
diff --git a/media-gfx/greycstoration/ChangeLog b/media-gfx/greycstoration/ChangeLog new file mode 100644 index 000000000000..99f695e7db88 --- /dev/null +++ b/media-gfx/greycstoration/ChangeLog @@ -0,0 +1,10 @@ +# 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 $ + +*greycstoration-1.2.7 (25 Feb 2008) + + 25 Feb 2008; Denis Dupeyron <calchan@gentoo.org> +metadata.xml, + +greycstoration-1.2.7.ebuild: + Initial commit, see bug #114577. + diff --git a/media-gfx/greycstoration/Manifest b/media-gfx/greycstoration/Manifest new file mode 100644 index 000000000000..698e3628267f --- /dev/null +++ b/media-gfx/greycstoration/Manifest @@ -0,0 +1,4 @@ +DIST CImg-1.2.7.tar.gz 5945505 RMD160 6f6cb6c05d126c5408807c8eac5b620dea010cee SHA1 40efd983a7d95cc5dc9b08a04620211f08f29a28 SHA256 ae562feae3b6d900cc959c3bc6742485828ca6f55321e8e94a8df7be041b18f3 +EBUILD greycstoration-1.2.7.ebuild 1418 RMD160 2ca6b1f05561281673d7a293077d9f0784bb65d7 SHA1 b9064c2720dc941c6682ead324c21aeaa68c08d5 SHA256 a27f37547ff2dd8c1520f35f97a15d2acb612f4d3ca18ab65d8035059d284144 +MISC ChangeLog 296 RMD160 424cdbb054d236301ebedf107407a1f1e1290dc8 SHA1 172b67653befc33c4b3650b302c1737742a5986c SHA256 96c89645db35e33fd83e989bd1860c33479a62f3180b507a1c5096e863ba437b +MISC metadata.xml 232 RMD160 4c7ab29da7172e74adfd87ebb5eb6fb5475a82be SHA1 7b98547e067cdaccb43f37be116d5b15befef8e9 SHA256 18d82999ae63f6a95f78867cc239598fd2eb8011c837dcbe85830d022e7e6aea diff --git a/media-gfx/greycstoration/greycstoration-1.2.7.ebuild b/media-gfx/greycstoration/greycstoration-1.2.7.ebuild new file mode 100644 index 000000000000..1585c8687d40 --- /dev/null +++ b/media-gfx/greycstoration/greycstoration-1.2.7.ebuild @@ -0,0 +1,47 @@ +# 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-1.2.7.ebuild,v 1.1 2008/02/25 23:18:31 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/CImg-${PV}.tar.gz" +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}/CImg-${PV}/examples" + +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 +} diff --git a/media-gfx/greycstoration/metadata.xml b/media-gfx/greycstoration/metadata.xml new file mode 100644 index 000000000000..5b12ed78d92e --- /dev/null +++ b/media-gfx/greycstoration/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>calchan@gentoo.org</email> + <name>Denis Dupeyron</name> +</maintainer> +</pkgmetadata> |