[Lunar-commits] <moonbase> ktorrent: fixed broken build People, developers, before you will bump and commit version number in official moonbase please build the new release first. Since this release ktorrent moved all non gui code to external library: libktorrent. Without this library there is no possibility to build current ktorrent. Ktorrent now is just gui only. All torrent engine is inside libktorrent.

Zbigniew Luszpinski zbiggy at lunar-linux.org
Wed May 26 23:49:10 CEST 2010


commit 9e028b81316111191f282734dd1225f267c99557
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Wed May 26 23:49:10 2010 +0200

    ktorrent: fixed broken build
    People, developers,
    before you will bump and commit version number in official moonbase
    please build the new release first. Since this release
    ktorrent moved all non gui code to external library: libktorrent.
    Without this library there is no possibility to build current ktorrent.
    Ktorrent now is just gui only. All torrent engine is inside libktorrent.
---
 kde4/extragear/ktorrent/DEPENDS    |    3 +--
 kde4/extragear/libktorrent/BUILD   |   16 ++++++++++++++++
 kde4/extragear/libktorrent/DEPENDS |    2 ++
 kde4/extragear/libktorrent/DETAILS |   18 ++++++++++++++++++
 4 files changed, 37 insertions(+), 2 deletions(-)

diff --git a/kde4/extragear/ktorrent/DEPENDS b/kde4/extragear/ktorrent/DEPENDS
index ca939dc..1a1b496 100644
--- a/kde4/extragear/ktorrent/DEPENDS
+++ b/kde4/extragear/ktorrent/DEPENDS
@@ -1,2 +1 @@
-depends kdepimlibs4
-depends qca2
+depends libktorrent
diff --git a/kde4/extragear/libktorrent/BUILD b/kde4/extragear/libktorrent/BUILD
new file mode 100644
index 0000000..aacc1e3
--- /dev/null
+++ b/kde4/extragear/libktorrent/BUILD
@@ -0,0 +1,16 @@
+(
+
+  KDE4_BUILD_DIR="$SOURCE_DIRECTORY/kde4-build"
+
+  source /etc/profile.d/qt4.rc   &&
+  source /etc/profile.d/kde4.rc  &&
+
+  mkdir $KDE4_BUILD_DIR  &&
+  cd $KDE4_BUILD_DIR     &&
+
+  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX  \
+                           -DCMAKE_BUILD_TYPE=RELEASE            &&
+
+  default_make
+
+) > $C_FIFO 2>&1
diff --git a/kde4/extragear/libktorrent/DEPENDS b/kde4/extragear/libktorrent/DEPENDS
new file mode 100644
index 0000000..ca939dc
--- /dev/null
+++ b/kde4/extragear/libktorrent/DEPENDS
@@ -0,0 +1,2 @@
+depends kdepimlibs4
+depends qca2
diff --git a/kde4/extragear/libktorrent/DETAILS b/kde4/extragear/libktorrent/DETAILS
new file mode 100644
index 0000000..970ec4f
--- /dev/null
+++ b/kde4/extragear/libktorrent/DETAILS
@@ -0,0 +1,18 @@
+          MODULE=libktorrent
+	   MAJOR=4.0
+         VERSION=1.0.0
+          SOURCE=$MODULE-$VERSION.tar.bz2
+      SOURCE_URL=http://ktorrent.org/downloads/$MAJOR
+   MODULE_PREFIX=${KDE4_INSTALL_DIR:-/opt/lunar/kde/4}
+      SOURCE_VFY=sha1:2667910d19c400fb436d6537b8402c4c38994b9b
+        WEB_SITE=http://ktorrent.org
+         ENTERED=20100526
+         UPDATED=20100526
+           SHORT="BitTorrent library"
+
+cat << EOF
+Libktorrent contains all the torrent downloading code.
+The goal is to make libktorrent an independent library
+(though still closely related to ktorrent),
+which can be used by other applications.
+EOF


More information about the Lunar-commits mailing list