summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2014-06-06 06:13:02 +0000
committerTim Harder <radhermit@gentoo.org>2014-06-06 06:13:02 +0000
commit9c503bd0baf510cf0ba4ed6a7323542ea9fbd73a (patch)
treef4cf4031be26136d4bf19f8a599750ff167539d6 /media-plugins
parentAdd ruby21. (diff)
downloadhistorical-9c503bd0baf510cf0ba4ed6a7323542ea9fbd73a.tar.gz
historical-9c503bd0baf510cf0ba4ed6a7323542ea9fbd73a.tar.bz2
historical-9c503bd0baf510cf0ba4ed6a7323542ea9fbd73a.zip
Version bump.
Package-Manager: portage-2.2.10/cvs/Linux x86_64 Manifest-Sign-Key: 0x4AB3E85B4F064CA3
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/gimp-gmic/ChangeLog8
-rw-r--r--media-plugins/gimp-gmic/Manifest19
-rw-r--r--media-plugins/gimp-gmic/files/gmic-1.5.9.1-makefile.patch111
-rw-r--r--media-plugins/gimp-gmic/gimp-gmic-1.5.9.1.ebuild43
4 files changed, 172 insertions, 9 deletions
diff --git a/media-plugins/gimp-gmic/ChangeLog b/media-plugins/gimp-gmic/ChangeLog
index 28a5a2159665..0d8342ae46c4 100644
--- a/media-plugins/gimp-gmic/ChangeLog
+++ b/media-plugins/gimp-gmic/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-plugins/gimp-gmic
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/gimp-gmic/ChangeLog,v 1.42 2014/04/25 05:29:24 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/gimp-gmic/ChangeLog,v 1.43 2014/06/06 06:12:59 radhermit Exp $
+
+*gimp-gmic-1.5.9.1 (06 Jun 2014)
+
+ 06 Jun 2014; Tim Harder <radhermit@gentoo.org> +gimp-gmic-1.5.9.1.ebuild,
+ +files/gmic-1.5.9.1-makefile.patch:
+ Version bump.
*gimp-gmic-1.5.8.6 (25 Apr 2014)
diff --git a/media-plugins/gimp-gmic/Manifest b/media-plugins/gimp-gmic/Manifest
index dae84989df7d..34d798ace3ef 100644
--- a/media-plugins/gimp-gmic/Manifest
+++ b/media-plugins/gimp-gmic/Manifest
@@ -4,6 +4,7 @@ Hash: SHA256
AUX gmic-1.5.8.0-makefile.patch 5485 SHA256 39b5ff20a26b620f7cda95e1fa62c69532dfe3ecd34d8ef058f7144125ba564c SHA512 d8ea82f745f0bb5093ca328f569de74ba2e7a62f95045812b1932f086ebe9a2ac9adb645cc4a1d1b89f35c59f8bd10dac0a43f083ea6167ecbbb16a9a270f428 WHIRLPOOL 3d797b9d25966076c087ea87c07d9dc2aeceb1185cd4298a4ce2011864889d46aa8d2a2f6c01fe40dd78450b20661fb080a0aa3da4ea0e20634f28256680c4d6
AUX gmic-1.5.8.3-makefile.patch 5037 SHA256 07e2f9d8a1c3d4a5053296f9b9a0f9a0718717e611493961d2907267c8cae380 SHA512 86f504b688bf4cc25fe698ed2d57d3bae719bb876688492b797927e76ac95326f6f2ab71fcc1e4b2f44d42500a90d6f7abe02d24dd7a22e4f617261f837fddb2 WHIRLPOOL f33a74d82fbeb91bd9712237f9e322b0f5aea426f2fff1da7088e0f90de8fb466f572fdc08eed8888dd51ba9235272b57f18de9d082724247bd6daa77355cf73
AUX gmic-1.5.8.4-makefile.patch 5384 SHA256 48cd18f8e8086a21b62b59788d34185521dddfa9f42ec228f069d44aac2d7af0 SHA512 009cc63ce747ee0acd917795ff093d9aec4545105cb9a96f837d885d68f420b919557d569e2492cd016b96a723a932f8e7b19cf89f12b8ecb153b96dcf1e49b1 WHIRLPOOL 752c7849074e70f3bf10b5aa144917d9e18276c4d99a0a4b4139b217a1e8edd8036df0c95b9f7a3f3b12f03abc99e8c67666fab8365d5259e1e788096f512998
+AUX gmic-1.5.9.1-makefile.patch 5285 SHA256 75c0faee9e1fa0796ecd3583de9b81a7281be7fd80d46fede525d385f5c449c3 SHA512 71ffc20d5bc94766ed86012a3f720ab3c43fe229822ecd1325217713fcce4f4305ad34b6bb0a3fc07c1949bf0a1c581a22307b0f49a4302a58de7b3d0261de00 WHIRLPOOL df3b4b59b959e2a56ad829e2446295f6434a13c210d7c83b9dd173e54baf495dddbd71bfe3531670737ebe0769239e1a873635a11439f7cdf94b71ed3029aede
DIST gmic_1.5.8.0.tar.gz 2257558 SHA256 94382a599c23dd0be2ed9bf539072c057b7f780a8ac63b391a27522fec28f1e9 SHA512 46c7d46da2fd1f063dbb23df9cc8e894ff741871cc8d7ee570de54c5313ed101a3352915a71d952913e5bca97e35074fb025646aa05fd087d1575383ac2972b8 WHIRLPOOL 33ea1d72619bb40cc89357732b0f12c14377c9a5c7ab61d40300f9e81570d4e7fb01089597b9bb45e09358c67bbcf0ca2e25841e5e5e7c7b998feb870fccbad9
DIST gmic_1.5.8.1.tar.gz 2265467 SHA256 2b0b813253e8c409a8535d350894245b35836cd849af31986055e0a09b8d1cea SHA512 6fea97ae18abe770ba827946457955c74cb4180a272e7fb0a6e2a0f612bec6f8fd83daa4c1010eb236886ebacef331d9b1b0a4f0c64dbde27261e76f71244ef7 WHIRLPOOL f9fc34c21f87c222b081bcef2ae819cbe6f25c1b66a890a569ffae667acbdc5f334496ba8d1d5ddf811550ec0844bd2936ee3564f131bb7f5b1b35ba7a70dcde
DIST gmic_1.5.8.2.tar.gz 2319666 SHA256 459d0f8cf6ee0a9e8b2254ef93be18cf985bbec699de5354b52671e15f67c3b4 SHA512 5f54147a8903d49667c825afb28564753b0636d21812bc8f12fc1effc3586063c95fe5676c7e69924c69cd790cc4399c5a87a535195bbbecc1656d3de8bc398c WHIRLPOOL 07601508c81be6d3cc8b79ef0f524a36c507696148ec11524f978ae2df4c1326035de908f5d467d24b6482544a5a02f77f7a2847f74cef8806b50213d937e5a9
@@ -11,6 +12,7 @@ DIST gmic_1.5.8.3.tar.gz 2341936 SHA256 ed200f839c6b7cfa7df37a5b286d6dc106708a44
DIST gmic_1.5.8.4.tar.gz 2359343 SHA256 1e8d20e93b37bfeee8b402c3a23fe8326f49304218a1537d027983e225726076 SHA512 cbe22391ab86e59707c734f641b79035fc230a696593f0f51c7e622bf4e0ce0c8f3fc14f4b40fa35bb80895e25cb5ec3d4c50511e1dd71fe30a957f078ae9c75 WHIRLPOOL 0c7ac6bba29d1453472a6488488f1f20fd349f84d002db93bf69d4f4cce392b1f7bd85283e0c698106da75f12311268096954e10333807c2dfd9e94900dcc84e
DIST gmic_1.5.8.5.tar.gz 2564862 SHA256 823c909f04f333b2d0c420221db1e038a4b9c57891bdbc364b5aef58d25b15e7 SHA512 40461b17a315fd85d16831815a692dfc584326352fb1da10786fe0c486deb51787ed5e20591c24240dd29d113daa42c962ad99e24e9ec063f4856568bafde4ca WHIRLPOOL b4ea08e86e486013aa126e8f06eeab8b750b72b910c5a1a407b76849e69efdb516ddc46c21070a844722992cf8d0351a6508fa9f86178d1dc2d8d90808d3a268
DIST gmic_1.5.8.6.tar.gz 2691672 SHA256 21f90a37f2b63070c3d31ad19139c90d3241e62c3b1cca04eb1a5ca45838ad91 SHA512 1687fac247b922cc1d4c42821d3d79eb25e5ab6be0bf6b9b5bf026edec71ba39d2a627cfa604ae9779c49b66e12c56dae2dfdae163e5a3c13d2cf21b2ad5f3a6 WHIRLPOOL c106a7780ef1c542974a78ae2208dcd7dbf8ec714746264ee124876651b7bf3590d75c8c0fef27b3e2fd63627644da52b5572be9935209958a8aa3b5eae7edb8
+DIST gmic_1.5.9.1.tar.gz 2780328 SHA256 6ef0f700a34398c550ec8c44c53393ef222c0bf6dc998fe14b6e434069158cc9 SHA512 a0298925fca007fc95a4d892e41785050bddff4d891e996217af5110c34d550f935cdd1033338e30495fbcb27b76f16a9f201b7b4ce5eb6af2e030c61a040e85 WHIRLPOOL 7b3e9ec6a38369feea423ebf9e76787e8135a8985a164789e45493b98448f97524508d18d2ae9dd784e5b53f94e22702d0c48f871d283c5544c4f4fcd4a42a08
EBUILD gimp-gmic-1.5.8.0.ebuild 959 SHA256 c5555501f48d99a54e0143cfee544ef376a8a52ca6073053798b6ca052ddd939 SHA512 84f6355025d33136ae6e5e29db22b5c6a52c73275ada189f9383fdd8ded4cbfd70ab552e07c15ebb983f730da8f32d2a022dbba8442a8112b66e309f75653b51 WHIRLPOOL 1dde2743003f764cb1426e22b9e0ea778f63815db43e0ff13df38fcf21bc5c62f0f306d99b17066434b3c91e123ac8e3101460fb46b186b6251bb2a82f70f002
EBUILD gimp-gmic-1.5.8.1.ebuild 959 SHA256 55414a8506243befbc664178c34b555ca7fbe91978e3e170e16d5e807529ff00 SHA512 820f6396fc3bc29148f0bc2b621eb64523c00880147966bdbd66571e96c29d6cbc6dd8f9846c2f0ce2827216e07393c41558242a1095f02fdcf77ae78402c9d1 WHIRLPOOL b6865965a586d3507925f5834f729ec9ab02a94046f8101dd51c8375764f6fea019e84d52d34c2017130ebd0297862690287ed65eef6f0388133cc323b7cf5d7
EBUILD gimp-gmic-1.5.8.2.ebuild 959 SHA256 b8ef032965f2b92a862a404cd1adec330986b4d6e460c609145cda573efdf16d SHA512 3b1ed57ccb8c4b61bdcff17e5867ef96ec632279facf51cf82f32bda5f35cb3fdb69f63925ee1539dae536e6356510eb4d11700d37623235146e862453776ccd WHIRLPOOL 257bffd496a9bd4cbeecce122ab930d2ec6099e5828460479a8ac6243c7cedcaaaad17e23fc0ef6d142d0bc33438f2fedeb43d87fb23c86b0c75f39f1dc78244
@@ -18,16 +20,17 @@ EBUILD gimp-gmic-1.5.8.3.ebuild 983 SHA256 442172f79b36d148d50bf97160d02330ac9a0
EBUILD gimp-gmic-1.5.8.4.ebuild 983 SHA256 0c8a2e8cd24e3a4e95c067f02d7f0bc33d6bf852039894af5be9b499112efc29 SHA512 2353ea254ced11a6a03e3f112beab795aceb5bfd67122fc4e24bd3acca3da4142b1d88399bcc3bdfebd63eccdb7ca4ac0d6126d21b399f8b8b53a55dc0338b09 WHIRLPOOL a23970f2e61a27736f7796ff896e07012081b5e061e60a1e157e8b4783bb9302b65ac125c190d12cf9eba9cc4cb54a23ecd8797d0335ee4b238352c7d44f18e1
EBUILD gimp-gmic-1.5.8.5.ebuild 985 SHA256 d98a03dcee1bcf80d778352f756cd03feed22eb9695cb1eb7a818185255bf3e8 SHA512 a0b21af8ebfd8651b30af346c453d803143f1da8db089afd436645c3835927a916da80db68c22719e7830e2fa0be526b290b07f2e7b6e504ecb3e92652ff2571 WHIRLPOOL 211cb4f0d7c5043aa8bd1f50158f8c0717d4de84ac14f75e0adb3ac93d3f7931a00d7f768484070b2c0c56ed996e0767bcccdee6989df7733541f78cf42ebf87
EBUILD gimp-gmic-1.5.8.6.ebuild 1113 SHA256 c480650257f4dd49519e523658c89ac5ae83a2915601d1c41e7f1a0a528623dc SHA512 8c808e7b90a263cb54801f5dbf068efc5e95897dc22aaa72d70bc67f159f16467f0692df1bfe114575300dbea182cb1c40c4fff47c743135a5626d337be461e1 WHIRLPOOL b400bac0370313be50ce2dfd4cd5970dad68d94427d35380715f8db0bdf114f405cb8c5548581f6de817c3450e6adcc4b86e82cb4e549ba04b58fc628419ee16
-MISC ChangeLog 6391 SHA256 f3a598fc68a461bb57183387bacdaf120a32fa78e95a2b4792b9366c28a051b6 SHA512 c5eef79939c6a3631aa77271ef327dd76f28de2a72a8b3fdd32180dfe0d48b80069a76ea1b6872e93893f8523baec89deec7dcc6fc4d7300ebce2b24127c1c37 WHIRLPOOL 69ac6c1ca7ce07c7b4d73703a44954bdf3a8c2ce3122a4849bbf26e1dc637e5afb686a9af693b7c0d411b877a915f55819838b9a8e4c60bccbdf6421cb492457
+EBUILD gimp-gmic-1.5.9.1.ebuild 983 SHA256 8da0414b8d231712706269fedcf920554d25a2810a6a2a91aa2a6ef936d7c7bf SHA512 7d89345b119edb94f1d026c88309f50264e1403a9c07281694e323610a432e4ed82452d8ab21d7620f599d296f5299ae981073165414f5523da9ca093d2dec4f WHIRLPOOL 3b134de3c2baa9d634fd4b1696f50aa6e3bc1c4902a6e16b31d75fe6215912925d55afd5326ab9642f5efad6914d3f9970b663c4e27d520b94e5ecbe8c751283
+MISC ChangeLog 6556 SHA256 5f1f9808daad44d905a19f46155b02fe791580e1a4590b60fa1c464ff076c3db SHA512 d05250181292c11d9d3bd69241631c8ee1033485a542405d4461d687d04580d55ae05c6f889d8dcd6bd4956a472f959e592d93db57f4b94aef02c9fd69a9188b WHIRLPOOL 413ce98eef3cc4b827ab1a8905e45f285a93504944a76b88af0ec9eb95b515ab88b400ce3b81c5ede20d2ba134acad2c02255b91587053f37793b5a6debe2126
MISC metadata.xml 232 SHA256 a778e40f66cb2fa35529e4f45cb8356c8b1b109163cd939396f02e8ea6aa5f1a SHA512 6952f63da1c92a4ed7ddb87b5eb4003d123f0b7af6ffdbc9118159c97ddf18917e8ac7727285a42c07c64e52a40335bc2ef9f17261557617beb8c2226a391873 WHIRLPOOL 0a4441f075f8af01588da2aac3e03732f93463b8bea5e46749d37e1468452735d15f45243b930b3346c93734f8aa235a492030445fee471a95d2c5998f08e7de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQEcBAEBCAAGBQJTWfK2AAoJEEqz6FtPBkyjbQEH/iHpXko3P4ibKYwjoluUiNpL
-PfTe3fnRxZc6UgSOcgLpc0iZ5dt+Fmt+wGWeWwdsTDovw+rTT6X3mC5URYUeVyIF
-XAcSpNvmu+FCHePowSETIYfEmktTn9Eew5Q98Cvd03XdlUseQ5Pjp3ueiL48QynZ
-Y2Mc6JAgqT4SSJtjIMo7WCmlmxQ8z1wchtdqDP7r314q1W3Nxwivf6SF1/a7zgbu
-xDH3u02OeV6IgEWZJC5EjMjwLNA8z3MFT0UXqa6i3lEkiLtPK9E5GG6x/dqsnvTj
-Ii/naXdVD58jZR38XGlhNuy0bgvnqfelnLMcjNr9B1J4gZmafWzxaJMz1tApFdU=
-=Bwmb
+iQEcBAEBCAAGBQJTkVvtAAoJEEqz6FtPBkyj6hUIAI6+M7dX17Yivqp8aLZWlsvz
+jNGIMMwjdAS50Dn/zV028J4kGcfFLxBIOYxpgGN6hhfIWYCNS6dU6+1Md+rYK4gt
+oIZWv9t0o/CT67yV/8pUYYfrFkbtP+fe1ljA6zA3ns5pehS4d6XijMbO8WRXPKhJ
+ySL1S8x46k7pNCZBr/p2cb/YaBZlWcaIIqyna83qKhQAJ8pat/ACwrTYASJovnsl
+ytNdW7/DM8uxDgBibOnKdOoSCH/3UshW6Eqi5zuiw+q/ICLdhXwnWi6FLo/kyfAu
+snzQqGlXEBvRK9d9PwvvRBpufHV6+290bDuGSbGl88sOCXaDSWj11OPq6npQlZU=
+=ikie
-----END PGP SIGNATURE-----
diff --git a/media-plugins/gimp-gmic/files/gmic-1.5.9.1-makefile.patch b/media-plugins/gimp-gmic/files/gmic-1.5.9.1-makefile.patch
new file mode 100644
index 000000000000..fd69a7c9c3ec
--- /dev/null
+++ b/media-plugins/gimp-gmic/files/gmic-1.5.9.1-makefile.patch
@@ -0,0 +1,111 @@
+--- gmic-1.5.9.1/src/Makefile
++++ gmic-1.5.9.1/src/Makefile
+@@ -77,7 +77,6 @@
+
+ # Flags that are mandatory to compile 'gmic'.
+ MANDATORY_CFLAGS += -Dgmic_build -I$(USR)/include
+-MANDATORY_LDFLAGS += -L$(USR)/lib
+ ifeq ($(CC),g++)
+ MANDATORY_CFLAGS += -Wall -W
+ MANDATORY_LDFLAGS += -lm
+@@ -121,14 +120,14 @@
+ # (keep /usr/ dirname here since X11 is located in /usr/ on Mac too).
+ # This requires the presence of the X11 include and library files.
+ # (package 'libx11-dev' on Debian).
+-X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" -I/usr/X11R6/include #-Dcimg_use_xrandr
+-X11_LDFLAGS = -L/usr/X11R6/lib -lX11 -lpthread #-lXrandr
++X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" #-Dcimg_use_xrandr
++X11_LDFLAGS = -lX11 -lpthread #-lXrandr
+
+ # Flags to enable fast display, using XShm.
+ # This requires the presence of the X11 extension include and library files.
+ # (package 'libx11-dev' on Debian).
+ XSHM_CFLAGS = -Dcimg_use_xshm
+-XSHM_LDFLAGS = -L$(USR)/X11R6/lib -lXext
++XSHM_LDFLAGS = -lXext
+
+ # Flags to enable image display, using GDI32.
+ # This requires the presence of the GDI32 include and library files.
+@@ -163,7 +162,7 @@
+ # This requires the presence of the FFMPEG include and library files.
+ # (packages 'libavcodec-dev', 'libavutil-dev', 'libavformat-dev' and 'libswscale-dev' on Debian).
+ FFMPEG_CFLAGS = -Dcimg_use_ffmpeg -D__STDC_CONSTANT_MACROS -I$(USR)/include/libavcodec -I$(USR)/include/libavformat -I$(USR)/include/libswscale -I$(USR)/include/ffmpeg
+-FFMPEG_LDFLAGS = -lavcodec -lavformat -lswscale
++FFMPEG_LDFLAGS = -lavcodec -lavformat -lavutil -lswscale
+
+ # Flags to enable native support for compressed .cimgz files, using the Zlib library.
+ # This requires the presence of the Zlib include and library files.
+@@ -174,14 +173,8 @@
+ # Flags to enable native support of webcams, using the OpenCV library.
+ # This requires the presence of the OpenCV include and library files.
+ # (package 'libcv3-2-dev' on Debian).
+-ifeq ($(OS),Darwin)
+ OPENCV_CFLAGS = -Dcimg_use_opencv -I$(USR)/include -I$(USR)/include/opencv
+ OPENCV_LDFLAGS = `pkg-config opencv --libs` #-> Use this for OpenCV 2.2.0 !
+-else
+-OPENCV_CFLAGS = -Dcimg_use_opencv -I$(USR)/include -I$(USR)/include/opencv
+-# OPENCV_LDFLAGS = -lcv -lhighgui
+-OPENCV_LDFLAGS = -lopencv_core -lopencv_highgui #-> Use this for OpenCV >= 2.2.0 !
+-endif
+
+ # Flags to enable native support of most classical image file formats, using the GraphicsMagick++ library.
+ # This requires the presence of the GraphicsMagick++ include and library files.
+@@ -307,10 +300,10 @@
+ endif
+
+ gimp:
+- $(MAKE) "CFLAGS=$(STD_GIMP_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_GIMP_LDFLAGS) $(OPT_LDFLAGS)" "STRIP_EXE=1" gmic_gimp
++ $(MAKE) "CFLAGS+=$(STD_GIMP_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_GIMP_LDFLAGS) $(OPT_LDFLAGS)" gmic_gimp
+
+ lib:
+- $(MAKE) "CFLAGS=$(STD_LIB_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_LIB_LDFLAGS) $(OPT_LDFLAGS)" gmic_lib
++ $(MAKE) "CFLAGS+=$(STD_LIB_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_LIB_LDFLAGS) $(OPT_LDFLAGS)" gmic_lib
+
+ zart: lib
+ ifneq ($(OS),Darwin)
+@@ -321,7 +314,7 @@
+
+ # Entries for other configurations.
+ linux:
+- $(MAKE) "CFLAGS=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_UNIX_LDFLAGS)" "STRIP_EXE=1" gmic_cli_standard
++ $(MAKE) "CFLAGS+=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_UNIX_LDFLAGS)" gmic_cli_standard
+
+ solaris:
+ $(MAKE) "CFLAGS=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_UNIX_LDFLAGS) -R$(USR)/X11R6/lib -lrt -lnsl -lsocket" "STRIP_EXE=1" gmic_cli_standard
+@@ -342,7 +335,7 @@
+ $(MAKE) "CFLAGS+=$(MINIMAL_UNIX_CFLAGS)" "LDFLAGS+=$(MINIMAL_UNIX_LDFLAGS)" gmic_cli_standard
+
+ full:
+- $(MAKE) "CFLAGS=$(FULL_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(FULL_UNIX_LDFLAGS)" "STRIP_EXE=1" gmic_cli_full
++ $(MAKE) "CFLAGS+=$(FULL_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(FULL_UNIX_LDFLAGS)" gmic_cli_full
+
+ winminimal:
+ $(MAKE) "CFLAGS=$(MINIMAL_WINDOWS_CFLAGS)" "LDFLAGS=$(MINIMAL_WINDOWS_LDFLAGS)" gmic_cli_standard
+@@ -351,10 +344,9 @@
+ gmic_lib.o: gmic.cpp
+ $(CC) -o gmic_lib.o -c gmic.cpp -fPIC $(CFLAGS) -Dgmic_float_only
+ gmic_lib: gmic_lib.o
+- ar rcs libgmic.a gmic_lib.o
++ $(AR) rcs libgmic.a gmic_lib.o
+ ifneq ($(OS),Darwin)
+ $(CC) -shared -Wl,-soname,libgmic.so.1 -o libgmic.so gmic_lib.o $(LDFLAGS)
+- $(CC) -o gmic_use_lib gmic_use_lib.cpp -L. -lgmic $(FFTW_LDFLAGS)
+ else
+ $(CC) -shared -o libgmic.so gmic_lib.o $(LDFLAGS)
+ endif
+@@ -363,7 +355,6 @@
+ $(CC) -o gmic_gimp.o -c gmic.cpp $(CFLAGS) -Dgmic_gimp -Dgmic_float_only
+ gmic_gimp : gmic_gimp.o gmic_gimp.cpp
+ $(CC) -o gmic_gimp gmic_gimp.cpp gmic_gimp.o `gimptool-2.0$(EXE) --cflags` $(CFLAGS) `gimptool-2.0$(EXE) --libs` $(LDFLAGS)
+- strip gmic_gimp$(EXE)
+
+ gmic_bool.o: gmic.cpp
+ $(CC) -o gmic_bool.o -c gmic.cpp $(CFLAGS) -Dgmic_split_compilation -Dgmic_bool
+@@ -385,7 +376,6 @@
+ $(CC) -o gmic_double.o -c gmic.cpp $(CFLAGS) -Dgmic_split_compilation -Dgmic_double
+ gmic_cli_full: gmic_bool.o gmic_uchar.o gmic_char.o gmic_ushort.o gmic_short.o gmic_uint.o gmic_int.o gmic_float.o gmic_double.o
+ $(CC) -o gmic gmic_bool.o gmic_uchar.o gmic_char.o gmic_ushort.o gmic_short.o gmic_uint.o gmic_int.o gmic_float.o gmic_double.o $(LDFLAGS)
+- strip gmic$(EXE)
+ gmic_cli_standard: gmic.cpp
+ $(CC) -o gmic gmic.cpp $(CFLAGS) -Dgmic_float_only -Dgmic_main $(LDFLAGS)
+
diff --git a/media-plugins/gimp-gmic/gimp-gmic-1.5.9.1.ebuild b/media-plugins/gimp-gmic/gimp-gmic-1.5.9.1.ebuild
new file mode 100644
index 000000000000..83bc5fb2c962
--- /dev/null
+++ b/media-plugins/gimp-gmic/gimp-gmic-1.5.9.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/gimp-gmic/gimp-gmic-1.5.9.1.ebuild,v 1.1 2014/06/06 06:12:59 radhermit Exp $
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="G'MIC GIMP plugin"
+HOMEPAGE="http://gmic.sourceforge.net/gimp.shtml"
+SRC_URI="mirror://sourceforge/gmic/gmic_${PV}.tar.gz"
+
+LICENSE="CeCILL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=media-gfx/gimp-2.4.0
+ media-libs/libpng:0=
+ sci-libs/fftw:3.0[threads]
+ sys-libs/zlib"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/gmic-${PV}/src
+
+src_prepare() {
+ epatch "${FILESDIR}"/gmic-${PV}-makefile.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCXX)" CFLAGS="${CXXFLAGS}" OPT_CFLAGS= DEBUG_CFLAGS= gimp
+}
+
+src_install() {
+ exeinto $(gimptool-2.0 --gimpplugindir)/plug-ins
+ doexe gmic_gimp
+ dodoc ../README
+}
+
+pkg_postinst() {
+ elog "The G'MIC plugin is accessible from the menu:"
+ elog "Filters -> G'MIC"
+}