Gentoo Archives: gentoo-commits

From: "Alfredo Tupone (tupone)" <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-games/clanlib: ChangeLog clanlib-2.3.4.ebuild
Date: Mon, 06 Feb 2012 13:56:46
Message-Id: 20120206135637.58B632004B@flycatcher.gentoo.org
1 tupone 12/02/06 13:56:37
2
3 Modified: ChangeLog
4 Added: clanlib-2.3.4.ebuild
5 Log:
6 Version bump to 2.4.3 Bug #288218
7
8 (Portage version: 2.1.10.44/cvs/Linux i686)
9
10 Revision Changes Path
11 1.50 dev-games/clanlib/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/clanlib/ChangeLog?rev=1.50&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/clanlib/ChangeLog?rev=1.50&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/clanlib/ChangeLog?r1=1.49&r2=1.50
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-games/clanlib/ChangeLog,v
20 retrieving revision 1.49
21 retrieving revision 1.50
22 diff -u -r1.49 -r1.50
23 --- ChangeLog 15 Sep 2011 02:31:01 -0000 1.49
24 +++ ChangeLog 6 Feb 2012 13:56:37 -0000 1.50
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-games/clanlib
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-games/clanlib/ChangeLog,v 1.49 2011/09/15 02:31:01 ssuominen Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-games/clanlib/ChangeLog,v 1.50 2012/02/06 13:56:37 tupone Exp $
31 +
32 +*clanlib-2.3.4 (06 Feb 2012)
33 +
34 + 06 Feb 2012; Tupone Alfredo <tupone@g.o> +clanlib-2.3.4.ebuild,
35 + +files/clanlib-2.3.4-autotools.patch:
36 + Version bump to 2.4.3 Bug #288218 by proDOOMman
37
38 15 Sep 2011; Samuli Suominen <ssuominen@g.o> clanlib-0.8.1.ebuild,
39 +files/clanlib-0.8.1-libpng15.patch:
40
41
42
43 1.1 dev-games/clanlib/clanlib-2.3.4.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/clanlib/clanlib-2.3.4.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/clanlib/clanlib-2.3.4.ebuild?rev=1.1&content-type=text/plain
47
48 Index: clanlib-2.3.4.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-games/clanlib/clanlib-2.3.4.ebuild,v 1.1 2012/02/06 13:56:37 tupone Exp $
53
54 EAPI=2
55 inherit flag-o-matic eutils autotools-utils
56
57 MY_P=ClanLib-${PV}
58
59 DESCRIPTION="multi-platform game development library"
60 HOMEPAGE="http://www.clanlib.org/"
61 SRC_URI="http://clanlib.org/download/releases-2.0/${MY_P}.tgz"
62
63 LICENSE="ZLIB"
64 SLOT="2.3"
65 KEYWORDS="~amd64 ~x86" #not big endian safe #82779
66 IUSE="doc ipv6 mikmod opengl sound sqlite sse2 static-libs vorbis X"
67
68 RDEPEND="sys-libs/zlib
69 X? (
70 media-libs/libpng
71 virtual/jpeg
72 media-libs/freetype
73 media-libs/fontconfig
74 opengl? ( virtual/opengl )
75 app-arch/bzip2
76 x11-libs/libX11
77 )
78 sqlite? ( dev-db/sqlite )
79 sound? (
80 media-libs/alsa-lib
81 mikmod? ( media-libs/libmikmod )
82 vorbis? (
83 media-libs/libogg
84 media-libs/libvorbis
85 )
86 )"
87 DEPEND="${RDEPEND}
88 dev-util/pkgconfig
89 doc? ( app-doc/doxygen dev-lang/perl )"
90
91 S="${WORKDIR}"/${MY_P}
92
93 PATCHES=( "${FILESDIR}"/${P}-autotools.patch )
94 AUTOTOOLS_AUTORECONF=1
95 AUTOTOOLS_IN_SOURCE_BUILD=1
96 DOCS=(
97 CODING_STYLE
98 CREDITS
99 PATCHES
100 README
101 )
102
103 src_configure() {
104 myeconfargs=(
105 --disable-dependency-tracking
106 $(use_enable doc docs)
107 $(use_enable sse2)
108 $(use_enable opengl clanGL)
109 $(use_enable opengl clanGL1)
110 $(use_enable opengl clanGUI)
111 $(use_enable X clanDisplay)
112 $(use_enable sound clanSound)
113 $(use_enable vorbis clanVorbis)
114 $(use_enable mikmod clanMikMod)
115 $(use_enable sqlite clanSqlite)
116 $(use_enable ipv6 getaddr)
117 )
118 autotools-utils_src_configure
119 }
120
121 src_compile() {
122 autotools-utils_src_compile
123 use doc && autotools-utils_src_compile html
124 }
125
126 # html files are keeped in a directory that is dependent on the SLOT
127 # so to keep eventual bookmarks to the doc from version to version
128 src_install() {
129 autotools-utils_src_install
130 if use doc ; then
131 emake DESTDIR="${D}" install-html || die "emake html-install failed"
132 cp -r Examples Resources "${D}"/usr/share/doc/${PF}/ \
133 || die "Copying failed"
134 fi
135 }