diff options
author | Tim Harder <radhermit@gentoo.org> | 2016-12-09 02:03:15 -0500 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2016-12-09 02:03:15 -0500 |
commit | 9564f7452bcbd4bd86630ae53a7709dc39bcc551 (patch) | |
tree | acf56625e6b4b4485caf079042003423a6599a4d /media-gfx | |
parent | net-dialup/picocom: version bump to 2.2 (diff) | |
download | gentoo-9564f7452bcbd4bd86630ae53a7709dc39bcc551.tar.gz gentoo-9564f7452bcbd4bd86630ae53a7709dc39bcc551.tar.bz2 gentoo-9564f7452bcbd4bd86630ae53a7709dc39bcc551.zip |
media-gfx/gmic: remove old
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/gmic/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/gmic/files/gmic-1.6.5.0-makefile.patch | 154 | ||||
-rw-r--r-- | media-gfx/gmic/files/gmic-1.6.5.1-makefile.patch | 153 | ||||
-rw-r--r-- | media-gfx/gmic/gmic-1.6.5.0.ebuild | 77 | ||||
-rw-r--r-- | media-gfx/gmic/gmic-1.6.5.1.ebuild | 77 |
5 files changed, 0 insertions, 463 deletions
diff --git a/media-gfx/gmic/Manifest b/media-gfx/gmic/Manifest index 348ab5cf27a8..a21f4ab655e9 100644 --- a/media-gfx/gmic/Manifest +++ b/media-gfx/gmic/Manifest @@ -1,4 +1,2 @@ -DIST gmic_1.6.5.0.tar.gz 3005945 SHA256 ebc98c4f5848b8343d581104e072299529ac3edbcea7b565ffd6e1fb4bfd66ed SHA512 3feb5589dcc341106ce1305ce2d3f90776f074607bec3b8413519aa5f2c9dc9554a9ee7a5ba1d52d1a9e7676e6bff135d444276c989511f973cd456136d0e4e1 WHIRLPOOL 02f3f711fa9c876fba39e56a42c30f62a6c2d0848ae836f9635d7df0ef57f48f2a8f09ca361232c2239e473046fe7d085260ac365d2e7b6d49e65c3c0aa2e9bc -DIST gmic_1.6.5.1.tar.gz 3092777 SHA256 63737973848c292ef3877e1f6af3839e20fa209dd7a1bbacbdbac03bbb6fce85 SHA512 cfbb8db9a3f884ac27b4929a774c94372523a1e59a205180dde452d34310d32df4ef76c9cdfcc4ef5adf0ba72c5e1e44564cfeb2e9bc003ec8fae45df9c606c4 WHIRLPOOL e5e0e9d4dfff7a5b0da9d613bc998e32f71925cc44eb504519811327697fd13edf2abb1b94bd22619b17fa111d1e984944a01d7417ff0e328950b4258a7172fb DIST gmic_1.7.8.tar.gz 3013635 SHA256 3a2f32d79714239cfa56ecb10799b7d73362b4e2a852444bc24866272cd041a4 SHA512 2bfa7bb9ff3a99a76c71f7c4e0d619e9c205dafc02b5a2d1f097b6285c141e5413f7016b92d974327f787010a6832d272ab21a89842eee2484151072c2d4c559 WHIRLPOOL a81e135031ac095e700302d1b59428b6f86df4543643d17e759fcde3bcd7ceac950b7418d89854d2ee8c55af18efc67efc65f41984ca1dbbe5c12c3a12c36539 DIST gmic_1.7.9.tar.gz 3069082 SHA256 932fd2ad89d090864bd7bf3860f1751c14d34276c542416114b77fd30cc8642b SHA512 749611748c9fe2a141efc9b0a445411c1ece842f4c576b68b3b17cbbffdc1cf43a2aee55dc399b899dc03882f240289beaef96d9ec85b10ffc0ad986412cd4bc WHIRLPOOL cce3788a095d115afaa1c5641ac240d9b9977e62cdced9e0876bd53a623b91bb951faa07a404b4247c6b84e3e81eca8d3edac4bd0ff29a63efef8cf9a35a66f0 diff --git a/media-gfx/gmic/files/gmic-1.6.5.0-makefile.patch b/media-gfx/gmic/files/gmic-1.6.5.0-makefile.patch deleted file mode 100644 index ebf5e45108aa..000000000000 --- a/media-gfx/gmic/files/gmic-1.6.5.0-makefile.patch +++ /dev/null @@ -1,154 +0,0 @@ ---- gmic-1.6.5.0/src/Makefile -+++ gmic-1.6.5.0/src/Makefile -@@ -85,7 +85,6 @@ - ifndef NO_STDLIB - MANDATORY_CFLAGS += -std=c++11 - endif --MANDATORY_LIBS += -L$(USR)/$(LIB) - ifeq ($(notdir $(CC)),g++) - MANDATORY_CFLAGS += -Wall -W - MANDATORY_LIBS += -lm -@@ -139,14 +138,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_LIBS = -L/usr/X11R6/lib -lX11 -lpthread #-lXrandr -+X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" #-Dcimg_use_xrandr -+X11_LIBS = -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_LIBS = -L$(USR)/X11R6/lib -lXext -+XSHM_LIBS = -lXext - - # Flags to enable image display, using GDI32. - # This requires the presence of the GDI32 include and library files. -@@ -174,8 +173,8 @@ - # Flags to enable native support for MINC2 image files, using the MINC2 library. - # ( http://en.wikibooks.org/wiki/MINC/Reference/MINC2.0_Users_Guide ) - # (package 'libminc-dev' on Debian). --MINC2_CFLAGS = -Dcimg_use_minc2 -I${HOME}/local/include --MINC2_LIBS = -lminc_io -lvolume_io2 -lminc2 -lnetcdf -lhdf5 -lz -L${HOME}/local/lib -+MINC2_CFLAGS = -Dcimg_use_minc2 -+MINC2_LIBS = -lminc_io -lvolume_io2 -lminc2 -lnetcdf -lhdf5 -lz - - # Flags to enable native support for downloading files from the network. - # ( https://curl.haxx.se/libcurl/ ) -@@ -325,7 +324,6 @@ - - cli: - $(MAKE) "CFLAGS+=$(STD_CLI_CFLAGS) $(OPT_CFLAGS)" "LIBS+=$(STD_CLI_LIBS)" gmic -- strip gmic$(EXE) - - gimp: - $(MAKE) "CFLAGS+=$(STD_GIMP_CFLAGS) $(OPT_CFLAGS)" "LIBS+=$(STD_GIMP_LIBS)" gmic_gimp -@@ -335,11 +333,9 @@ - - gmicol: - $(MAKE) "CFLAGS+=$(STD_GMICOL_CFLAGS) $(OPT_CFLAGS)" "LIBS+=$(STD_GMICOL_LIBS)" gmic -- strip gmic$(EXE) - - static: - $(MAKE) "CFLAGS+=$(STATIC_CLI_CFLAGS) $(OPT_CFLAGS)" "LIBS+=$(STATIC_CLI_LIBS)" gmic -- strip gmic$(EXE) - - debug: - $(MAKE) "CFLAGS+=$(STD_CLI_CFLAGS) $(DEBUG_CFLAGS)" "LIBS+=$(STD_CLI_LIBS)" gmic -@@ -355,24 +351,22 @@ - libgmic.o: gmic.cpp gmic.h gmic_def.h CImg.h - $(CC) -o libgmic.o -c gmic.cpp -fPIC $(CFLAGS) - --libgmic: libgmic.o gmic_use_lib.cpp -- ar rcs libgmic.a libgmic.o -+libgmic: libgmic.o -+ $(AR) rcs libgmic.a libgmic.o - ifeq ($(OS),Darwin) -- $(CC) -shared -o libgmic.so libgmic.o $(LIBS) -+ $(CC) $(LDFLAGS) -shared -o libgmic.so libgmic.o $(LIBS) - else -- $(CC) -shared -Wl,-soname,libgmic.so.1 -o libgmic.so libgmic.o $(LIBS) -- $(CC) -o gmic_use_lib gmic_use_lib.cpp -L. -lgmic -+ $(CC) $(LDFLAGS) -shared -Wl,-soname,libgmic.so.1 -o libgmic.so libgmic.o $(LIBS) - endif - - gmic_gimp.o: gmic.cpp gmic.h gmic_def.h CImg.h - $(CC) -o gmic_gimp.o -c gmic.cpp -Dgmic_gimp $(CFLAGS) - - gmic_gimp : gmic_gimp.o gmic_gimp.cpp -- $(CC) -o gmic_gimp gmic_gimp.cpp gmic_gimp.o -Dgmic_gimp `gimptool-2.0$(EXE) --cflags` $(CFLAGS) `gimptool-2.0$(EXE) --libs` $(LIBS) -- strip gmic_gimp$(EXE) -+ $(CC) -o gmic_gimp gmic_gimp.cpp gmic_gimp.o -Dgmic_gimp `gimptool-2.0$(EXE) --cflags` $(CFLAGS) $(LDFLAGS) `gimptool-2.0$(EXE) --libs` $(LIBS) - - gmic: gmic.cpp gmic.h gmic_def.h CImg.h -- $(CC) -o gmic gmic.cpp -Dgmic_main $(CFLAGS) $(LIBS) -+ $(CC) -o gmic gmic.cpp -Dgmic_main $(CFLAGS) $(LDFLAGS) $(LIBS) - - gmic_def.h: - @wget --quiet -O gmic_def.h http://gmic.eu/gmic_def.h -@@ -397,38 +391,43 @@ - # Generate bash completion script (requires 'gmic' to be installed first). - bashcompletion: - @mkdir -p ../resources -- @\gmic -v - gmic_def.gmic raw:gmic_def.gmic,uchar -document_gmic bash 2> ../resources/gmic_bashcompletion.sh -+ @./gmic -v - gmic_def.gmic raw:gmic_def.gmic,uchar -document_gmic bash 2> ../resources/gmic_bashcompletion.sh - - # Generate man page (requires 'gmic' to be installed first). - man: - @mkdir -p ../man -- @\gmic -v - gmic_def.gmic raw:gmic_def.gmic,uchar -__help man 2> ../man/gmic.1 -- @gzip -f ../man/gmic.1 -+ @./gmic -v - gmic_def.gmic raw:gmic_def.gmic,uchar -__help man 2> ../man/gmic.1 - - # Install/uninstall/clean procedures. --install: -+install-gimp: - mkdir -p $(DESTDIR)$(PLUGINDIR)/ - cp -f gmic_gimp $(DESTDIR)$(PLUGINDIR)/ -+ -+install-bin: - mkdir -p $(DESTDIR)$(USR)/$(BIN)/ - cp -f gmic $(DESTDIR)$(USR)/$(BIN)/ -+ -+install-lib: - mkdir -p $(DESTDIR)$(USR)/$(INCLUDE)/ - cp -f gmic.h $(DESTDIR)$(USR)/$(INCLUDE)/ -- - ifneq ($(OS),Darwin) - mkdir -p $(DESTDIR)$(USR)/share - mkdir -p $(DESTDIR)$(USR)/$(LIB) - cp -f libgmic.so $(DESTDIR)$(USR)/$(LIB)/libgmic.so.1.6.5 - ln -fs libgmic.so.1.6.5 $(DESTDIR)$(USR)/$(LIB)/libgmic.so.1 - ln -fs libgmic.so.1 $(DESTDIR)$(USR)/$(LIB)/libgmic.so -- cp -f ../zart/zart $(DESTDIR)$(USR)/$(BIN)/ - endif -+ -+install-zart: -+ cp -f ../zart/zart $(DESTDIR)$(USR)/$(BIN)/ -+ -+install-man: - mkdir -p $(DESTDIR)$(USR)/share/man/ - mkdir -p $(DESTDIR)$(USR)/share/man/man1/ -- mkdir -p $(DESTDIR)$(USR)/share/man/fr/man1/ -- cp -f ../man/gmic.1.gz $(DESTDIR)$(USR)/share/man/man1/gmic.1.gz -- cp -f ../man/gmic.1.gz $(DESTDIR)$(USR)/share/man/fr/man1/gmic.1.gz -+ cp -f ../man/gmic.1 $(DESTDIR)$(USR)/share/man/man1/gmic.1 -+ -+install-bash: - if [ -d /etc/bash_completion.d/ ]; then mkdir -p $(DESTDIR)/etc/bash_completion.d/; cp -f ../resources/gmic_bashcompletion.sh $(DESTDIR)/etc/bash_completion.d/gmic; fi -- if [ -d /opt/local/etc/bash_completion.d/ ]; then mkdir -p $(DESTDIR)/opt/local/etc/bash_completion.d/; cp -f ../resources/gmic_bashcompletion.sh $(DESTDIR)/opt/local/etc/bash_completion.d/gmic; fi - - uninstall: - rm -f $(DESTDIR)$(USR)/$(BIN)/gmic -@@ -438,8 +437,7 @@ - rm -f $(DESTDIR)$(USR)/$(LIB)/libgmic.so.1 - rm -f $(DESTDIR)$(USR)/$(LIB)/libgmic.so - rm -rf $(DESTDIR)$(USR)/share/doc/gmic/ -- rm -f $(DESTDIR)$(USR)/share/man/man1/gmic.1.gz -- rm -f $(DESTDIR)$(USR)/share/man/fr/man1/gmic.1.gz -+ rm -f $(DESTDIR)$(USR)/share/man/man1/gmic.1 - - distclean: clean - diff --git a/media-gfx/gmic/files/gmic-1.6.5.1-makefile.patch b/media-gfx/gmic/files/gmic-1.6.5.1-makefile.patch deleted file mode 100644 index 4dfe9b7ff526..000000000000 --- a/media-gfx/gmic/files/gmic-1.6.5.1-makefile.patch +++ /dev/null @@ -1,153 +0,0 @@ ---- gmic-1.6.5.1/src/Makefile -+++ gmic-1.6.5.1/src/Makefile -@@ -85,7 +85,6 @@ - ifndef NO_STDLIB - MANDATORY_CFLAGS += -std=c++11 - endif --MANDATORY_LIBS += -L$(USR)/$(LIB) - ifeq ($(notdir $(CC)),g++) - MANDATORY_CFLAGS += -Wall -W - MANDATORY_LIBS += -lm -@@ -138,13 +137,13 @@ - # Flags to enable image display, using X11 - # (keep /usr/ dirname here since X11 is located in /usr/ on Mac too). - # This requires the presence of the X11 include and library files. --X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" -I/usr/X11R6/include #-Dcimg_use_xrandr --X11_LIBS = -L/usr/X11R6/lib -lX11 -lpthread #-lXrandr -+X11_CFLAGS = -Dcimg_display=1 -Dcimg_appname=\\\"gmic\\\" #-Dcimg_use_xrandr -+X11_LIBS = -lX11 -lpthread #-lXrandr - - # Flags to enable fast display, using XShm. - # This requires the presence of the X11 extension include and library files. - XSHM_CFLAGS = -Dcimg_use_xshm --XSHM_LIBS = -L$(USR)/X11R6/lib -lXext -+XSHM_LIBS = -lXext - - # Flags to enable image display, using GDI32. - # This requires the presence of the GDI32 include and library files. -@@ -168,8 +167,8 @@ - - # Flags to enable native support for MINC2 image files, using the MINC2 library. - # ( http://en.wikibooks.org/wiki/MINC/Reference/MINC2.0_Users_Guide ) --MINC2_CFLAGS = -Dcimg_use_minc2 -I${HOME}/local/include --MINC2_LIBS = -lminc_io -lvolume_io2 -lminc2 -lnetcdf -lhdf5 -lz -L${HOME}/local/lib -+MINC2_CFLAGS = -Dcimg_use_minc2 -+MINC2_LIBS = -lminc_io -lvolume_io2 -lminc2 -lnetcdf -lhdf5 -lz - - # Flags to enable native support for downloading files from the network. - # ( https://curl.haxx.se/libcurl/ ) -@@ -308,7 +307,6 @@ - - cli: - $(MAKE) "CFLAGS+=$(STD_CLI_CFLAGS) $(OPT_CFLAGS)" "LIBS+=$(STD_CLI_LIBS)" gmic -- strip gmic$(EXE) - - gimp: - $(MAKE) "CFLAGS+=$(STD_GIMP_CFLAGS) $(OPT_CFLAGS)" "LIBS+=$(STD_GIMP_LIBS)" gmic_gimp -@@ -318,11 +316,9 @@ - - gmicol: - $(MAKE) "CFLAGS+=$(STD_GMICOL_CFLAGS) $(OPT_CFLAGS)" "LIBS+=$(STD_GMICOL_LIBS)" gmic -- strip gmic$(EXE) - - static: - $(MAKE) "CFLAGS+=$(STATIC_CLI_CFLAGS) $(OPT_CFLAGS)" "LIBS+=$(STATIC_CLI_LIBS)" gmic -- strip gmic$(EXE) - - debug: - $(MAKE) "CFLAGS+=$(STD_CLI_CFLAGS) $(DEBUG_CFLAGS)" "LIBS+=$(STD_CLI_LIBS)" gmic -@@ -338,24 +334,22 @@ - libgmic.o: gmic.cpp gmic.h gmic_def.h CImg.h - $(CC) -o libgmic.o -c gmic.cpp -fPIC $(CFLAGS) - --libgmic: libgmic.o gmic_use_lib.cpp -- ar rcs libgmic.a libgmic.o -+libgmic: libgmic.o -+ $(AR) rcs libgmic.a libgmic.o - ifeq ($(OS),Darwin) -- $(CC) -shared -o libgmic.so libgmic.o $(LIBS) -+ $(CC) $(LDFLAGS) -shared -o libgmic.so libgmic.o $(LIBS) - else -- $(CC) -shared -Wl,-soname,libgmic.so.1 -o libgmic.so libgmic.o $(LIBS) -- $(CC) -o gmic_use_lib gmic_use_lib.cpp -L. -lgmic -+ $(CC) $(LDFLAGS) -shared -Wl,-soname,libgmic.so.1 -o libgmic.so libgmic.o $(LIBS) - endif - - gmic_gimp.o: gmic.cpp gmic.h gmic_def.h CImg.h - $(CC) -o gmic_gimp.o -c gmic.cpp -Dgmic_gimp $(CFLAGS) - - gmic_gimp : gmic_gimp.o gmic_gimp.cpp -- $(CC) -o gmic_gimp gmic_gimp.cpp gmic_gimp.o -Dgmic_gimp `gimptool-2.0$(EXE) --cflags` $(CFLAGS) `gimptool-2.0$(EXE) --libs` $(LIBS) -- strip gmic_gimp$(EXE) -+ $(CC) -o gmic_gimp gmic_gimp.cpp gmic_gimp.o -Dgmic_gimp `gimptool-2.0$(EXE) --cflags` $(CFLAGS) $(LDFLAGS) `gimptool-2.0$(EXE) --libs` $(LIBS) - - gmic: gmic.cpp gmic.h gmic_def.h CImg.h -- $(CC) -o gmic gmic.cpp -Dgmic_main $(CFLAGS) $(LIBS) -+ $(CC) -o gmic gmic.cpp -Dgmic_main $(CFLAGS) $(LDFLAGS) $(LIBS) - - gmic_def.h: - @wget --quiet -O gmic_def.h http://gmic.eu/gmic_def.h -@@ -380,38 +374,43 @@ - # Generate bash completion script (requires 'gmic' to be installed first). - bashcompletion: - @mkdir -p ../resources -- @\gmic -v - gmic_def.gmic raw:gmic_def.gmic,uchar -document_gmic bash 2> ../resources/gmic_bashcompletion.sh -+ @./gmic -v - gmic_def.gmic raw:gmic_def.gmic,uchar -document_gmic bash 2> ../resources/gmic_bashcompletion.sh - - # Generate man page (requires 'gmic' to be installed first). - man: - @mkdir -p ../man -- @\gmic -v - gmic_def.gmic raw:gmic_def.gmic,uchar -__help man 2> ../man/gmic.1 -- @gzip -f ../man/gmic.1 -+ @./gmic -v - gmic_def.gmic raw:gmic_def.gmic,uchar -__help man 2> ../man/gmic.1 - - # Install/uninstall/clean procedures. --install: -+install-gimp: - mkdir -p $(DESTDIR)$(PLUGINDIR)/ - cp -f gmic_gimp $(DESTDIR)$(PLUGINDIR)/ -+ -+install-bin: - mkdir -p $(DESTDIR)$(USR)/$(BIN)/ - cp -f gmic $(DESTDIR)$(USR)/$(BIN)/ -+ -+install-lib: - mkdir -p $(DESTDIR)$(USR)/$(INCLUDE)/ - cp -f gmic.h $(DESTDIR)$(USR)/$(INCLUDE)/ -- - ifneq ($(OS),Darwin) - mkdir -p $(DESTDIR)$(USR)/share - mkdir -p $(DESTDIR)$(USR)/$(LIB) - cp -f libgmic.so $(DESTDIR)$(USR)/$(LIB)/libgmic.so.1.6.5 - ln -fs libgmic.so.1.6.5 $(DESTDIR)$(USR)/$(LIB)/libgmic.so.1 - ln -fs libgmic.so.1 $(DESTDIR)$(USR)/$(LIB)/libgmic.so -- cp -f ../zart/zart $(DESTDIR)$(USR)/$(BIN)/ - endif -+ -+install-zart: -+ cp -f ../zart/zart $(DESTDIR)$(USR)/$(BIN)/ -+ -+install-man: - mkdir -p $(DESTDIR)$(USR)/share/man/ - mkdir -p $(DESTDIR)$(USR)/share/man/man1/ -- mkdir -p $(DESTDIR)$(USR)/share/man/fr/man1/ -- cp -f ../man/gmic.1.gz $(DESTDIR)$(USR)/share/man/man1/gmic.1.gz -- cp -f ../man/gmic.1.gz $(DESTDIR)$(USR)/share/man/fr/man1/gmic.1.gz -+ cp -f ../man/gmic.1 $(DESTDIR)$(USR)/share/man/man1/gmic.1 -+ -+install-bash: - if [ -d /etc/bash_completion.d/ ]; then mkdir -p $(DESTDIR)/etc/bash_completion.d/; cp -f ../resources/gmic_bashcompletion.sh $(DESTDIR)/etc/bash_completion.d/gmic; fi -- if [ -d /opt/local/etc/bash_completion.d/ ]; then mkdir -p $(DESTDIR)/opt/local/etc/bash_completion.d/; cp -f ../resources/gmic_bashcompletion.sh $(DESTDIR)/opt/local/etc/bash_completion.d/gmic; fi - - uninstall: - rm -f $(DESTDIR)$(USR)/$(BIN)/gmic -@@ -421,8 +420,7 @@ - rm -f $(DESTDIR)$(USR)/$(LIB)/libgmic.so.1 - rm -f $(DESTDIR)$(USR)/$(LIB)/libgmic.so - rm -rf $(DESTDIR)$(USR)/share/doc/gmic/ -- rm -f $(DESTDIR)$(USR)/share/man/man1/gmic.1.gz -- rm -f $(DESTDIR)$(USR)/share/man/fr/man1/gmic.1.gz -+ rm -f $(DESTDIR)$(USR)/share/man/man1/gmic.1 - - distclean: clean - diff --git a/media-gfx/gmic/gmic-1.6.5.0.ebuild b/media-gfx/gmic/gmic-1.6.5.0.ebuild deleted file mode 100644 index f7502c81a7b5..000000000000 --- a/media-gfx/gmic/gmic-1.6.5.0.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit eutils toolchain-funcs bash-completion-r1 flag-o-matic - -DESCRIPTION="GREYC's Magic Image Converter" -HOMEPAGE="http://gmic.eu/" -SRC_URI="http://gmic.eu/files/source/${PN}_${PV}.tar.gz" - -LICENSE="CeCILL-2 FDL-1.3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="ffmpeg fftw graphicsmagick jpeg opencv openexr openmp png tiff X zlib" - -DEPEND=" - fftw? ( sci-libs/fftw:3.0[threads] ) - graphicsmagick? ( media-gfx/graphicsmagick ) - jpeg? ( virtual/jpeg:0 ) - opencv? ( >=media-libs/opencv-2.3.1a-r1 ) - openexr? ( - media-libs/ilmbase - media-libs/openexr - ) - png? ( media-libs/libpng:0= ) - tiff? ( media-libs/tiff:0 ) - X? ( - x11-libs/libX11 - x11-libs/libXext - ) - zlib? ( sys-libs/zlib )" -RDEPEND="${DEPEND} - ffmpeg? ( media-video/ffmpeg:0 ) -" - -S=${WORKDIR}/${P}/src - -pkg_pretend() { - if use openmp ; then - tc-has-openmp || die "Please switch to an openmp compatible compiler" - fi - - if ! test-flag-CXX -std=c++11 ; then - die "You need at least GCC 4.7.x or Clang >= 3.3 for C++11-specific compiler flags" - fi -} - -src_prepare() { - epatch "${FILESDIR}"/${P}-makefile.patch - - for i in fftw jpeg opencv openmp png tiff zlib ; do - use $i || { sed -i -r "s/^(${i}_(CFLAGS|LIBS) =).*/\1/I" Makefile || die ; } - done - - use graphicsmagick || { sed -i -r "s/^(MAGICK_(CFLAGS|LIBS) =).*/\1/" Makefile || die ; } - use openexr || { sed -i -r "s/^(EXR_(CFLAGS|LIBS) =).*/\1/" Makefile || die ; } - - if ! use X ; then - sed -i -r "s/^((X11|XSHM)_(CFLAGS|LIBS) =).*/\1/" Makefile || die - - # disable display capabilities when X support is disabled - append-cxxflags -Dcimg_display=0 - fi -} - -src_compile() { - emake AR="$(tc-getAR)" CC="$(tc-getCXX)" CFLAGS="${CXXFLAGS}" \ - LIB="$(get_libdir)" OPT_CFLAGS= DEBUG_CFLAGS= cli lib - emake man bashcompletion -} - -src_install() { - emake DESTDIR="${D}" LIB="$(get_libdir)" install-bin install-lib install-man install-bash - dodoc ../README -} diff --git a/media-gfx/gmic/gmic-1.6.5.1.ebuild b/media-gfx/gmic/gmic-1.6.5.1.ebuild deleted file mode 100644 index f7502c81a7b5..000000000000 --- a/media-gfx/gmic/gmic-1.6.5.1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit eutils toolchain-funcs bash-completion-r1 flag-o-matic - -DESCRIPTION="GREYC's Magic Image Converter" -HOMEPAGE="http://gmic.eu/" -SRC_URI="http://gmic.eu/files/source/${PN}_${PV}.tar.gz" - -LICENSE="CeCILL-2 FDL-1.3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="ffmpeg fftw graphicsmagick jpeg opencv openexr openmp png tiff X zlib" - -DEPEND=" - fftw? ( sci-libs/fftw:3.0[threads] ) - graphicsmagick? ( media-gfx/graphicsmagick ) - jpeg? ( virtual/jpeg:0 ) - opencv? ( >=media-libs/opencv-2.3.1a-r1 ) - openexr? ( - media-libs/ilmbase - media-libs/openexr - ) - png? ( media-libs/libpng:0= ) - tiff? ( media-libs/tiff:0 ) - X? ( - x11-libs/libX11 - x11-libs/libXext - ) - zlib? ( sys-libs/zlib )" -RDEPEND="${DEPEND} - ffmpeg? ( media-video/ffmpeg:0 ) -" - -S=${WORKDIR}/${P}/src - -pkg_pretend() { - if use openmp ; then - tc-has-openmp || die "Please switch to an openmp compatible compiler" - fi - - if ! test-flag-CXX -std=c++11 ; then - die "You need at least GCC 4.7.x or Clang >= 3.3 for C++11-specific compiler flags" - fi -} - -src_prepare() { - epatch "${FILESDIR}"/${P}-makefile.patch - - for i in fftw jpeg opencv openmp png tiff zlib ; do - use $i || { sed -i -r "s/^(${i}_(CFLAGS|LIBS) =).*/\1/I" Makefile || die ; } - done - - use graphicsmagick || { sed -i -r "s/^(MAGICK_(CFLAGS|LIBS) =).*/\1/" Makefile || die ; } - use openexr || { sed -i -r "s/^(EXR_(CFLAGS|LIBS) =).*/\1/" Makefile || die ; } - - if ! use X ; then - sed -i -r "s/^((X11|XSHM)_(CFLAGS|LIBS) =).*/\1/" Makefile || die - - # disable display capabilities when X support is disabled - append-cxxflags -Dcimg_display=0 - fi -} - -src_compile() { - emake AR="$(tc-getAR)" CC="$(tc-getCXX)" CFLAGS="${CXXFLAGS}" \ - LIB="$(get_libdir)" OPT_CFLAGS= DEBUG_CFLAGS= cli lib - emake man bashcompletion -} - -src_install() { - emake DESTDIR="${D}" LIB="$(get_libdir)" install-bin install-lib install-man install-bash - dodoc ../README -} |