1 |
commit: 6142df268914e66e34dc32139ec904d129a19a2d |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 22 09:45:28 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 22 09:45:28 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6142df26 |
7 |
|
8 |
dev-ml/camlimages: bump to 4.2.4 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
11 |
|
12 |
dev-ml/camlimages/Manifest | 1 + |
13 |
dev-ml/camlimages/camlimages-4.2.4.ebuild | 59 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 60 insertions(+) |
15 |
|
16 |
diff --git a/dev-ml/camlimages/Manifest b/dev-ml/camlimages/Manifest |
17 |
index b7ef55f5227..323571685ce 100644 |
18 |
--- a/dev-ml/camlimages/Manifest |
19 |
+++ b/dev-ml/camlimages/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST camlimages-4.2.2.tar.bz2 789441 SHA256 eb96aa60afb139797836c2569ba1d4e3f2d0e4dbb025c117d7325468ce6c9633 SHA512 672e192255a9335c45d208b7589a344f712baa798dfc7bc7ccee7d3bda71e603bc06c7b012761f9c6372c683560c67ffa9d2af2742552884211ad4ffb541e3dd WHIRLPOOL dfe61d34da78b1d70feba1c2cf2717430ae4c99386d39fde3cfe14163665bd35a02947fcbc05f67c03de56b2fba1a13cd60a40031e1adbf6320ac239c1485c15 |
22 |
DIST camlimages-4.2.3.tar.bz2 789523 SHA256 eb1fcbbe3eaebf74f5ecacc68dc428e584f297f023267b305f5cb5e0fc389d8e SHA512 c67775394ab97d0c0111d3e4e49ceb8213a405d48e133c321db920e291dc2ad79e1e7876a0bdff8fe1ad3b3f27ea0effe79bd26d29f92d5bb1ebd74f03d13bd5 WHIRLPOOL 1596a84baf80883ed543ce0c3bc0b734cec1ad46a445bef2a69fcbe99db4f6fe1b2b258ccd03f780d59fe96d6b92b44629c1fe00ce2d7fa06a618fac9c1d021f |
23 |
+DIST camlimages-4.2.4.tar.bz2 789623 SHA256 382101ea258c6e78f81878e47d0d6f9702e22ebf8c7613e78ad46be230b00553 SHA512 0c321c933d61df84456c56b0082dea80fbcb37e30dc616f84a7d12c5bfd36c157a2a9d31dc92da20b6bbfd0a87db8f4b14537ab56b1c5863b24c7cbb59f3e0e7 WHIRLPOOL 1165a5d1fadbdfc94b67e94040081f279f233cf8aed12220b3c30a13e6ba3a02795752e008aaba1a846d27245fb97ef692992a5e20bb5b54df931a94ed32856a |
24 |
|
25 |
diff --git a/dev-ml/camlimages/camlimages-4.2.4.ebuild b/dev-ml/camlimages/camlimages-4.2.4.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..9be34cb0db7 |
28 |
--- /dev/null |
29 |
+++ b/dev-ml/camlimages/camlimages-4.2.4.ebuild |
30 |
@@ -0,0 +1,59 @@ |
31 |
+# Copyright 1999-2017 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=5 |
35 |
+ |
36 |
+inherit eutils vcs-snapshot findlib multilib |
37 |
+ |
38 |
+DESCRIPTION="An image manipulation library for ocaml" |
39 |
+HOMEPAGE="http://gallium.inria.fr/camlimages/" |
40 |
+SRC_URI="https://bitbucket.org/camlspotter/camlimages/get/${PV}.tar.bz2 -> ${P}.tar.bz2" |
41 |
+ |
42 |
+LICENSE="LGPL-2.1" |
43 |
+SLOT="0/${PV}" |
44 |
+KEYWORDS="~amd64 ~ppc ~x86" |
45 |
+IUSE="exif gif gtk jpeg png postscript tiff truetype X xpm" |
46 |
+ |
47 |
+RDEPEND=">=dev-lang/ocaml-3.10.2:=[X?,ocamlopt] |
48 |
+ exif? ( media-libs/libexif ) |
49 |
+ gif? ( media-libs/giflib ) |
50 |
+ gtk? ( dev-ml/lablgtk ) |
51 |
+ jpeg? ( virtual/jpeg ) |
52 |
+ tiff? ( media-libs/tiff ) |
53 |
+ png? ( >=media-libs/libpng-1.4:0 ) |
54 |
+ postscript? ( app-text/ghostscript-gpl ) |
55 |
+ truetype? ( >=media-libs/freetype-2 ) |
56 |
+ xpm? ( x11-libs/libXpm ) |
57 |
+ X? ( x11-apps/rgb ) |
58 |
+ sys-libs/zlib |
59 |
+ " |
60 |
+DEPEND="${DEPEND} |
61 |
+ dev-util/omake |
62 |
+ virtual/pkgconfig |
63 |
+ dev-ml/findlib" |
64 |
+ |
65 |
+camlimages_arg_want() { |
66 |
+ echo "ARG_WANT_${2}=$(usex $1 1 0)" |
67 |
+} |
68 |
+ |
69 |
+src_compile() { |
70 |
+ omake \ |
71 |
+ $(camlimages_arg_want exif EXIF ) \ |
72 |
+ $(camlimages_arg_want gif GIF ) \ |
73 |
+ $(camlimages_arg_want png PNG ) \ |
74 |
+ $(camlimages_arg_want jpeg JPEG ) \ |
75 |
+ $(camlimages_arg_want tiff TIFF ) \ |
76 |
+ $(camlimages_arg_want xpm XPM ) \ |
77 |
+ $(camlimages_arg_want postscript GS ) \ |
78 |
+ $(camlimages_arg_want gtk LABLGTK2) \ |
79 |
+ $(camlimages_arg_want X GRAPHICS) \ |
80 |
+ $(camlimages_arg_want truetype FREETYPE) \ |
81 |
+ PATH_GS=/bin/true \ |
82 |
+ --force-dotomake || die |
83 |
+} |
84 |
+ |
85 |
+src_install() { |
86 |
+ findlib_src_preinst |
87 |
+ omake --force-dotomake DESTDIR="${D}" install || die |
88 |
+ dodoc README.md |
89 |
+} |