| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt-dbus/qt-dbus-4.8.2.ebuild,v 1.10 2012/10/14 17:04:23 armin76 Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
|
| 7 |
inherit qt4-build
|
| 8 |
|
| 9 |
DESCRIPTION="The DBus module for the Qt toolkit"
|
| 10 |
SLOT="4"
|
| 11 |
if [[ ${QT4_BUILD_TYPE} == live ]]; then
|
| 12 |
KEYWORDS=""
|
| 13 |
else
|
| 14 |
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
| 15 |
fi
|
| 16 |
IUSE=""
|
| 17 |
|
| 18 |
DEPEND="
|
| 19 |
>=sys-apps/dbus-1.2
|
| 20 |
~x11-libs/qt-core-${PV}[aqua=,c++0x=,debug=,qpa=]
|
| 21 |
"
|
| 22 |
RDEPEND="${DEPEND}"
|
| 23 |
|
| 24 |
PATCHES=(
|
| 25 |
"${FILESDIR}/${PN}-4.7-qdbusintegrator-no-const.patch"
|
| 26 |
"${FILESDIR}/${PV}-qatomic-x32.patch"
|
| 27 |
)
|
| 28 |
|
| 29 |
pkg_setup() {
|
| 30 |
QT4_TARGET_DIRECTORIES="
|
| 31 |
src/dbus
|
| 32 |
tools/qdbus/qdbus
|
| 33 |
tools/qdbus/qdbusxml2cpp
|
| 34 |
tools/qdbus/qdbuscpp2xml"
|
| 35 |
|
| 36 |
QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
|
| 37 |
include/QtCore
|
| 38 |
include/QtDBus
|
| 39 |
include/QtXml
|
| 40 |
src/corelib
|
| 41 |
src/xml"
|
| 42 |
|
| 43 |
QCONFIG_ADD="dbus dbus-linked"
|
| 44 |
QCONFIG_DEFINE="QT_DBUS"
|
| 45 |
|
| 46 |
qt4-build_pkg_setup
|
| 47 |
}
|
| 48 |
|
| 49 |
src_configure() {
|
| 50 |
myconf+=" -dbus-linked"
|
| 51 |
|
| 52 |
qt4-build_src_configure
|
| 53 |
}
|