diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-03-01 22:09:00 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-03-01 22:09:00 +0000 |
commit | bf20addfbf8503a55f78bda849bf6ccc88181cdc (patch) | |
tree | fdf338703be23afd48d1cb9d31c02c20087cec11 /media-gfx | |
parent | Version bump. Add doc use flag to install pdf reference manual. (diff) | |
download | historical-bf20addfbf8503a55f78bda849bf6ccc88181cdc.tar.gz historical-bf20addfbf8503a55f78bda849bf6ccc88181cdc.tar.bz2 historical-bf20addfbf8503a55f78bda849bf6ccc88181cdc.zip |
Remove old.
Package-Manager: portage-2.2.0_alpha89/cvs/Linux x86_64
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/gmic/ChangeLog | 6 | ||||
-rw-r--r-- | media-gfx/gmic/Manifest | 21 | ||||
-rw-r--r-- | media-gfx/gmic/files/gmic-1.5.0.7-makefile.patch | 130 | ||||
-rw-r--r-- | media-gfx/gmic/gmic-1.5.0.7.ebuild | 64 | ||||
-rw-r--r-- | media-gfx/gmic/gmic-1.5.0.8.ebuild | 64 |
5 files changed, 13 insertions, 272 deletions
diff --git a/media-gfx/gmic/ChangeLog b/media-gfx/gmic/ChangeLog index 5d130b77b11a..62c9b0deb6b7 100644 --- a/media-gfx/gmic/ChangeLog +++ b/media-gfx/gmic/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-gfx/gmic # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/gmic/ChangeLog,v 1.11 2012/03/01 22:07:11 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gmic/ChangeLog,v 1.12 2012/03/01 22:08:59 radhermit Exp $ + + 01 Mar 2012; Tim Harder <radhermit@gentoo.org> -gmic-1.5.0.7.ebuild, + -files/gmic-1.5.0.7-makefile.patch, -gmic-1.5.0.8.ebuild: + Remove old. *gmic-1.5.1.0 (01 Mar 2012) diff --git a/media-gfx/gmic/Manifest b/media-gfx/gmic/Manifest index 4ebfb786acb6..a0819cb7ee0b 100644 --- a/media-gfx/gmic/Manifest +++ b/media-gfx/gmic/Manifest @@ -2,27 +2,22 @@ Hash: SHA512 AUX gmic-1.5.0.7-ffmpeg.patch 1927 RMD160 bb0d018a362b84d9b9ecea1a82f5c46c9f620206 SHA1 075a441d8f9f0e62f7d507ad8d785462642c2d8e SHA256 57e36922ecd33f8b05666ff707ed7f8cba2d9c732ae3bad7bd379a52bf2c0b25 -AUX gmic-1.5.0.7-makefile.patch 6120 RMD160 83e29d43ad174a478efe89e6c455dccdafd451e5 SHA1 2ab0ea1e0c1f2da6c4ab3a41328ad3e62c548afa SHA256 5a6954258f0ed7ec82fa85ad548fb6df6fc4540bbb4c75908bc58a49aacddea0 AUX gmic-1.5.0.9-makefile.patch 5719 RMD160 745e350bd25ed1b0862303903df7c1af9061429f SHA1 899023b36c4da45ffeb3870f35bef89d14090ac4 SHA256 6d30842378663dfec2dc1cb4277b986ca675daab54af34aa67fb112291dfb9cd -DIST gmic_1.5.0.7.tar.gz 1228525 RMD160 c1fadcb904b25c8b0056204a9124ab461212c5f6 SHA1 45c85e0ed09caf6c2a41bd3d01747fcc5b5bf284 SHA256 b74d873d5d57947ae7848fb926faa73d98a0aea6fc7b5a305b3b824a67762f54 -DIST gmic_1.5.0.8.tar.gz 1250904 RMD160 99532589dab47f0e1b493e8b07853eac8543ae70 SHA1 f81c982686d6e434cce853366aec6e47a5a30ed1 SHA256 ded93e9b45513359d51512d547237bedfbc3f26a2e042b62e8ac8b44d0e5f2aa DIST gmic_1.5.0.9.tar.gz 1196717 RMD160 fdd779ecbe0bc33060641dcfd6b1f5e1d3db3d26 SHA1 0800997001cfff79a82a11e07239b5971316833a SHA256 d647a64bd25bf4146d1c755aa2d26f129605e03b3072dca2dc2e6ec5e38ed3b0 DIST gmic_1.5.1.0.tar.gz 1958110 RMD160 e683d04588e3b5b5e186a61e5cf8ddbf87944aa3 SHA1 34f22eda7fdb730718ab1c9de15f5c721c5ef163 SHA256 1622d3d8365e3b8720e13f5fc4eb58dfecb944535f9334255a5ea99e14ba6074 DIST gmic_reference-1.5.1.0.pdf.xz 15783964 RMD160 390c3321d03eb1bcb9a9e3919e34052c73cbf838 SHA1 5bbc8e0e44cd664ed8bf97be20dda21463162bcb SHA256 044a028b8c977354702a721512503bcf61b7eff2c7a3b834a73477129fda73a8 -EBUILD gmic-1.5.0.7.ebuild 1734 RMD160 30c0c89537d1b3865d9812e4a1d55bb96d08e700 SHA1 fd895cd386ad616693c8bd72fda0d3f1456bf80b SHA256 e47370b3bc19c29ed4201c1fd1ac55a1f42931e51eccb65ed115938c3cec6ff6 -EBUILD gmic-1.5.0.8.ebuild 1752 RMD160 28f89bd20c78ce8fb69c76d3a1c3f6c5f52ece2c SHA1 a066e2137814ceff76cb8af4eba3999065525ce9 SHA256 5ce8f4b25671fb856e44f5665ed1a33248bc2ad9440a58a4c6704292831fe435 EBUILD gmic-1.5.0.9.ebuild 1733 RMD160 773a61fa536bf52923db9deab49fce8ed8d3e448 SHA1 661b43be8595ed1aeaf17021293d8975fbfbce19 SHA256 0d751f47006fae542d2dc027efefd1d1085271bfd5e27659db19b340ed22a264 EBUILD gmic-1.5.1.0.ebuild 1924 RMD160 35a06170e8530d471ad4183faa32a25df473f16f SHA1 33f5feacf769d26da27c0d81957f0272ecda66fd SHA256 823cf430c524c332ed42bba8e22703d448dcd120dec3b37b6714d084cc8158f5 -MISC ChangeLog 1763 RMD160 7e2f9a7aa1db5fe97b310bfedcef79f0fbd67451 SHA1 d1479eec48be6c9da4a4b9ec2a0bbe5502f62fa4 SHA256 f864e8083083432dcb3228ede118baea7d98ce264441cdbd2dd94b198cb8036c +MISC ChangeLog 1909 RMD160 5af8752e3fe67aa8bf30e7d2c03b402cbf38834b SHA1 216255431da781352723cf8a082616388cca996b SHA256 5d7e45b33df5c001d6f8e0fd62c984000d3321b404d257a1cf08302b2fc6114a MISC metadata.xml 473 RMD160 680f8739786ae6d9221c0f6d2734cb16682c1b7c SHA1 1ce57e832b27b5e349e070cdeaf37ff11f500b18 SHA256 def06af4d0283b01f9313231ff05df286129ff57afbcac23fcc7c45d8f735a6c -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iQEcBAEBCgAGBQJPT/MZAAoJEEqz6FtPBkyjNVMH/iPPuu6odemUcOl3qmPqkfmo -gRWMRJeCq8Rlg48M1/pZCPvME9adnjldGdsYNNCbzvFWes+O+NMgGXP82cXSi+yo -VWTjlHv5nyhuO8va8tNY5Xpm7lB1H6Km3ugmt2sDpNTEFJzyvoWwkn/Gud8mLIGB -pLzn+u1YuCuppiDd0B/iZ3H3L61aP23Gh22uoIJTNwn93rCWW5J+Gu1pbH1QmiWa -7o94uGHN0QXsHOHEKs4Ac7EEJtV9LCvg9NPZFHWOzhTiiWeEYTYlGrNIZo7jW77U -s4ocqpEMcietLrBrwhKQYeq0pcHBoPY+/gDSpQjsKSXfuI1DhIeYrxqHJelB61k= -=pdmQ +iQEcBAEBCgAGBQJPT/OBAAoJEEqz6FtPBkyj6l4H/02Q+01eTR+++FFP26gbJ599 +bK/45CVTavlQtY5v7uNyRVSZYmpF6kkL2z2yHr+XHF+6XfMWcX9/vfcD97lPkql+ +tiQ/LEbJ/CJjhqzv9XPAMxYZ94v4lusYzZBgX9+Kb/loCLj/wRUnd178IT78wMvl +VhqCQdWg+jdKunHxQI92q92NNyREIsCr8xld8YmIGwFUyKfvc+pFilk/X0rN+1Xw +wbHWJSZyr7S9bXXtSCMUzXJfdhllEabOKJ+EIJcmSK4Kv4ShdAEnCgRTFJHDNbGg +Q8Kb2O5/B36FHcM+Mxq3sBXZ9fF1QNMb5JPij2CGNlbHcT2gC7/zyhW4sqHA5jw= +=VjpK -----END PGP SIGNATURE----- diff --git a/media-gfx/gmic/files/gmic-1.5.0.7-makefile.patch b/media-gfx/gmic/files/gmic-1.5.0.7-makefile.patch deleted file mode 100644 index 162872afbf3a..000000000000 --- a/media-gfx/gmic/files/gmic-1.5.0.7-makefile.patch +++ /dev/null @@ -1,130 +0,0 @@ ---- gmic-1.5.0.7/src/Makefile.orig -+++ gmic-1.5.0.7/src/Makefile -@@ -90,7 +90,7 @@ - - # Flags that are mandatory to compile 'gmic'. - MANDATORY_CFLAGS += -Dgmic_build -I$(USR)/include --MANDATORY_LDFLAGS += -L$(USR)/lib -+MANDATORY_LDFLAGS += - ifeq ($(IS_GCC),yes) - MANDATORY_CFLAGS += -Wall -W - MANDATORY_LDFLAGS += -lm -@@ -101,21 +101,21 @@ - DEBUG_CFLAGS = -Dcimg_use_vt100 -Dcimg_verbosity=3 -g - - # Flags to enable optimizations. --ifeq ($(IS_GCC),yes) --OPT_CFLAGS = -O3 -fno-tree-pre # -ffast-math --endif --ifeq ($(CC),icc) --OPT_CFLAGS = -O3 -ipo -no-prec-div -override-limits --endif -+#ifeq ($(IS_GCC),yes) -+#OPT_CFLAGS = -O3 -fno-tree-pre # -ffast-math -+#endif -+#ifeq ($(CC),icc) -+#OPT_CFLAGS = -O3 -ipo -no-prec-div -override-limits -+#endif - - # Flags to enable image display, using X11 - # (keep /usr/ dirname here since X11 is located in /usr/ on Mac too). - 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_LDFLAGS = -lX11 -lpthread #-lXrandr - - # Flags to enable fast display, using XShm. - XSHM_CFLAGS = -Dcimg_use_xshm --XSHM_LDFLAGS = -L$(USR)/X11R6/lib -lXext -+XSHM_LDFLAGS = -lXext - - # Flags to enable image display, using GDI32. - GDI32_CFLAGS = -Dcimg_display=2 -Dcimg_appname=\\\"gmic\\\" -@@ -147,12 +147,7 @@ - - # Flags to enable native support of webcams, using the OpenCV library. - OPENCV_CFLAGS = -Dcimg_use_opencv -I$(USR)/include/opencv --ifeq ($(OS),Darwin) - OPENCV_LDFLAGS = -lopencv_core -lopencv_highgui # Use this for OpenCV 2.2.0 ! --else --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. - MAGICK_CFLAGS = -Dcimg_use_magick -I$(USR)/include/GraphicsMagick -@@ -189,11 +184,11 @@ - $(EXR_LDFLAGS) $(FFTW_LDFLAGS) $(OPENCV_LDFLAGS) # $(FFMPEG_LDFLAGS) $(XSHM_LDFLAGS) # $(MAGICK_LDFLAGS) - - CUST_UNIX_CFLAGS = $(MANDATORY_CFLAGS) $(X11_CFLAGS) $(XSHM_CFLAGS) $(PNG_CFLAGS) \ -- $(JPEG_CFLAGS) $(TIFF_CFLAGS) $(MINC2_CFLAGS) $(ZLIB_CFLAGS) \ -- $(FFTW_CFLAGS) $(BOARD_CFLAGS) $(EXR_CFLAGS) $(MAGICK_CFLAGS) # $(FFMPEG_CFLAGS) $(OPENCV_CFLAGS) -+ $(JPEG_CFLAGS) $(TIFF_CFLAGS) $(ZLIB_CFLAGS) \ -+ $(FFTW_CFLAGS) $(EXR_CFLAGS) $(MAGICK_CFLAGS) $(FFMPEG_CFLAGS) $(OPENCV_CFLAGS) - CUST_UNIX_LDFLAGS = $(MANDATORY_LDFLAGS) $(X11_LDFLAGS) $(XSHM_LDFLAGS) $(PNG_LDFLAGS) \ -- $(JPEG_LDFLAGS) $(TIFF_LDFLAGS) $(MINC2_LDFLAGS) $(ZLIB_LDFLAGS) \ -- $(FFTW_LDFLAGS) $(BOARD_LDFLAGS) $(EXR_LDFLAGS) $(MAGICK_LDFLAGS) # $(FFMPEG_LDFLAGS) $(OPENCV_LDFLAGS) -+ $(JPEG_LDFLAGS) $(TIFF_LDFLAGS) $(ZLIB_LDFLAGS) \ -+ $(FFTW_LDFLAGS) $(EXR_LDFLAGS) $(MAGICK_LDFLAGS) $(FFMPEG_LDFLAGS) $(OPENCV_LDFLAGS) - - DEBUG_UNIX_CFLAGS = $(MANDATORY_CFLAGS) $(DEBUG_CFLAGS) $(X11_CFLAGS) $(XSHM_CFLAGS) $(PNG_CFLAGS) \ - $(JPEG_CFLAGS) $(TIFF_CFLAGS) $(ZLIB_CFLAGS) $(FFTW_CFLAGS) \ -@@ -219,7 +214,7 @@ - STD_WINDOWS_LDFLAGS = $(MANDATORY_LDFLAGS) $(GDI32_LDFLAGS) $(ZLIB_LDFLAGS) $(PNG_LDFLAGS) $(JPEG_LDFLAGS) $(FFTW_LDFLAGS) - - STD_GIMP_CFLAGS = -Dgmic_build -Dcimg_display=0 -Dcimg_use_rng -I$(USR)/include $(FFTW_CFLAGS) $(PNG_CFLAGS) $(ZLIB_CFLAGS) ${IS_BETA_CFLAGS} --STD_GIMP_LDFLAGS = -L$(USR)/lib -lpthread $(FFTW_LDFLAGS) $(PNG_LDFLAGS) $(ZLIB_LDFLAGS) -+STD_GIMP_LDFLAGS = -lpthread $(FFTW_LDFLAGS) $(PNG_LDFLAGS) $(ZLIB_LDFLAGS) - ifeq ($(OS),MINGW32_NT-5.1) - STD_GIMP_LDFLAGS += -mwindows - endif -@@ -263,10 +258,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)" gmic_lib -+ $(MAKE) "CFLAGS+=$(STD_LIB_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_LIB_LDFLAGS)" gmic_lib - - # Entries for non-default configurations. - minimal: -@@ -276,10 +271,10 @@ - $(MAKE) "CFLAGS+=$(DEBUG_UNIX_CFLAGS)" "LDFLAGS+=$(DEBUG_UNIX_LDFLAGS)" gmic_minimal - - linux: -- $(MAKE) "CFLAGS=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_UNIX_LDFLAGS)" "STRIP_EXE=1" gmic_gmic -+ $(MAKE) "CFLAGS+=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(STD_UNIX_LDFLAGS)" gmic_gmic - - custom: -- $(MAKE) "CFLAGS=$(CUST_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(CUST_UNIX_LDFLAGS)" "STRIP_EXE=1" gmic_gmic -+ $(MAKE) "CFLAGS+=$(CUST_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS+=$(CUST_UNIX_LDFLAGS)" gmic_gmic - - solaris: - $(MAKE) "CFLAGS=$(STD_UNIX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_UNIX_LDFLAGS) -R$(USR)/X11R6/lib -lrt -lnsl -lsocket" "STRIP_EXE=1" gmic_gmic -@@ -297,7 +292,7 @@ - gmic_lib.o: gmic.cpp gmic_def.h - $(CC) -o gmic_lib.o -c gmic.cpp -fPIC -Dgmic_minimal -Dgmic_float $(CFLAGS) - gmic_lib: gmic_lib.o -- ar rcs libgmic.a gmic_lib.o -+ $(AR) rcs libgmic.a gmic_lib.o - $(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) - -@@ -305,7 +300,6 @@ - $(CC) -o gmic_gimp.o -c gmic.cpp -Dgmic_gimp -Dgmic_minimal -Dgmic_float $(CFLAGS) - 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_minimal: gmic.cpp - $(CC) -o gmic gmic.cpp -Dgmic_minimal -Dgmic_float -Dgmic_main $(CFLAGS) $(LDFLAGS) -@@ -330,7 +324,6 @@ - $(CC) -o gmic_double.o -c gmic.cpp -Dgmic_separate_compilation -Dgmic_double $(CFLAGS) - gmic_gmic: gmic.cpp 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 gmic_def.h - $(CC) -o gmic gmic.cpp -Dgmic_separate_compilation -Dgmic_main $(CFLAGS) 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) - - def: - @echo "#ifndef gmic_gimp" > gmic_def.h diff --git a/media-gfx/gmic/gmic-1.5.0.7.ebuild b/media-gfx/gmic/gmic-1.5.0.7.ebuild deleted file mode 100644 index 73b37dcb579c..000000000000 --- a/media-gfx/gmic/gmic-1.5.0.7.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# 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.7.ebuild,v 1.2 2011/12/31 22:31:19 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-2.3.1a-r1 ) - 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}"/${P}-makefile.patch - epatch "${FILESDIR}"/${P}-ffmpeg.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} -} diff --git a/media-gfx/gmic/gmic-1.5.0.8.ebuild b/media-gfx/gmic/gmic-1.5.0.8.ebuild deleted file mode 100644 index 65338a6f31dc..000000000000 --- a/media-gfx/gmic/gmic-1.5.0.8.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# 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.8.ebuild,v 1.2 2011/12/31 22:31:19 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-2.3.1a-r1 ) - 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.7-makefile.patch - epatch "${FILESDIR}"/${PN}-1.5.0.7-ffmpeg.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} -} |