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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Tue Sep 6 12:42:17 2011 UTC (2 years, 10 months ago) by scarabeus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Bump pyside to latest release. Punt older that i didn't manage to make behave.

(Portage version: 2.2.0_alpha53/cvs/Linux x86_64)

1 # Copyright 1999-2011 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.4.2.ebuild,v 1.6 2011/04/07 18:15:51 ayoy Exp $
4
5 EAPI="2"
6
7 PYTHON_DEPEND="2:2.5"
8
9 inherit cmake-utils python
10
11 MY_P="${PN}-qt4.7+${PV}"
12
13 DESCRIPTION="Python bindings for the Qt framework"
14 HOMEPAGE="http://www.pyside.org/"
15 SRC_URI="http://www.pyside.org/files/${MY_P}.tar.bz2"
16 RESTRICT="test"
17
18 LICENSE="LGPL-2.1"
19 SLOT="0"
20 KEYWORDS="~amd64 ~x86"
21 IUSE="debug kde"
22
23 QT_PV="4.6.0"
24
25 DEPEND=">=dev-python/shiboken-${PV}
26 >=x11-libs/qt-core-${QT_PV}
27 >=x11-libs/qt-assistant-${QT_PV}
28 >=x11-libs/qt-gui-${QT_PV}
29 >=x11-libs/qt-multimedia-${QT_PV}
30 >=x11-libs/qt-opengl-${QT_PV}
31 kde? ( media-libs/phonon )
32 !kde? ( || ( >=x11-libs/qt-phonon-${QT_PV}
33 media-libs/phonon ) )
34 >=x11-libs/qt-script-${QT_PV}
35 >=x11-libs/qt-sql-${QT_PV}
36 >=x11-libs/qt-svg-${QT_PV}
37 >=x11-libs/qt-webkit-${QT_PV}
38 >=x11-libs/qt-xmlpatterns-${QT_PV}"
39 RDEPEND="${DEPEND}"
40
41 S="${WORKDIR}/${MY_P}"
42
43 pkg_setup() {
44 python_set_active_version 2
45 }
46
47 src_prepare() {
48 epatch "${FILESDIR}/${PN}-find-kde-phonon.patch"
49 epatch "${FILESDIR}/${PN}-cmake-namespace.patch"
50 }
51
52 src_install() {
53 cmake-utils_src_install
54 dodoc ChangeLog || die "dodoc failed"
55 }

  ViewVC Help
Powered by ViewVC 1.1.20