| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
|
| 7 |
inherit qt4-build
|
| 8 |
|
| 9 |
DESCRIPTION="The Qt3 support 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 ~x86-macos ~x64-solaris ~x86-solaris"
|
| 15 |
fi
|
| 16 |
IUSE="+accessibility"
|
| 17 |
|
| 18 |
DEPEND="
|
| 19 |
~x11-libs/qt-core-${PV}[aqua=,debug=,qt3support]
|
| 20 |
~x11-libs/qt-gui-${PV}[accessibility=,aqua=,debug=,qt3support]
|
| 21 |
~x11-libs/qt-sql-${PV}[aqua=,debug=,qt3support]
|
| 22 |
"
|
| 23 |
RDEPEND="${DEPEND}"
|
| 24 |
|
| 25 |
pkg_setup() {
|
| 26 |
QT4_TARGET_DIRECTORIES="
|
| 27 |
src/qt3support
|
| 28 |
src/tools/uic3
|
| 29 |
tools/designer/src/plugins/widgets
|
| 30 |
tools/porting"
|
| 31 |
|
| 32 |
QT4_EXTRACT_DIRECTORIES="
|
| 33 |
src
|
| 34 |
include
|
| 35 |
tools"
|
| 36 |
|
| 37 |
qt4-build_pkg_setup
|
| 38 |
}
|
| 39 |
|
| 40 |
src_configure() {
|
| 41 |
myconf+="
|
| 42 |
-qt3support
|
| 43 |
$(qt_use accessibility)"
|
| 44 |
|
| 45 |
qt4-build_src_configure
|
| 46 |
}
|