K3b-KDE4

From CBLFS
Revision as of 13:13, 28 August 2009 by Oppiz (talk | contribs) (Created page with '{| style="text-align: left; background-color: AliceBlue;" |-valign="top" !Download Source: https://sourceforge.net/project/downloading.php?group_id=26138&filename=k3b-1.66.0alpha…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
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 

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=18946"