summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2012-08-02 16:55:46 +0000
committerMichael Palimaka <kensington@gentoo.org>2012-08-02 16:55:46 +0000
commit8b0660a4503d75bb89e97c503b0976532520bc55 (patch)
tree98f22727374ba2e1b68f6ad8051909403953a1c9 /kde-base
parentSet -*-fbsd keywords due to -ldl issue (diff)
downloadgentoo-2-8b0660a4503d75bb89e97c503b0976532520bc55.tar.gz
gentoo-2-8b0660a4503d75bb89e97c503b0976532520bc55.tar.bz2
gentoo-2-8b0660a4503d75bb89e97c503b0976532520bc55.zip
Fix dependencies, thanks to Bash Vi <bash.vi@gmail.com> in bug #429346.
(Portage version: 2.1.11.9/cvs/Linux x86_64)
Diffstat (limited to 'kde-base')
-rw-r--r--kde-base/marble/ChangeLog6
-rw-r--r--kde-base/marble/marble-4.8.4.ebuild23
-rw-r--r--kde-base/marble/marble-4.9.0.ebuild23
3 files changed, 37 insertions, 15 deletions
diff --git a/kde-base/marble/ChangeLog b/kde-base/marble/ChangeLog
index 429797bd1809..44e7b42d9f90 100644
--- a/kde-base/marble/ChangeLog
+++ b/kde-base/marble/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for kde-base/marble
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/marble/ChangeLog,v 1.146 2012/08/01 22:17:31 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/marble/ChangeLog,v 1.147 2012/08/02 16:55:46 kensington Exp $
+
+ 02 Aug 2012; Michael Palimaka <kensington@gentoo.org> marble-4.8.4.ebuild,
+ marble-4.9.0.ebuild:
+ Fix dependencies, thanks to Bash Vi <bash.vi@gmail.com> in bug #429346.
*marble-4.9.0 (01 Aug 2012)
diff --git a/kde-base/marble/marble-4.8.4.ebuild b/kde-base/marble/marble-4.8.4.ebuild
index ad3a6746fbe8..7475a0fd4189 100644
--- a/kde-base/marble/marble-4.8.4.ebuild
+++ b/kde-base/marble/marble-4.8.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/marble/marble-4.8.4.ebuild,v 1.3 2012/07/15 16:37:26 kensington Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/marble/marble-4.8.4.ebuild,v 1.4 2012/08/02 16:55:46 kensington Exp $
EAPI=4
@@ -12,15 +12,18 @@ inherit kde4-base python
DESCRIPTION="Generic geographical map widget"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="debug designer-plugin gps +kde plasma python"
+IUSE="debug designer-plugin gps +kde plasma python test"
-# tests fail / segfault. Last checked for 4.2.88
-# RESTRICT=test
+# tests fail / segfault. Last checked for 4.9.0
+RESTRICT="test"
-DEPEND="
+RDEPEND="
x11-libs/qt-core:4
+ x11-libs/qt-declarative:4
x11-libs/qt-gui:4[dbus]
x11-libs/qt-script:4
+ x11-libs/qt-sql:4
+ x11-libs/qt-svg:4
x11-libs/qt-webkit:4
gps? ( >=sci-geosciences/gpsd-2.95[qt4] )
python? (
@@ -28,10 +31,12 @@ DEPEND="
kde? ( $(add_kdebase_dep pykde4) )
)
"
-RDEPEND="${DEPEND}
+DEPEND="
+ ${RDEPEND}
+ test? ( x11-libs/qt-test:4 )
"
# the qt dependencies are needed because with USE=-kde nothing is pulled in
-# by default... bug 414165
+# by default... bugs 414165 & 414165
REQUIRED_USE="
plasma? ( kde )
@@ -59,6 +64,7 @@ src_configure() {
$(cmake-utils_use_with gps libgps)
$(cmake-utils_use !kde QTONLY)
$(cmake-utils_use_with plasma)
+ -DBUILD_MARBLE_TESTS=OFF
-DWITH_liblocation=0
$(use kde && cmake-utils_use_with python PyKDE4)
)
@@ -70,6 +76,9 @@ src_test() {
if use kde; then
elog "Marble tests can only be run in the qt-only version"
else
+ local mycmakeargs=(
+ -DBUILD_MARBLE_TESTS=ON
+ )
kde4-base_src_test
fi
}
diff --git a/kde-base/marble/marble-4.9.0.ebuild b/kde-base/marble/marble-4.9.0.ebuild
index 88acf3d174c4..2139bc49c8fc 100644
--- a/kde-base/marble/marble-4.9.0.ebuild
+++ b/kde-base/marble/marble-4.9.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/marble/marble-4.9.0.ebuild,v 1.1 2012/08/01 22:17:31 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/marble/marble-4.9.0.ebuild,v 1.2 2012/08/02 16:55:46 kensington Exp $
EAPI=4
@@ -13,15 +13,18 @@ inherit kde4-base python
DESCRIPTION="Generic geographical map widget"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="debug designer-plugin gps +kde plasma python"
+IUSE="debug designer-plugin gps +kde plasma python test"
-# tests fail / segfault. Last checked for 4.2.88
-# RESTRICT=test
+# tests fail / segfault. Last checked for 4.9.0
+RESTRICT="test"
-DEPEND="
+RDEPEND="
x11-libs/qt-core:4
+ x11-libs/qt-declarative:4
x11-libs/qt-gui:4[dbus]
x11-libs/qt-script:4
+ x11-libs/qt-sql:4
+ x11-libs/qt-svg:4
x11-libs/qt-webkit:4
gps? ( >=sci-geosciences/gpsd-2.95[qt4] )
python? (
@@ -29,10 +32,12 @@ DEPEND="
kde? ( $(add_kdebase_dep pykde4) )
)
"
-RDEPEND="${DEPEND}
+DEPEND="
+ ${RDEPEND}
+ test? ( x11-libs/qt-test:4 )
"
# the qt dependencies are needed because with USE=-kde nothing is pulled in
-# by default... bug 414165
+# by default... bugs 414165 & 414165
REQUIRED_USE="
plasma? ( kde )
@@ -60,6 +65,7 @@ src_configure() {
$(cmake-utils_use_with gps libgps)
$(cmake-utils_use !kde QTONLY)
$(cmake-utils_use_with plasma)
+ -DBUILD_MARBLE_TESTS=OFF
-DWITH_liblocation=0
$(use kde && cmake-utils_use_with python PyKDE4)
)
@@ -71,6 +77,9 @@ src_test() {
if use kde; then
elog "Marble tests can only be run in the qt-only version"
else
+ local mycmakeargs=(
+ -DBUILD_MARBLE_TESTS=ON
+ )
kde4-base_src_test
fi
}