summaryrefslogtreecommitdiffstats
path: root/kde/ktorrent/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'kde/ktorrent/Pkgfile')
-rwxr-xr-xkde/ktorrent/Pkgfile19
1 files changed, 9 insertions, 10 deletions
diff --git a/kde/ktorrent/Pkgfile b/kde/ktorrent/Pkgfile
index 5b31db6c9..f5fdceb13 100755
--- a/kde/ktorrent/Pkgfile
+++ b/kde/ktorrent/Pkgfile
@@ -2,11 +2,11 @@
# URL: http://ktorrent.org/
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
-# Depends on: libktorrent
-# Run on: libktorrent
+# Depends on: libktorrent, kdebase-workspace
+# Run on: libktorrent,kdebase-workspace
name=ktorrent
-version=4.0.5
+version=4.1.1
release=1
source=(http://ktorrent.org/downloads/$version/$name-$version.tar.bz2 \
@@ -14,14 +14,13 @@ source=(http://ktorrent.org/downloads/$version/$name-$version.tar.bz2 \
build() {
cd $name-$version
-# patch -Np0 -i $SRC/httpserver.patch
+ patch -Np0 -i $SRC/httpserver.patch
cmake . -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_SKIP_RPATH=ON \
- -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
- -DENABLE_MEDIAPLAYER_PLUGIN=false
- make
- make DESTDIR=$PKG install
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_SKIP_RPATH=ON \
+ -DENABLE_MEDIAPLAYER_PLUGIN=true
+ make
+ make DESTDIR=$PKG install
mkdir -p $PKG/usr/share/applications
install -m 644 $SRC/$name.desktop $PKG/usr/share/applications/
mkdir -p $PKG/usr/share/icons/hicolor/48x48/apps/