summaryrefslogtreecommitdiff
path: root/kde-base/juk/juk-9999.ebuild
diff options
context:
space:
mode:
authorJonathan Callen <en.ABCD@gmail.com>2009-08-30 04:47:30 -0400
committerJonathan Callen <en.ABCD@gmail.com>2009-08-30 04:47:30 -0400
commitbe51d5933d998cc59f80e6941b32e87530caeb0a (patch)
treee0b79c25134dc2dfd6e8ea0ed716fbac9ebdfb43 /kde-base/juk/juk-9999.ebuild
parentd147b505f5c6c738300072bf308f5687fb97853e (diff)
downloadkde-be51d5933d998cc59f80e6941b32e87530caeb0a.tar.gz
kde-be51d5933d998cc59f80e6941b32e87530caeb0a.tar.bz2
kde-be51d5933d998cc59f80e6941b32e87530caeb0a.zip
Remove kde-base/libknotificationitem from compile-time deps
The kdemultimedia, kdeutils, and (in 4.4+) kdegraphics modules all check for the existence of libknotificationitem, even if it isn't needed. This commit removes that check, except in those ebuilds where it *is* needed. This also adds a dep on libknotificationitem where it was needed, but missing.
Diffstat (limited to 'kde-base/juk/juk-9999.ebuild')
-rw-r--r--kde-base/juk/juk-9999.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/kde-base/juk/juk-9999.ebuild b/kde-base/juk/juk-9999.ebuild
index aa75e940a05..cd7ac50b538 100644
--- a/kde-base/juk/juk-9999.ebuild
+++ b/kde-base/juk/juk-9999.ebuild
@@ -17,6 +17,13 @@ DEPEND="
"
RDEPEND="${DEPEND}"
+
+src_prepare() {
+ kde4-meta_src_prepare
+
+ # Remove compile-time dep on LibKNotificationItem
+ sed -i -e '/LibKNotificationItem-1/s/^/#DONOTNEED /' CMakeLists.txt
+}
src_configure() {
mycmakeargs="${mycmakeargs}
$(cmake-utils_use_with musicbrainz TunePimp)"