diff options
| -rw-r--r-- | kf5/README.md | 14 | ||||
| -rwxr-xr-x | kf5/kf5-build.sh | 33 | ||||
| -rw-r--r-- | kf5/list | 5 |
3 files changed, 40 insertions, 12 deletions
diff --git a/kf5/README.md b/kf5/README.md index ef1142f..c823dc7 100644 --- a/kf5/README.md +++ b/kf5/README.md @@ -1,12 +1,12 @@ # KDE Frameworks -This directory has all the files that I use to compile KDE Frameworks. Note, -that I don't guarantee that all the modules are nicely compiling, I've just -checked the ones I need to compile Kate. Moreover, the KTextEditor library is -not included in the list of modules to be compiled. This is because it's the -only library from Frameworks that I contribute and, therefore, I want to keep -it separately. I will remove this directory when the KDE Frameworks is stable -and all the KDE apps are ported to Frameworks. +This directory has all the files that I use to compile KDE Frameworks. The +following packages are not included: kdewebkit and kde4support. +Moreover, the KTextEditor library is not included in the list of modules +to be compiled. This is because it's the only library from Frameworks +that I contribute and, therefore, I want to keep it separately. I will +remove this directory when the KDE Frameworks is stable and all the +KDE apps are ported to Frameworks. This directory assumes that you have my Git configuration (things like the "down" alias, the "kde:" prefix, etc.). This directory also assumes that diff --git a/kf5/kf5-build.sh b/kf5/kf5-build.sh index 7346249..a9b336a 100755 --- a/kf5/kf5-build.sh +++ b/kf5/kf5-build.sh @@ -1,6 +1,5 @@ #!/bin/bash - # Initial check. if [ -z "$KF5" ]; then echo "You have to set the \$KF5 environment variable." @@ -10,6 +9,9 @@ fi # Create the $KF5 directory if it doesn't exist yet. mkdir -p $KF5 +## +# CMake stuff. + # Getting CMake from git. if [ ! -d cmake ]; then git clone git://cmake.org/cmake.git @@ -28,7 +30,36 @@ if [ ! -d extra-cmake-modules ]; then cd .. fi +## +# Qt5-based dependencies. + +# Phonon +if [ -d phonon ]; then + cd phonon && git down && cd .. +else + git clone kde:phonon --branch master +fi +mkdir -p phonon/build +cd phonon/build +cmake -DCMAKE_INSTALL_PREFIX=$KF5 -DPHONON_BUILD_PHONON4QT5=ON .. +make -j 10 install +cd ../.. + +# libdbusmenu-qt +if [ -d libdbusmenu-qt ]; then + cd phonon && git down && cd .. +else + bzr branch lp:libdbusmenu-qt +fi +mkdir -p libdbusmenu-qt/build +cd libdbusmenu-qt/build +cmake -DCMAKE_INSTALL_PREFIX=$KF5 -DWITH_DOC:bool=OFF .. +make -j 10 install +cd ../.. + +## # The rest of the packages. + for pkg in $(cat list); do # Clone or pull. if [ -d $pkg ]; then @@ -26,7 +26,6 @@ kbookmarks kcmutils solid kjobwidgets -libdbusmenu-qt5 knotifications kio kdeclarative @@ -35,9 +34,8 @@ kded kplotting kpty kdesu -kwallet-framework +kwallet kparts -kdewebkit kdesignerplugin kdnssd-framework kemoticons @@ -51,7 +49,6 @@ kprintutils kross kunitconversion threadweaver -kde4support kfileaudiopreview khtml knewstuff |
