Difference between revisions of "K3b-KDE4"
From CBLFS
Jump to navigationJump to searchLine 37: | Line 37: | ||
mkdir -v build && | mkdir -v build && | ||
cd build && | cd build && | ||
− | cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} .. && | + | cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \ |
+ | -DSYSCONF_INSTALL_DIR=/etc/kde \ | ||
+ | -DLIB_INSTALL_DIR=/opt/kde4/lib \ | ||
+ | -DCMAKE_BUILD_TYPE=Release \ | ||
+ | -DLIB_SUFFIX= \ | ||
+ | .. && | ||
make | make | ||
Line 53: | Line 58: | ||
cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \ | cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \ | ||
-DSYSCONF_INSTALL_DIR=/etc/kde \ | -DSYSCONF_INSTALL_DIR=/etc/kde \ | ||
− | - | + | -DLIB_INSTALL_DIR=/opt/kde4/lib \ |
− | - | + | -DCMAKE_BUILD_TYPE=Release \ |
+ | -DCMAKE_C_FLAGS="${BUILD32}" \ | ||
+ | -DCMAKE_CXX_FLAGS="${BUILD32}" \ | ||
+ | -DLIB_SUFFIX= \ | ||
.. && | .. && | ||
make | make | ||
Line 78: | Line 86: | ||
mkdir -v build && | mkdir -v build && | ||
cd build && | cd build && | ||
− | USE_ARCH= | + | USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ |
cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \ | cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \ | ||
-DSYSCONF_INSTALL_DIR=/etc/kde \ | -DSYSCONF_INSTALL_DIR=/etc/kde \ | ||
− | - | + | -DLIB_INSTALL_DIR=/opt/kde4/lib \ |
− | - | + | -DCMAKE_BUILD_TYPE=Release \ |
− | - | + | -DCMAKE_C_FLAGS="${BUILD32}" \ |
+ | -DCMAKE_CXX_FLAGS="${BUILD32}" \ | ||
+ | -DLIB_SUFFIX= \ | ||
.. && | .. && | ||
make | make | ||
+ | |||
Install the Package | Install the Package |
Revision as of 17:20, 20 September 2009
Download Source: https://sourceforge.net/project/downloading.php?group_id=26138&filename=k3b-1.66.0alpha2.tar.bz2 |
---|
Contents
Dependencies
Required
Optional
- FLAC
- FLAC++
- Libmad
- Libsndfile
- LAME
- Vorbis_Tools
- KCddb
- TagLib
- Polkit-Qt
- LibMusicBrainz
- FFmpeg
- Musepack
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} \ -DSYSCONF_INSTALL_DIR=/etc/kde \ -DLIB_INSTALL_DIR=/opt/kde4/lib \ -DCMAKE_BUILD_TYPE=Release \ -DLIB_SUFFIX= \ .. && 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 \ -DLIB_INSTALL_DIR=/opt/kde4/lib \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_C_FLAGS="${BUILD32}" \ -DCMAKE_CXX_FLAGS="${BUILD32}" \ -DLIB_SUFFIX= \ .. && 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=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \ -DSYSCONF_INSTALL_DIR=/etc/kde \ -DLIB_INSTALL_DIR=/opt/kde4/lib \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_C_FLAGS="${BUILD32}" \ -DCMAKE_CXX_FLAGS="${BUILD32}" \ -DLIB_SUFFIX= \ .. && make
Install the Package
make install