| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/kde-base/smokeqt/smokeqt-4.8.4.ebuild,v 1.1 2012/06/21 21:54:31 dilfridge Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
|
| 7 |
DECLARATIVE_REQUIRED="optional"
|
| 8 |
MULTIMEDIA_REQUIRED="optional"
|
| 9 |
QTHELP_REQUIRED="optional"
|
| 10 |
OPENGL_REQUIRED="optional"
|
| 11 |
KDE_REQUIRED="never"
|
| 12 |
|
| 13 |
inherit kde4-base
|
| 14 |
|
| 15 |
DESCRIPTION="Scripting Meta Object Kompiler Engine - Qt bindings"
|
| 16 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
| 17 |
IUSE="debug +phonon qimageblitz qscintilla qwt webkit"
|
| 18 |
|
| 19 |
# Maybe make more of Qt optional?
|
| 20 |
DEPEND="
|
| 21 |
$(add_kdebase_dep smokegen)
|
| 22 |
x11-libs/qt-core:4
|
| 23 |
x11-libs/qt-dbus:4
|
| 24 |
x11-libs/qt-gui:4
|
| 25 |
x11-libs/qt-script:4
|
| 26 |
x11-libs/qt-sql:4
|
| 27 |
x11-libs/qt-svg:4
|
| 28 |
x11-libs/qt-test:4
|
| 29 |
phonon? ( >=media-libs/phonon-4.4.3 )
|
| 30 |
qimageblitz? ( >=media-libs/qimageblitz-0.0.4 )
|
| 31 |
qscintilla? ( x11-libs/qscintilla )
|
| 32 |
qwt? ( x11-libs/qwt:5 )
|
| 33 |
webkit? ( x11-libs/qt-webkit:4 )
|
| 34 |
"
|
| 35 |
RDEPEND="${DEPEND}"
|
| 36 |
|
| 37 |
# Split in 4.7
|
| 38 |
add_blocker smoke
|
| 39 |
|
| 40 |
src_configure() {
|
| 41 |
mycmakeargs=(
|
| 42 |
-DDISABLE_Qt3Support=ON
|
| 43 |
-DWITH_QT3_SUPPORT=OFF
|
| 44 |
$(cmake-utils_use_disable declarative QtDeclarative)
|
| 45 |
$(cmake-utils_use_disable multimedia QtMultimedia)
|
| 46 |
$(cmake-utils_use_disable opengl QtOpenGL)
|
| 47 |
$(cmake-utils_use_with phonon)
|
| 48 |
$(cmake-utils_use_with qimageblitz QImageBlitz)
|
| 49 |
$(cmake-utils_use_with qscintilla QScintilla)
|
| 50 |
$(cmake-utils_use_disable qthelp QtHelp)
|
| 51 |
$(cmake-utils_use_disable qwt Qwt5)
|
| 52 |
$(cmake-utils_use_disable webkit QtWebKit)
|
| 53 |
)
|
| 54 |
kde4-base_src_configure
|
| 55 |
}
|