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 C0DB9139694 for ; Sat, 22 Jul 2017 10:00:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DD291E0C5A; Sat, 22 Jul 2017 10:00:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AB32FE0C5A for ; Sat, 22 Jul 2017 10:00:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 56D9B3418AB for ; Sat, 22 Jul 2017 10:00:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D0B3374B9 for ; Sat, 22 Jul 2017 10:00:39 +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: <1500716728.6142df268914e66e34dc32139ec904d129a19a2d.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.4.ebuild X-VCS-Directories: dev-ml/camlimages/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 6142df268914e66e34dc32139ec904d129a19a2d X-VCS-Branch: master Date: Sat, 22 Jul 2017 10:00:39 +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: 049ba24a-a4eb-4eb6-a0c1-e2bd31d20884 X-Archives-Hash: 88db0c05292b0586a2e1ef7bfa02eac2 commit: 6142df268914e66e34dc32139ec904d129a19a2d Author: Alexis Ballier gentoo org> AuthorDate: Sat Jul 22 09:45:28 2017 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Sat Jul 22 09:45:28 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6142df26 dev-ml/camlimages: bump to 4.2.4 Package-Manager: Portage-2.3.6, Repoman-2.3.3 dev-ml/camlimages/Manifest | 1 + dev-ml/camlimages/camlimages-4.2.4.ebuild | 59 +++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/dev-ml/camlimages/Manifest b/dev-ml/camlimages/Manifest index b7ef55f5227..323571685ce 100644 --- a/dev-ml/camlimages/Manifest +++ b/dev-ml/camlimages/Manifest @@ -1,2 +1,3 @@ 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 +DIST camlimages-4.2.4.tar.bz2 789623 SHA256 382101ea258c6e78f81878e47d0d6f9702e22ebf8c7613e78ad46be230b00553 SHA512 0c321c933d61df84456c56b0082dea80fbcb37e30dc616f84a7d12c5bfd36c157a2a9d31dc92da20b6bbfd0a87db8f4b14537ab56b1c5863b24c7cbb59f3e0e7 WHIRLPOOL 1165a5d1fadbdfc94b67e94040081f279f233cf8aed12220b3c30a13e6ba3a02795752e008aaba1a846d27245fb97ef692992a5e20bb5b54df931a94ed32856a diff --git a/dev-ml/camlimages/camlimages-4.2.4.ebuild b/dev-ml/camlimages/camlimages-4.2.4.ebuild new file mode 100644 index 00000000000..9be34cb0db7 --- /dev/null +++ b/dev-ml/camlimages/camlimages-4.2.4.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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="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} + 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 +} + +src_install() { + findlib_src_preinst + omake --force-dotomake DESTDIR="${D}" install || die + dodoc README.md +}