From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3E60E139085 for ; Sun, 5 Feb 2017 18:29:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BAD87E0E34; Sun, 5 Feb 2017 18:29:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 84DD0E0E34 for ; Sun, 5 Feb 2017 18:29:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DADE2341677 for ; Sun, 5 Feb 2017 18:28:51 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1F64A3DDA for ; Sun, 5 Feb 2017 18:28:47 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1486319201.8bf1f69d1aec15bb2732cd937e2d5b66a24d6a14.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/camlimages/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/camlimages/Manifest dev-ml/camlimages/camlimages-4.2.3.ebuild X-VCS-Directories: dev-ml/camlimages/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 8bf1f69d1aec15bb2732cd937e2d5b66a24d6a14 X-VCS-Branch: master Date: Sun, 5 Feb 2017 18:28:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2ff1ed89-5497-41f5-80d2-9ede571c166e X-Archives-Hash: 963c87a578f7552da96e3796cf8f25fd commit: 8bf1f69d1aec15bb2732cd937e2d5b66a24d6a14 Author: Alexis Ballier gentoo org> AuthorDate: Sun Feb 5 18:02:31 2017 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Sun Feb 5 18:26:41 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bf1f69d dev-ml/camlimages: Bump to 4.2.3 Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-ml/camlimages/Manifest | 1 + dev-ml/camlimages/camlimages-4.2.3.ebuild | 66 +++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/dev-ml/camlimages/Manifest b/dev-ml/camlimages/Manifest index 4bb36cc..b7ef55f 100644 --- a/dev-ml/camlimages/Manifest +++ b/dev-ml/camlimages/Manifest @@ -1 +1,2 @@ DIST camlimages-4.2.2.tar.bz2 789441 SHA256 eb96aa60afb139797836c2569ba1d4e3f2d0e4dbb025c117d7325468ce6c9633 SHA512 672e192255a9335c45d208b7589a344f712baa798dfc7bc7ccee7d3bda71e603bc06c7b012761f9c6372c683560c67ffa9d2af2742552884211ad4ffb541e3dd WHIRLPOOL dfe61d34da78b1d70feba1c2cf2717430ae4c99386d39fde3cfe14163665bd35a02947fcbc05f67c03de56b2fba1a13cd60a40031e1adbf6320ac239c1485c15 +DIST camlimages-4.2.3.tar.bz2 789523 SHA256 eb1fcbbe3eaebf74f5ecacc68dc428e584f297f023267b305f5cb5e0fc389d8e SHA512 c67775394ab97d0c0111d3e4e49ceb8213a405d48e133c321db920e291dc2ad79e1e7876a0bdff8fe1ad3b3f27ea0effe79bd26d29f92d5bb1ebd74f03d13bd5 WHIRLPOOL 1596a84baf80883ed543ce0c3bc0b734cec1ad46a445bef2a69fcbe99db4f6fe1b2b258ccd03f780d59fe96d6b92b44629c1fe00ce2d7fa06a618fac9c1d021f diff --git a/dev-ml/camlimages/camlimages-4.2.3.ebuild b/dev-ml/camlimages/camlimages-4.2.3.ebuild new file mode 100644 index 00000000..35ea52c --- /dev/null +++ b/dev-ml/camlimages/camlimages-4.2.3.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils vcs-snapshot findlib multilib + +DESCRIPTION="An image manipulation library for ocaml" +HOMEPAGE="http://gallium.inria.fr/camlimages/" +SRC_URI="https://bitbucket.org/camlspotter/camlimages/get/${PV}.tar.bz2 -> ${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc exif gif gtk jpeg png postscript tiff truetype X xpm" + +RDEPEND=">=dev-lang/ocaml-3.10.2:=[X?,ocamlopt] + exif? ( media-libs/libexif ) + gif? ( media-libs/giflib ) + gtk? ( dev-ml/lablgtk ) + jpeg? ( virtual/jpeg ) + tiff? ( media-libs/tiff ) + png? ( >=media-libs/libpng-1.4:0 ) + postscript? ( app-text/ghostscript-gpl ) + truetype? ( >=media-libs/freetype-2 ) + xpm? ( x11-libs/libXpm ) + X? ( x11-apps/rgb ) + sys-libs/zlib + " +DEPEND="${DEPEND} + doc? ( dev-python/sphinx[latex] ) + dev-util/omake + virtual/pkgconfig + dev-ml/findlib" + +camlimages_arg_want() { + echo "ARG_WANT_${2}=$(usex $1 1 0)" +} + +src_compile() { + omake \ + $(camlimages_arg_want exif EXIF ) \ + $(camlimages_arg_want gif GIF ) \ + $(camlimages_arg_want png PNG ) \ + $(camlimages_arg_want jpeg JPEG ) \ + $(camlimages_arg_want tiff TIFF ) \ + $(camlimages_arg_want xpm XPM ) \ + $(camlimages_arg_want postscript GS ) \ + $(camlimages_arg_want gtk LABLGTK2) \ + $(camlimages_arg_want X GRAPHICS) \ + $(camlimages_arg_want truetype FREETYPE) \ + PATH_GS=/bin/true \ + --force-dotomake || die + + if use doc ; then + sphinx-build doc/sphinx sphinxdoc || die + fi +} + +src_install() { + findlib_src_preinst + omake --force-dotomake DESTDIR="${D}" install || die + dodoc README.md + use doc && dohtml -r sphinxdoc/* +}