blob: b24d5a9cfb610c052471508113cd6cfc2c6f9f6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit qt4-build-edge
DESCRIPTION="Demonstration module of the Qt toolkit"
SLOT="4"
KEYWORDS=""
IUSE=""
DEPEND="~x11-libs/qt-assistant-${PV}:${SLOT}[stable-branch=]
~x11-libs/qt-core-${PV}:${SLOT}[stable-branch=]
~x11-libs/qt-dbus-${PV}:${SLOT}[stable-branch=]
~x11-libs/qt-gui-${PV}:${SLOT}[stable-branch=]
~x11-libs/qt-multimedia-${PV}:${SLOT}[stable-branch=]
~x11-libs/qt-opengl-${PV}:${SLOT}[stable-branch=]
|| ( ~x11-libs/qt-phonon-${PV}:${SLOT}[stable-branch=] media-libs/phonon )
~x11-libs/qt-script-${PV}:${SLOT}[stable-branch=]
~x11-libs/qt-sql-${PV}:${SLOT}[stable-branch=]
~x11-libs/qt-svg-${PV}:${SLOT}[stable-branch=]
~x11-libs/qt-test-${PV}:${SLOT}[stable-branch=]
~x11-libs/qt-webkit-${PV}:${SLOT}[stable-branch=]
~x11-libs/qt-xmlpatterns-${PV}:${SLOT}[stable-branch=]"
RDEPEND="${DEPEND}"
QT4_TARGET_DIRECTORIES="demos
examples"
QT4_EXTRACT_DIRECTORIES="${QT4_TARGET_DIRECTORIES}
doc/src/images
src/
include/
tools/"
PATCHES=(
"${FILESDIR}/${PN}-4.6-plugandpaint.patch"
)
src_install() {
insinto ${QTDOCDIR}/src
doins -r "${S}"/doc/src/images || die "Installing images failed."
qt4-build-edge_src_install
}
|