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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-libs/telepathy-qt/Attic/telepathy-qt-0.8.0.ebuild,v 1.1 2012/01/24 17:40:51 johu Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-libs/telepathy-qt/Attic/telepathy-qt-0.8.0.ebuild,v 1.2 2012/01/25 08:49:10 johu Exp $
4 4
5EAPI=4 5EAPI=4
6 6
7PYTHON_DEPEND="2:2.5" 7PYTHON_DEPEND="2:2.5"
8MY_PN=${PN}4 8MY_PN=${PN}4
13SRC_URI="http://telepathy.freedesktop.org/releases/${MY_PN}/${MY_PN}-${PV}.tar.gz" 13SRC_URI="http://telepathy.freedesktop.org/releases/${MY_PN}/${MY_PN}-${PV}.tar.gz"
14 14
15LICENSE="LGPL-2.1" 15LICENSE="LGPL-2.1"
16SLOT="0" 16SLOT="0"
17KEYWORDS="~amd64 ~x86" 17KEYWORDS="~amd64 ~x86"
18IUSE="debug farsight glib" 18IUSE="debug farsight glib test"
19 19
20RDEPEND=" 20RDEPEND="
21 dev-python/dbus-python 21 dev-python/dbus-python
22 >=x11-libs/qt-core-4.6.0:4[glib?] 22 x11-libs/qt-core:4[glib?]
23 >=x11-libs/qt-dbus-4.6.0:4 23 x11-libs/qt-dbus:4
24 farsight? ( 24 farsight? (
25 dev-libs/dbus-glib 25 dev-libs/dbus-glib
26 dev-libs/libxml2 26 dev-libs/libxml2
27 media-libs/gstreamer 27 media-libs/gstreamer
28 >=net-libs/telepathy-glib-0.15.1 28 >=net-libs/telepathy-glib-0.15.1
32 !net-libs/telepathy-qt4 32 !net-libs/telepathy-qt4
33" 33"
34DEPEND="${RDEPEND} 34DEPEND="${RDEPEND}
35 dev-libs/libxslt 35 dev-libs/libxslt
36 dev-util/pkgconfig 36 dev-util/pkgconfig
37 test? ( x11-libs/qt-test:4 )
37" 38"
38 39
39PATCHES=( "${FILESDIR}/${P}-automagicness.patch" ) 40PATCHES=( "${FILESDIR}/${P}-automagicness.patch" )
40 41
41DOCS=( AUTHORS ChangeLog HACKING NEWS README ) 42DOCS=( AUTHORS ChangeLog HACKING NEWS README )
49 50
50src_prepare() { 51src_prepare() {
51 base_src_prepare 52 base_src_prepare
52 53
53 sed -i -e '/^add_subdirectory(examples)$/d' CMakeLists.txt || die 54 sed -i -e '/^add_subdirectory(examples)$/d' CMakeLists.txt || die
55
56 if ! use test ; then
57 sed -i -e '/^add_subdirectory(tests)$/d' CMakeLists.txt || die
58 fi
54} 59}
55 60
56src_configure() { 61src_configure() {
57 local mycmakeargs=( 62 local mycmakeargs=(
58 $(cmake-utils_use_enable debug DEBUG_OUTPUT) 63 $(cmake-utils_use_enable debug DEBUG_OUTPUT)

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20