/[gentoo-x86]/net-libs/telepathy-qt/telepathy-qt-0.8.0.ebuild
Gentoo

Contents of /net-libs/telepathy-qt/telepathy-qt-0.8.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sun Jun 24 15:15:08 2012 UTC (2 years, 2 months ago) by ago
Branch: MAIN
Changes since 1.4: +2 -2 lines
Stable for amd64, wrt bug #421121

(Portage version: 2.1.10.65/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/telepathy-qt/telepathy-qt-0.8.0.ebuild,v 1.4 2012/06/24 14:11:16 pesa Exp $
4
5 EAPI=4
6
7 PYTHON_DEPEND="2:2.5"
8 MY_PN=${PN}4
9 inherit python base cmake-utils
10
11 DESCRIPTION="Qt4 bindings for the Telepathy D-Bus protocol"
12 HOMEPAGE="http://telepathy.freedesktop.org/"
13 SRC_URI="http://telepathy.freedesktop.org/releases/${MY_PN}/${MY_PN}-${PV}.tar.gz"
14
15 LICENSE="LGPL-2.1"
16 SLOT="0"
17 KEYWORDS="amd64 ~x86"
18 IUSE="debug farsight glib test"
19
20 RESTRICT="test" #423089
21
22 RDEPEND="
23 dev-python/dbus-python
24 x11-libs/qt-core:4[glib?]
25 x11-libs/qt-dbus:4
26 farsight? (
27 dev-libs/dbus-glib
28 dev-libs/libxml2
29 media-libs/gstreamer
30 >=net-libs/telepathy-glib-0.15.1
31 net-libs/telepathy-farsight
32 )
33 glib? ( dev-libs/glib:2 )
34 !net-libs/telepathy-qt4
35 "
36 DEPEND="${RDEPEND}
37 dev-libs/libxslt
38 virtual/pkgconfig
39 test? ( x11-libs/qt-test:4 )
40 "
41
42 PATCHES=( "${FILESDIR}/${P}-automagicness.patch" )
43
44 DOCS=( AUTHORS ChangeLog HACKING NEWS README )
45
46 S=${WORKDIR}/${MY_PN}-${PV}
47
48 pkg_setup() {
49 python_set_active_version 2
50 python_pkg_setup
51 }
52
53 src_prepare() {
54 base_src_prepare
55
56 sed -i -e '/^add_subdirectory(examples)$/d' CMakeLists.txt || die
57
58 if ! use test ; then
59 sed -i -e '/^add_subdirectory(tests)$/d' CMakeLists.txt || die
60 fi
61 }
62
63 src_configure() {
64 local mycmakeargs=(
65 $(cmake-utils_use_enable debug DEBUG_OUTPUT)
66 $(cmake-utils_use_with glib)
67 $(cmake-utils_use_with farsight)
68 )
69 cmake-utils_src_configure
70 }

  ViewVC Help
Powered by ViewVC 1.1.20