/[gentoo-x86]/dev-games/gigi/gigi-0.8_pre20130312.ebuild
Gentoo

Contents of /dev-games/gigi/gigi-0.8_pre20130312.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Sun Nov 10 14:14:48 2013 UTC (13 months, 2 weeks ago) by tomka
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
remove gigi library

1 tomka 1.1 # Copyright 1999-2013 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 tomka 1.2 # $Header: /var/cvsroot/gentoo-x86/dev-games/gigi/gigi-0.8_pre20130312.ebuild,v 1.1 2013/03/12 16:59:11 tomka Exp $
4 tomka 1.1
5     EAPI=4
6    
7     PYTHON_DEPEND="2"
8    
9     inherit cmake-utils eutils python
10    
11     DESCRIPTION="An OpenGL interface library"
12     HOMEPAGE="http://gigi.sourceforge.net"
13     SRC_URI="http://dev.gentoo.org/~tomka/files/${PF}.tar.bz2"
14    
15     LICENSE="LGPL-2.1"
16     SLOT="0"
17     KEYWORDS="~amd64"
18     IUSE="devil doc eve ogre ois sdl static-libs threads"
19     RESTRICT="test" # fails for unknown reasons
20    
21     RDEPEND="
22     >=dev-libs/boost-1.47
23     media-libs/freetype:2
24     sys-devel/libtool
25     sys-libs/zlib
26     x11-libs/libX11
27     virtual/opengl
28     devil? ( >=media-libs/devil-1.6.1 )
29     !devil? (
30     media-libs/libpng:0
31     media-libs/tiff:0
32     virtual/jpeg
33     )
34     ogre? (
35     >=dev-games/ogre-1.7.4[ois?]
36     ois? ( dev-games/ois )
37     )
38     sdl? ( media-libs/libsdl )"
39     DEPEND="${RDEPEND}
40     virtual/pkgconfig
41     doc? ( app-doc/doxygen )"
42     REQUIRED_USE="ois? ( ogre )"
43    
44     CMAKE_USE_DIR="${S}"
45    
46     # For segfaults during compile see https://qa.mandriva.com/show_bug.cgi?id=62558"
47    
48     src_prepare() {
49     epatch "${FILESDIR}"/${PN}-0.8_pre20120910-docdir.patch
50    
51     # use systems ltdl
52     rm -r "${CMAKE_USE_DIR}"/libltdl || die
53     epatch "${FILESDIR}"/${PN}-0.8_pre20120910-libtool.patch
54    
55     # fix devil (apply after libtool.patch)
56     epatch "${FILESDIR}"/${PN}-0.8_pre20120910-devil.patch
57    
58     python_convert_shebangs 2 GG/gen_signals.py
59     }
60    
61     src_configure() {
62     # USE_DEVIL broken
63     # BUILD_TUTORIALS incomplete
64     local mycmakeargs=(
65     -DDOCDIR=/usr/share/doc/${PF}/html
66     -DRELEASE_COMPILE_FLAGS=""
67     $(cmake-utils_use_use devil DEVIL)
68     $(cmake-utils_use_build eve EXPERIMENTAL_EVE_SUPPORT)
69     $(cmake-utils_use_build ogre OGRE_DRIVER)
70     $(cmake-utils_use_build ois OGRE_OIS_PLUGIN)
71     $(cmake-utils_use_build sdl SDL_DRIVER)
72     $(cmake-utils_use_build doc DOCUMENTATION)
73     $(cmake-utils_use_build static-libs STATIC)
74     $(cmake-utils_use_build threads MULTI_THREADED)
75     )
76    
77     cmake-utils_src_configure
78     }

  ViewVC Help
Powered by ViewVC 1.1.20