Version bump.
authorTim Harder <radhermit@gentoo.org>
Wed, 26 Oct 2011 19:25:08 +0000 (19:25 +0000)
committerTim Harder <radhermit@gentoo.org>
Wed, 26 Oct 2011 19:25:08 +0000 (19:25 +0000)
Package-Manager: portage-2.2.0_alpha70/cvs/Linux x86_64

media-gfx/gmic/ChangeLog
media-gfx/gmic/Manifest
media-gfx/gmic/gmic-1.5.0.5.ebuild [new file with mode: 0644]

index 7afbb9d46252a2476e85dfe097a3584d88a0f749..c9b15cfb3a2f61ab7605c106846b31fa1bd31257 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for media-gfx/gmic
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gmic/ChangeLog,v 1.2 2011/10/25 17:50:49 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gmic/ChangeLog,v 1.3 2011/10/26 19:25:08 radhermit Exp $
+
+*gmic-1.5.0.5 (26 Oct 2011)
+
+  26 Oct 2011; Tim Harder <radhermit@gentoo.org> +gmic-1.5.0.5.ebuild:
+  Version bump.
 
   25 Oct 2011; Tim Harder <radhermit@gentoo.org> gmic-1.5.0.4.ebuild:
   Depend on virtual/jpeg (bug #388451).
index e2c5677e6e34403b96779971ecd6707284fbb65d..5c0e61323c87f078c1a21c5abc76c335dd753ad5 100644 (file)
@@ -3,17 +3,19 @@ Hash: SHA512
 
 AUX gmic-1.5.0.4-makefile.patch 6103 RMD160 20467bf823bdde29e554f29d18cc64328ccb5079 SHA1 6ea32fef37a2b2971bf23cf7f17ef9c408fe79c5 SHA256 98e27d448764fe3704ae38d0eba08b19be3fdd7c9356e02b7f580f513b2ac5b3
 DIST gmic_1.5.0.4.tar.gz 1250701 RMD160 007a7bfbdec30fd42868fa2eabe9d52a69c001cc SHA1 b466bad3c5feec25c17a0004e7e3e4bdab1b64ba SHA256 0be5a5a7360f155b5f7e152035acaf936452dd613e518b427b81669b318de7ed
+DIST gmic_1.5.0.5.tar.gz 1262276 RMD160 78eeb10bcb493eb0a3b7b917244349514c87520e SHA1 30c626339d6060b3bc22a0d5cea13a41491861df SHA256 8856b18241dfd49871df5b5fa2198cb79e60f3a7ee5a1b69306ac8ff9b8719cc
 EBUILD gmic-1.5.0.4.ebuild 1682 RMD160 ca186689a2c366ae961834e01e71cc55b319fc0c SHA1 2ff76e5b9678ed57aff899a1db6ad38dbd5d49bf SHA256 c4163074e1f9ad1065ff2b4159e823acea95280edfa5927edb61a7dfaaefe854
-MISC ChangeLog 531 RMD160 7d78ffc9787b122fbf4a76e88e62ad7bf880953e SHA1 fb8e1417849142c31bff7502cafb174a8be92030 SHA256 77865e9f89cd3456da0f5da129ecafad57bc23234d42dcd0ed9fcd11b8102a1b
+EBUILD gmic-1.5.0.5.ebuild 1691 RMD160 b1ca8cee9d573c12d2cb5fb9a0ba3cc60448a56a SHA1 ebafc9f63b9c6c773574d1c44755a87a18b68b52 SHA256 6bb94f071552ce0689920ce36114ad942737b9f92ee860aed26cdba8293a5534
+MISC ChangeLog 648 RMD160 dd350b2063bf055b6c80a7281a1b67440b9112b5 SHA1 03b465c45906613a2a073db6f167bae0159c8258 SHA256 3d55ffd3010176fd74ba0f3883cc0634eae5903df5646f8fddf13d52ca9075cf
 MISC metadata.xml 473 RMD160 680f8739786ae6d9221c0f6d2734cb16682c1b7c SHA1 1ce57e832b27b5e349e070cdeaf37ff11f500b18 SHA256 def06af4d0283b01f9313231ff05df286129ff57afbcac23fcc7c45d8f735a6c
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.18 (GNU/Linux)
 
-iQEcBAEBCgAGBQJOpvcCAAoJEEqz6FtPBkyj2WgH/2z+hDVKW5gAUIIS5XmvyYAQ
-CMjYjQ2kr06ILfiSr+iHJ1tnMCwMhRBTMhljazRtrj88KmOiJd/6FMQ7VmqiTLCd
-kB2P3Bw5ynHjxCJBLbPFp1a1dZGs2/jEi2JfnwTgbUuxMH248X2H62FdrbznVUe4
-U9l2ns6ZUedRgOY0xjyI25yqxmmXniZCDeawvLODU+1Ysl7xrqOoFlHwaw83rnvY
-o6qTXhsvFVgoRKfOZv1OjqjdKYo16WG/rfxrjHQcrhM7M+2oRBCBZdVL/1Ahc8rg
-o7HjxLcbAm5AZ7ZXqMdZoV56HLH/WaCtrbIhA1532F10O4AslvSSRrs7rxSZP5g=
-=T5wM
+iQEcBAEBCgAGBQJOqF6eAAoJEEqz6FtPBkyjDF4H/AiYLTOXeNtLLrUhd2RZJZyU
+AiqbPXNMPiF0NKnb3Ld+WI/SRQ2X4IOwpZWMmaiqLYRZoYlwKjp/fjltEHjGaNs5
+0Rb9mSBmZiREE4xmuhu+mx1acBgFW5TIcrRB91aIWCABFhqtmZXTAJALe46HnGaw
+cM3dXR1gEtTQB2DZzmiHZ9LcNejpytpL12syuQdBCPBME7m7/gxfg9gT9H5Y3nAc
+EOjgIX8T5FxuefHAPS+k+aCddPi6+FoYklaNb95KFA8Bxi8IrYxNFx4PvCd/3rEo
+W1mKbkbl5/bkUN1qsTuHPecEL/GCRsWIVbs1QwjZbOYA3qD7YY5PK3lC2QK//yQ=
+=snuY
 -----END PGP SIGNATURE-----
diff --git a/media-gfx/gmic/gmic-1.5.0.5.ebuild b/media-gfx/gmic/gmic-1.5.0.5.ebuild
new file mode 100644 (file)
index 0000000..23cb1ad
--- /dev/null
@@ -0,0 +1,63 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gmic/gmic-1.5.0.5.ebuild,v 1.1 2011/10/26 19:25:08 radhermit Exp $
+
+EAPI="4"
+
+inherit eutils toolchain-funcs bash-completion-r1
+
+DESCRIPTION="GREYC's Magic Image Converter"
+HOMEPAGE="http://gmic.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.tar.gz"
+
+LICENSE="CeCILL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ffmpeg fftw graphicsmagick jpeg opencv openexr png tiff X zlib"
+
+RDEPEND="
+       ffmpeg? ( virtual/ffmpeg )
+       fftw? ( sci-libs/fftw:3.0 )
+       graphicsmagick? ( media-gfx/graphicsmagick )
+       jpeg? ( virtual/jpeg )
+       opencv? ( media-libs/opencv )
+       openexr? (
+               media-libs/ilmbase
+               media-libs/openexr
+       )
+       png? ( media-libs/libpng )
+       tiff? ( media-libs/tiff )
+       X? (
+               x11-libs/libX11
+               x11-libs/libXext
+       )
+       zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${P}/src"
+
+src_prepare() {
+       epatch "${FILESDIR}"/${PN}-1.5.0.4-makefile.patch
+
+       for i in ffmpeg fftw jpeg opencv png tiff zlib ; do
+               use $i || { sed -i -r -e "s/^(${i}_(C|LD)FLAGS =).*/\1/I" Makefile || die ; }
+       done
+
+       use graphicsmagick || { sed -i -r -e "s/^(MAGICK_(C|LD)FLAGS =).*/\1/" Makefile || die ; }
+       use openexr || { sed -i -r -e "s/^(EXR_(C|LD)FLAGS =).*/\1/" Makefile || die ; }
+       use X || { sed -i -r -e "s/^((X11|XSHM)_(C|LD)FLAGS =).*/\1/" Makefile || die ; }
+}
+
+src_compile() {
+       emake AR="$(tc-getAR)" CC="$(tc-getCXX)" custom bashcompletion lib
+}
+
+src_install() {
+       dobin gmic
+       newlib.so libgmic.so libgmic.so.1
+       insinto /usr/include
+       doins gmic.h
+       doman ../man/gmic.1.gz
+       dodoc ../{AUTHORS,README}
+       newbashcomp gmic_bashcompletion.sh ${PN}
+}