Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ml/ocamlsdl: ChangeLog ocamlsdl-0.9.0.ebuild
Date: Fri, 22 Jun 2012 12:42:40
Message-Id: 20120622124231.0DE002004B@flycatcher.gentoo.org
1 aballier 12/06/22 12:42:31
2
3 Modified: ChangeLog
4 Added: ocamlsdl-0.9.0.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.17 dev-ml/ocamlsdl/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlsdl/ChangeLog?rev=1.17&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlsdl/ChangeLog?rev=1.17&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlsdl/ChangeLog?r1=1.16&r2=1.17
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ml/ocamlsdl/ChangeLog,v
20 retrieving revision 1.16
21 retrieving revision 1.17
22 diff -u -r1.16 -r1.17
23 --- ChangeLog 23 Feb 2012 20:34:12 -0000 1.16
24 +++ ChangeLog 22 Jun 2012 12:42:30 -0000 1.17
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ml/ocamlsdl
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlsdl/ChangeLog,v 1.16 2012/02/23 20:34:12 aballier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlsdl/ChangeLog,v 1.17 2012/06/22 12:42:30 aballier Exp $
30 +
31 +*ocamlsdl-0.9.0 (22 Jun 2012)
32 +
33 + 22 Jun 2012; Alexis Ballier <aballier@g.o> +ocamlsdl-0.9.0.ebuild:
34 + version bump
35
36 23 Feb 2012; Alexis Ballier <aballier@g.o> -ocamlsdl-0.7.1.ebuild,
37 -ocamlsdl-0.7.2.ebuild:
38
39
40
41 1.1 dev-ml/ocamlsdl/ocamlsdl-0.9.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlsdl/ocamlsdl-0.9.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ml/ocamlsdl/ocamlsdl-0.9.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ocamlsdl-0.9.0.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-ml/ocamlsdl/ocamlsdl-0.9.0.ebuild,v 1.1 2012/06/22 12:42:30 aballier Exp $
51
52 inherit findlib
53
54 DESCRIPTION="OCaml SDL Bindings"
55
56 HOMEPAGE="http://ocamlsdl.sourceforge.net"
57 SRC_URI="mirror://sourceforge/ocamlsdl/${P}.tar.gz"
58 LICENSE="LGPL-2"
59
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~x86"
62 IUSE="doc opengl truetype" #noimage nomixer
63
64 DEPEND=">=dev-lang/ocaml-3.04
65 >=media-libs/libsdl-1.2
66 opengl? ( >=dev-ml/lablgl-0.98 )
67 >=media-libs/sdl-mixer-1.2
68 >=media-libs/sdl-image-1.2
69 truetype? ( >=media-libs/sdl-ttf-2.0 )"
70
71 src_compile() {
72 myconf=""
73 if use opengl; then
74 destdir=`ocamlfind printconf destdir`
75 lablgldir=`find ${destdir} -name "lablgl" -or -name "lablGL"`
76 if [ -z "${lablgldir}" ]; then
77 destdir=`ocamlc -where`
78 lablgldir=`find ${destdir} -name "lablgl" -or -name "lablGL"`
79 fi
80
81 if [ ! -z "${lablgldir}" ]; then
82 myconf="--with-lablgldir=${lablgldir}"
83 fi
84 fi
85
86 #use noimage && myconf="${myconf} --without-sdl-image"
87 #use nomixer && myconf="${myconf} --without-sdl-mixer"
88
89 econf $myconf \
90 `use_enable truetype sdl-ttf` \
91 || die
92 emake all || die
93 }
94
95 src_install() {
96 findlib_src_install
97
98 dodoc AUTHORS NEWS README || die
99 doinfo doc/*.info* || die
100
101 if use doc; then
102 dohtml doc/html/* || die
103 fi
104 }