Difference between revisions of "K3b-KDE4"

From CBLFS
Jump to navigationJump to search
Line 10: Line 10:
  
 
* [[KDE4/KdeLibs]]
 
* [[KDE4/KdeLibs]]
* [[KDE4/KdeSupport]]
 
 
* [[Libsamplerate]]
 
* [[Libsamplerate]]
  

Revision as of 08:03, 13 September 2009

Download Source: https://sourceforge.net/project/downloading.php?group_id=26138&filename=k3b-1.66.0alpha2.tar.bz2

Dependencies

Required

Optional

Configuration Information

This build assumes you followed KDE4 to isntall KDE4

Non-Multilib

Compile the package:

mkdir -v build &&
cd build &&
cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} .. &&
make

Install the package:

make install

Multilib

32Bit

mkdir -v build &&
cd build &&
USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \
    -DSYSCONF_INSTALL_DIR=/etc/kde \
    -DCMAKE_CXX_FLAGS=${BUILD32} \
    -DCMAKE_C_FLAGS=${BUILD32} \
    .. &&
make

If Cmake found the libraries in lib64, like this:

-- Found KDE 4 library dir: /usr/lib64

Do this:

for file in $( find ./ -name build.make ); do  sed -i 's:/lib64:/lib:g' $file ; done
for file in $( find ./ -name *link.txt ); do sed -i 's:/lib64:/lib:g' $file ; done 
make

Install the Package

make install

N32

64Bit

mkdir -v build &&
cd build &&
USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \
    -DSYSCONF_INSTALL_DIR=/etc/kde \
    -DLIB_SUFFIX=64 \
    -DCMAKE_CXX_FLAGS=${BUILD64} \
    -DCMAKE_C_FLAGS=${BUILD64} \
    .. &&
make

Install the Package

make install
Retrieved from "?title=K3b-KDE4&oldid=19160"