/[gentoo-x86]/dev-python/pyside/pyside-0.2.3.ebuild
Gentoo

Contents of /dev-python/pyside/pyside-0.2.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Feb 1 20:34:42 2010 UTC (4 years, 2 months ago) by ayoy
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Fix cmake module install path (bug #302411)
(Portage version: 2.2_rc61/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/pyside/pyside-0.2.3.ebuild,v 1.2 2010/01/26 20:32:22 ayoy Exp $
4
5 EAPI="2"
6
7 inherit cmake-utils
8
9 MY_P="${PN}-qt4.6+${PV}"
10
11 DESCRIPTION="Python bindings for the Qt framework"
12 HOMEPAGE="http://www.pyside.org/"
13 SRC_URI="http://www.pyside.org/files/${MY_P}.tar.bz2"
14
15 LICENSE="LGPL-2.1"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86"
18 IUSE="debug"
19
20 DEPEND=">=dev-libs/boost-1.41.0[python]
21 ~dev-python/boostpythongenerator-0.3.3
22 >=x11-libs/qt-core-4.5.0
23 >=x11-libs/qt-assistant-4.5.0
24 >=x11-libs/qt-gui-4.5.0
25 >=x11-libs/qt-opengl-4.5.0
26 || ( >=x11-libs/qt-phonon-4.5.0 media-sound/phonon )
27 >=x11-libs/qt-script-4.5.0
28 >=x11-libs/qt-sql-4.5.0
29 >=x11-libs/qt-svg-4.5.0
30 >=x11-libs/qt-webkit-4.5.0
31 >=x11-libs/qt-xmlpatterns-4.5.0"
32 RDEPEND="${DEPEND}"
33
34 S="${WORKDIR}/${MY_P}"
35
36 src_prepare() {
37 epatch "${FILESDIR}/${PN}-qtscripttools.patch"
38 sed -e 's:cmake-${CMAKE_MAJOR_VERSION}\.${CMAKE_MINOR_VERSION}:cmake:' \
39 -i data/CMakeLists.txt || die "sed failed"
40
41 # bug 301747
42 sed -e 's:Boost 1\.38:Boost 1\.41:' \
43 -i CMakeLists.txt || die "sed failed"
44 sed -e 's:${QTVERSION} GREATER 4\.5\.0:EXISTS ${QT_LIBRARY_DIR}/libQtMultimedia.so:' \
45 -i PySide/CMakeLists.txt || die "sed failed"
46 }
47
48 src_install() {
49 cmake-utils_src_install
50 dodoc AUTHORS ChangeLog || die "dodoc failed"
51 }

  ViewVC Help
Powered by ViewVC 1.1.20