qtdbus-4.8.6-r1.ebuild 906 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Copyright 1999-2015 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit qt4-build-multilib
  5. DESCRIPTION="The DBus module for the Qt toolkit"
  6. if [[ ${QT4_BUILD_TYPE} == live ]]; then
  7. KEYWORDS="alpha arm hppa ia64 ppc ppc64 sparc"
  8. else
  9. KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd"
  10. fi
  11. IUSE=""
  12. DEPEND="
  13. ~dev-qt/qtcore-${PV}[aqua=,debug=,${MULTILIB_USEDEP}]
  14. sys-apps/dbus[${MULTILIB_USEDEP}]
  15. "
  16. RDEPEND="${DEPEND}"
  17. PATCHES=(
  18. "${FILESDIR}/${PN}-4.7-qdbusintegrator-no-const.patch"
  19. "${FILESDIR}/${PN}-4.8.4-qdbusconnection-silence-warning.patch"
  20. )
  21. QT4_TARGET_DIRECTORIES="
  22. src/dbus
  23. tools/qdbus/qdbus
  24. tools/qdbus/qdbusxml2cpp
  25. tools/qdbus/qdbuscpp2xml"
  26. QCONFIG_ADD="dbus dbus-linked"
  27. QCONFIG_DEFINE="QT_DBUS"
  28. multilib_src_configure() {
  29. local myconf=(
  30. -dbus-linked
  31. )
  32. qt4_multilib_src_configure
  33. }