| 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/perlqt/perlqt-4.8.4.ebuild,v 1.1 2012/06/21 21:54:47 dilfridge Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
|
| 7 |
DECLARATIVE_REQUIRED="optional"
|
| 8 |
MULTIMEDIA_REQUIRED="optional"
|
| 9 |
OPENGL_REQUIRED="optional"
|
| 10 |
QTHELP_REQUIRED="optional"
|
| 11 |
KDE_REQUIRED="never"
|
| 12 |
VIRTUALX_REQUIRED="test"
|
| 13 |
inherit kde4-base
|
| 14 |
|
| 15 |
DESCRIPTION="Qt Perl bindings"
|
| 16 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
| 17 |
IUSE="debug phonon qimageblitz qscintilla qwt webkit"
|
| 18 |
|
| 19 |
RDEPEND="
|
| 20 |
>=dev-lang/perl-5.10.1
|
| 21 |
dev-perl/List-MoreUtils
|
| 22 |
$(add_kdebase_dep smokeqt 'declarative?,multimedia?,opengl?,phonon?,qimageblitz?,qscintilla?,qthelp?,qwt?,webkit?')
|
| 23 |
"
|
| 24 |
DEPEND=${RDEPEND}
|
| 25 |
|
| 26 |
# Split from kdebindings-perl in 4.7
|
| 27 |
add_blocker kdebindings-perl
|
| 28 |
|
| 29 |
PATCHES=(
|
| 30 |
"${FILESDIR}/${PN}-4.7.2-vendor.patch"
|
| 31 |
"${FILESDIR}/${PN}-4.8.1-tests.patch"
|
| 32 |
)
|
| 33 |
|
| 34 |
src_configure() {
|
| 35 |
local mycmakeargs=(
|
| 36 |
-DDISABLE_Qt3Support=ON
|
| 37 |
$(cmake-utils_use_disable declarative QtDeclarative)
|
| 38 |
$(cmake-utils_use_disable multimedia QtMultimedia)
|
| 39 |
$(cmake-utils_use_disable opengl QtOpenGL)
|
| 40 |
$(cmake-utils_use_with phonon)
|
| 41 |
$(cmake-utils_use_with qimageblitz QImageBlitz)
|
| 42 |
$(cmake-utils_use_with qscintilla QScintilla)
|
| 43 |
$(cmake-utils_use_disable qthelp QtHelp)
|
| 44 |
$(cmake-utils_use_disable qwt)
|
| 45 |
$(cmake-utils_use_disable webkit QtWebKit)
|
| 46 |
)
|
| 47 |
kde4-base_src_configure
|
| 48 |
}
|
| 49 |
|
| 50 |
src_test() {
|
| 51 |
PERL5LIB="${CMAKE_BUILD_DIR}/blib/arch:${CMAKE_BUILD_DIR}/blib/lib" kde4-base_src_test
|
| 52 |
}
|