/[gentoo-x86]/dev-qt/qtbearer/qtbearer-4.8.6-r1.ebuild
Gentoo

Contents of /dev-qt/qtbearer/qtbearer-4.8.6-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sat Nov 15 02:35:38 2014 UTC (5 years, 4 months ago) by pesa
Branch: MAIN
Version bump (bug 510042). Add multilib support (bug 498010).

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xDADED6B2671CB57D!)

1 pesa 1.1 # Copyright 1999-2014 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: $
4    
5     EAPI=5
6    
7     inherit qt4-build-multilib
8    
9     DESCRIPTION="The network bearer plugins for the Qt toolkit"
10    
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"
15     fi
16    
17     IUSE="connman networkmanager"
18    
19     DEPEND="
20     ~dev-qt/qtcore-${PV}[aqua=,debug=,${MULTILIB_USEDEP}]
21     connman? ( ~dev-qt/qtdbus-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] )
22     networkmanager? ( ~dev-qt/qtdbus-${PV}[aqua=,debug=,${MULTILIB_USEDEP}] )
23     "
24     RDEPEND="${DEPEND}
25     connman? ( net-misc/connman )
26     networkmanager? ( net-misc/networkmanager )
27     "
28    
29     pkg_setup() {
30     QT4_TARGET_DIRECTORIES="
31     src/plugins/bearer/generic
32     $(use connman && echo src/plugins/bearer/connman)
33     $(use networkmanager && echo src/plugins/bearer/networkmanager)"
34     }
35    
36     multilib_src_configure() {
37     local myconf=(
38     $(use connman || use networkmanager || echo -no-dbus)
39     -no-accessibility -no-xmlpatterns -no-multimedia -no-audio-backend -no-phonon
40     -no-phonon-backend -no-svg -no-webkit -no-script -no-scripttools -no-declarative
41     -system-zlib -no-gif -no-libtiff -no-libpng -no-libmng -no-libjpeg
42     -no-cups -no-gtkstyle -no-nas-sound -no-opengl
43     -no-sm -no-xshape -no-xvideo -no-xsync -no-xinerama -no-xcursor -no-xfixes
44     -no-xrandr -no-xrender -no-mitshm -no-fontconfig -no-freetype -no-xinput -no-xkb
45     )
46     qt4_multilib_src_configure
47     }

  ViewVC Help
Powered by ViewVC 1.1.20