diff options
| author | Maciej Mrozowski <reavertm@gentoo.org> | 2010-09-11 22:48:24 +0200 |
|---|---|---|
| committer | Maciej Mrozowski <reavertm@gentoo.org> | 2010-09-11 22:48:24 +0200 |
| commit | 36f9e97d4418ec71b7dbc8641bc0d809c72bb814 (patch) | |
| tree | fe5ece56f946e796b3f995749796ac9280b25cb7 /eclass | |
| parent | 71231d92bc457f3e53e04af01e666155956b4f14 (diff) | |
| download | kde-36f9e97d4418ec71b7dbc8641bc0d809c72bb814.tar.gz kde-36f9e97d4418ec71b7dbc8641bc0d809c72bb814.tar.bz2 kde-36f9e97d4418ec71b7dbc8641bc0d809c72bb814.zip | |
[eclass/kde4-base] Add code to replace KDE4Workspace library targets with actual library name
Diffstat (limited to 'eclass')
| -rw-r--r-- | eclass/kde4-base.eclass | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass index 8369042c0ab..50e9d567179 100644 --- a/eclass/kde4-base.eclass +++ b/eclass/kde4-base.eclass @@ -659,6 +659,25 @@ kde4-base_src_prepare() { if [[ -n ${KMLOADLIBS} ]] ; then load_library_dependencies fi + + # Replace KDE4Workspace library targets + find "${S}" -name CMakeLists.txt \ + -exec sed -i -r -e 's/\$\{KDE4WORKSPACE_TASKMANAGER_(LIBRARY|LIBS)\}/taskmanager/g' {} + \ + -exec sed -i -r -e 's/\$\{KDE4WORKSPACE_KWORKSPACE_(LIBRARY|LIBS)\}/kworkspace/g' {} + \ + -exec sed -i -r -e 's/\$\{KDE4WORKSPACE_SOLIDCONTROLIFACES_(LIBRARY|LIBS)\}/solidcontrolifaces/g' {} + \ + -exec sed -i -r -e 's/\$\{KDE4WORKSPACE_SOLIDCONTROL_(LIBRARY|LIBS)\}/solidcontrol/g' {} + \ + -exec sed -i -r -e 's/\$\{KDE4WORKSPACE_PROCESSUI_(LIBRARY|LIBS)\}/processui/g' {} + \ + -exec sed -i -r -e 's/\$\{KDE4WORKSPACE_LSOFUI_(LIBRARY|LIBS)\}/lsofui/g' {} + \ + -exec sed -i -r -e 's/\$\{KDE4WORKSPACE_PLASMACLOCK_(LIBRARY|LIBS)\}/plasmaclock/g' {} + \ + -exec sed -i -r -e 's/\$\{KDE4WORKSPACE_NEPOMUKQUERYCLIENT_(LIBRARY|LIBS)\}/nepomukqueryclient/g' {} + \ + -exec sed -i -r -e 's/\$\{KDE4WORKSPACE_NEPOMUKQUERY_(LIBRARY|LIBS)\}/nepomukquery/g' {} + \ + -exec sed -i -r -e 's/\$\{KDE4WORKSPACE_KSCREENSAVER_(LIBRARY|LIBS)\}/kscreensaver/g' {} + \ + -exec sed -i -r -e 's/\$\{KDE4WORKSPACE_WEATHERION_(LIBRARY|LIBS)\}/weather_ion/g' {} + \ + -exec sed -i -r -e 's/\$\{KDE4WORKSPACE_KWINEFFECTS_(LIBRARY|LIBS)\}/kwineffects/g' {} + \ + -exec sed -i -r -e 's/\$\{KDE4WORKSPACE_KDECORATIONS_(LIBRARY|LIBS)\}/kdecorations/g' {} + \ + -exec sed -i -r -e 's/\$\{KDE4WORKSPACE_KSGRD_(LIBRARY|LIBS)\}/ksgrd/g' {} + \ + -exec sed -i -r -e 's/\$\{KDE4WORKSPACE_KEPHAL_(LIBRARY|LIBS)\}/kephal/g' {} + \ + || die 'failed to replace KDE4Workspace library targets' } # @FUNCTION: kde4-base_src_configure |
