summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-07-26 02:20:50 +0000
committerTim Harder <radhermit@gentoo.org>2012-07-26 02:20:50 +0000
commitf221acc8fc1822be6fbafb14597a84c30de9d5ef (patch)
treec63454bb6582417f8853ae8b8d9a32bff5636a16 /media-gfx/gmic
parentMask USE=dracut in sys-fs/zfs (diff)
downloadhistorical-f221acc8fc1822be6fbafb14597a84c30de9d5ef.tar.gz
historical-f221acc8fc1822be6fbafb14597a84c30de9d5ef.tar.bz2
historical-f221acc8fc1822be6fbafb14597a84c30de9d5ef.zip
Remove old.
Package-Manager: portage-2.2.0_alpha120/cvs/Linux x86_64
Diffstat (limited to 'media-gfx/gmic')
-rw-r--r--media-gfx/gmic/ChangeLog6
-rw-r--r--media-gfx/gmic/Manifest19
-rw-r--r--media-gfx/gmic/files/gmic-1.5.1.4-makefile.patch108
-rw-r--r--media-gfx/gmic/gmic-1.5.1.4.ebuild73
4 files changed, 13 insertions, 193 deletions
diff --git a/media-gfx/gmic/ChangeLog b/media-gfx/gmic/ChangeLog
index 0e26d7e880b3..e8e36f93874d 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.19 2012/07/26 02:12:13 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/gmic/ChangeLog,v 1.20 2012/07/26 02:20:50 radhermit Exp $
+
+ 26 Jul 2012; Tim Harder <radhermit@gentoo.org> -gmic-1.5.1.4.ebuild,
+ -files/gmic-1.5.1.4-makefile.patch:
+ Remove old.
*gmic-1.5.1.7 (26 Jul 2012)
diff --git a/media-gfx/gmic/Manifest b/media-gfx/gmic/Manifest
index 958bd9b12068..e2bbb25d93eb 100644
--- a/media-gfx/gmic/Manifest
+++ b/media-gfx/gmic/Manifest
@@ -2,25 +2,22 @@
Hash: SHA256
AUX gmic-1.5.0.7-ffmpeg.patch 1927 SHA256 57e36922ecd33f8b05666ff707ed7f8cba2d9c732ae3bad7bd379a52bf2c0b25 SHA512 9240966708b0aed5bcb04e0e15650f5697c06ab8f7a0bd16529071e4f17562f4a9ab7e28aaf31b8835d1d04876febd1c2883242c1d7279f913ff66cb04a3c27c WHIRLPOOL 97d82dc3300eb4b364f94fa2990d676f60a3ef644cb34a2ff8c5ecc24cff38d25fe3aefe846e316768a1b7a03d9178fd16db9cb0568612f7c7a425de9b22afba
-AUX gmic-1.5.1.4-makefile.patch 5333 SHA256 a0f09d0d3387879fa252297f0baff4dbdab18d7f462b38850aea9c4686fe7e83 SHA512 82693956a262e388d71fa214207d16173dc0310ac9b3558e59a2ab97cfcf6f7dd39adbc9d1c1a38aa4e60cc6304eb52d4b8fbfc8069ddd6eb4ed2107f32938f5 WHIRLPOOL 24db2dfce32b6d10794760bef9967f2a769bad978a034dba9ae2ac5c68e64bcb09e3fe96b838a6ede310cb52de5e1a70c88c9314843ba0f1bf037daaa4d060f6
AUX gmic-1.5.1.6-makefile.patch 5517 SHA256 66ecf6cded9f8404c7ff075cd8d37b3e4861b61ec6bf2c0d50d548635e2c2a66 SHA512 eaa8e8d1f1ef0e73834771b956d23e6ea33ab3202da9997d0ad45ffb2ffbd3a46b70690de3513944a9cb50171344bec5a89064e314789acfb84c60d97f553a18 WHIRLPOOL b7caa7391e2a9c348e13cf9eda5a556d4cacf1966241764548054435757ee839698b8875bc05926343abd9f47e4cb28857be4963b435a4ef920ab7a676fc092a
AUX gmic-1.5.1.7-makefile.patch 5485 SHA256 c3703b0c8e35cfd86a0b851da1a6b8b3da8776789d987ce395e5a772f6112411 SHA512 0e40fd978232680d08c1c36f01a86f9940fc34f7ef88465e67e52f23de821d13efec2dc931ae2bb9ac1daa464391b3784061ded738105ce0def330719a98c963 WHIRLPOOL 4a690fc8959d73209583a4b3a68d2d66854355e4d36564c1393a04396d033c8af4e6a43763739dee66db941b3cdd42b6ece7cafa0e1bfc5456b71f78886d7841
-DIST gmic_1.5.1.4.tar.gz 1935597 SHA256 f59e4a7f8d4d657590073cfb07d9e611bcd8988662c914e5bbd9fa40ff51f31a SHA512 18a2e01bb5816d73b70dd0099e2bc9e478500168f3bece2a2ef735962612b3d710a72300274b6b8528ea87e5d628d6fb8e5268540132b879fcb3ac60684f2dbc WHIRLPOOL ba0ba2b3c2cd7d0bbda0b1f459189a9a583d404b232e947bb8215d04206a044b9a31125a4b4aab6e6c81216fe1f6b4ac320c8e97560a3a98ad9fbf232d58a09f
DIST gmic_1.5.1.6.tar.gz 1957144 SHA256 e3db47c8a3102f0e22620991c0ecfec82ad46dd11449d7c85aed3d4607c458b9 SHA512 fb399f9e64328c0dba680599828f4ad5a517c9b872dd6c46c5a3769014805710929f7503d17c2c830258d49651e9e0c2b59135565b241c165f5dbb9a799342b3 WHIRLPOOL 47aa7faf5d04242288f4e954215fce8b9cfcda36f5e9062561b0edd63f4938f7d35e35e5c60ed74cae60b2515726cfaa623e9f9c86f71f15735a0eed1cb5454a
DIST gmic_1.5.1.7.tar.gz 2090431 SHA256 13d7030099f5a485a11b178d19a882ee776c40d6029a7351bfc2bdc7dcb9e665 SHA512 2ae3fbefc8fe865f7ece6e93008650bad946019da3fd6cf50ab61d3895dbddc2ff89cdb35d2bf65c76aa5d188341c25a5c34978414a7635291b2a4d5d0a52740 WHIRLPOOL 1d293b334743ba901ff151e0dcb3d631b72c5298e7ef77d402223c003a5972c06f1f2c844e35116815b2a4857046aaf8c91dbee248367ddc6bbfea9e34e11ac7
-EBUILD gmic-1.5.1.4.ebuild 1853 SHA256 dbddc3123457343624636e04d2bcd80637b0f80555d26f17b5eb3652adaad7f8 SHA512 efe0d9923cee5f919c2ea7c188367c39d5582e2f5c2e716921cf66678077683c59360d261cd64ca33ff96c2057a9091a40bf96707ea074dac5d1367c50f966d7 WHIRLPOOL cb338735163b00130bf5b5ce62c28e0da445c2d79a0e9a3535fa30672985fdb1cd6cfbefd1906aae8a909acd9406674f7fcad95e3f90c28e62b7b0cdfbbbb97e
EBUILD gmic-1.5.1.6.ebuild 1853 SHA256 22330a10ecd68a93abc8754ad1606229879b1b87e51f69028a443909d79ff5e7 SHA512 b19b255065cc5e7aedd56726ba2c0a7f3e81c15784735d8ee0f2732c774b73b1e8f1e1166e436f7fd69975720ce6816db40aa3c2d55149b3c4fb9202735bce23 WHIRLPOOL 62b27ba962032519fb1fa516b2b47153285bb19a8c91cac529722e0d183992bfd0301c746708cd842ca5c2870bcd5ad70937b98355ba9294400386c0a6700944
EBUILD gmic-1.5.1.7.ebuild 1838 SHA256 38de549cab03e77ca53b8353843b1029222947516085ac9416b7e1fae2c5e390 SHA512 7b77c7d918bfa2caf98550a60c0547c4b4e4e1a9296ee607c394b81335ec388c996c4817881e3c4dc7914a5230bf9237fd1125b63ada1f4dc65f1d0c604ac4db WHIRLPOOL 942ce4a78b4ff76d9f644a0cb29a2a300e987232d162163686c735f9f3768afa7adc4bcc6ced8d41e1eca5f27d5dd3231f5b344e5c158d75cccee8c8a23be8dd
-MISC ChangeLog 2733 SHA256 156fe28f8c8b3bd5030f3ae48fa6827dedf7779e8365bc9424d1a1571f73fc1c SHA512 433cc0ca1f534e21f1459779f5ddd57d91af95793701db65684a2b8d560c31957b9da35e63f3090518555f7fd6fd69ca2e8e1d1ddd8617ebbddc709226217482 WHIRLPOOL fb4cc013654f0fe098ec6aa4155a53ecfa11a5ad57076300e4e2814ff6e8e8918cbe03e4481c654bf942b1eb2ce71b4330134797dd66db8e9a8ca64d88be5d5b
+MISC ChangeLog 2857 SHA256 770954c3c44fe2bed5e54854c60e6dde00cae46b85147bf5674b019ed3e8a7c2 SHA512 bb37efc28dff8c8ae542d02406eeccdbdfc8bcdada0c97f0d4385addf8aaa69c6c71a1300c2d716662ece593056beda2d8b6bbda2b327bdbc8decf2669b90927 WHIRLPOOL 50396ab39ca6414014c899121a7f2b7c6bd8af96f09c20a8acfcf47cb015c6bb36510126405ea8becb7503060ebbd011681a59518b74b94c1d31a8fdbba8b8cd
MISC metadata.xml 473 SHA256 def06af4d0283b01f9313231ff05df286129ff57afbcac23fcc7c45d8f735a6c SHA512 4bd720129471c24a6b71e32f11054d96bd2eefb3316489806a06b8deed45e5544fe1c74a73c129ec90fe30c8a4c0646c50e6690717046ad93255771627588f32 WHIRLPOOL 9a356f4c399b7a6fdf217b2dbeaeb4fd40dffc080b86c0ad913690c0b0007aaad52ea79d3b7b5b21591432c99a1e59ed02ead94e2578f1915afe2ee0c9f7d090
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBCAAGBQJQEKeGAAoJEEqz6FtPBkyjVSgIAIjwDvvc2h2VzSUochY35WVt
-kj/O8wfsGp/c02v7dkJLhWpRxvlN5U3Vu1/D5rR7v2l9QgRN44L1ASMJ3akCT2PF
-QmSgGbMPdiA4plAL9lS2Bt1K3wfPbC3S6gZW4MJpgGiGEWK7+NfbXs+h4MGBVdg+
-KXzXOEJqLhKVxr5/9Qmhi9uKFteHHT6AkaaksCLinFmZFGnNbQOqwB46qMg808XB
-urX5i9qNEe2wT6dKh8gLnZQX0oJgDFWoq7O3Hg8u4pEUOHeGrnkgfkpHki8Yz8R7
-KJV7nJEGg6r0czak/pntIARyLoL+7E/b0/t9qZUFNZRituoml9py78Y9KqKA8y0=
-=3SzN
+iQEcBAEBCAAGBQJQEKmHAAoJEEqz6FtPBkyjKuUH/jbpEWOdf/OR0qGOs748bozX
+69MSHosH9t7RgwiKw3VdD+qnnT99Ec0XTrwt/QxCRlCQZvnmLYf4+JUbdtyS6yM/
+5v2BQ3EHAbkK3zY9voeTSZzAOJhbZz3zrxWeqkuK6sU4FAjDBKFAhrkwsDNU1J6r
+/vsuJ95u+QSZSLcYBpor8vOyTPOkgTYH2i0KvxUfJWS9JEx5dVtL4AxPmv9Qx2sL
+nK98k6i+kAerskAbQEDyvccdPClGgztMZ36509dYylWEmKXPdzJrDo5VV28AEdb8
+zz/+nhCn+sRzAeWltbpF8Bkmi3NzHSpCPUjfneaoIAQ9n7tQhu/chnSamrYhE7E=
+=vZwh
-----END PGP SIGNATURE-----
diff --git a/media-gfx/gmic/files/gmic-1.5.1.4-makefile.patch b/media-gfx/gmic/files/gmic-1.5.1.4-makefile.patch
deleted file mode 100644
index fdb966da99df..000000000000
--- a/media-gfx/gmic/files/gmic-1.5.1.4-makefile.patch
+++ /dev/null
@@ -1,108 +0,0 @@
---- gmic-1.5.1.4/src/Makefile
-+++ gmic-1.5.1.4/src/Makefile
-@@ -89,7 +89,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
-@@ -97,15 +97,7 @@
- MANDATORY_CFLAGS+=$(IS_BETA_CFLAGS)
-
- # Flags to enable debugging.
--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
-+DEBUG_CFLAGS = -Dcimg_use_vt100 -Dcimg_verbosity=3
-
- # Flags to enable image display, using X11
- # (keep /usr/ dirname here since X11 is located in /usr/ on Mac too).
-@@ -165,12 +157,7 @@
- # This requires the presence of the OpenCV include and library files.
- # (package 'libcv3-2-dev' on Debian).
- OPENCV_CFLAGS = -Dcimg_use_opencv -I$(USR)/include -I$(USR)/include/opencv
--ifeq ($(OS),Darwin)
- OPENCV_LDFLAGS = `pkg-config opencv --libs` # 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.
- # This requires the presence of the GraphicsMagick++ include and library files.
-@@ -215,11 +202,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) \
-@@ -245,7 +232,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
-@@ -291,10 +278,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)
-@@ -311,10 +298,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
-@@ -344,7 +331,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)
-@@ -369,7 +355,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.1.4.ebuild b/media-gfx/gmic/gmic-1.5.1.4.ebuild
deleted file mode 100644
index 821642d23400..000000000000
--- a/media-gfx/gmic/gmic-1.5.1.4.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/gmic/gmic-1.5.1.4.ebuild,v 1.1 2012/05/30 05:58:17 radhermit Exp $
-
-EAPI="4"
-
-inherit eutils toolchain-funcs bash-completion-r1 flag-o-matic
-
-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}"/${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 ; }
-
- if ! use X ; then
- sed -i -r -e "s/^((X11|XSHM)_(C|LD)FLAGS =).*/\1/" Makefile || die
-
- # Disable display capabilities when X support is disabled
- append-cppflags -Dcimg_display=0
- fi
-}
-
-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 ../README
-
- newbashcomp gmic_bashcompletion.sh ${PN}
-}