diff --git a/srcpkgs/ktorrent/patches/build.patch b/srcpkgs/ktorrent/patches/build.patch new file mode 100644 index 00000000000..d7a16365c9e --- /dev/null +++ b/srcpkgs/ktorrent/patches/build.patch @@ -0,0 +1,38 @@ +From ac8eb6b360fbaa2588ec523bb81c380289586db6 Mon Sep 17 00:00:00 2001 +From: David Faure +Date: Sat, 14 May 2016 11:19:34 +0200 +Subject: [PATCH] Fix compilation, KSharedConfig was not found. + +--- + ktorrent/dialogs/pastedialog.h | 1 + + plugins/mediaplayer/mediaview.h | 2 +- + 2 files changed, 2 insertions(+), 1 deletion(-) + +diff --git a/ktorrent/dialogs/pastedialog.h b/ktorrent/dialogs/pastedialog.h +index 2446848..430ea82 100644 +--- ktorrent/dialogs/pastedialog.h ++++ ktorrent/dialogs/pastedialog.h +@@ -22,6 +22,7 @@ + #define PASTEDIALOG_H + + #include ++#include + #include "ui_pastedlgbase.h" + + +diff --git a/plugins/mediaplayer/mediaview.h b/plugins/mediaplayer/mediaview.h +index 2b9a7e6..d1959c1 100644 +--- plugins/mediaplayer/mediaview.h ++++ plugins/mediaplayer/mediaview.h +@@ -25,7 +25,7 @@ + #include + #include + #include +-#include ++#include + #include "mediafile.h" + + +-- +2.7.3 + diff --git a/srcpkgs/ktorrent/template b/srcpkgs/ktorrent/template index 4ac057b20fe..98f28168711 100644 --- a/srcpkgs/ktorrent/template +++ b/srcpkgs/ktorrent/template @@ -1,15 +1,17 @@ # Template file for 'ktorrent' pkgname=ktorrent -version=4.3.1 -revision=2 +version=5.0.1 +revision=1 short_desc="BitTorrent client based on the KDE platform" maintainer="Norbert Vegh " license="GPL-2" homepage="http://ktorrent.pwsp.net/" -distfiles="http://mirror.netcologne.de/gentoo/distfiles/${pkgname}-${version}.tar.bz2" -checksum=66094f6833347afb0c49e332f0ec15ec48db652cbe66476840846ffd5ca0e4a1 +distfiles="http://mirror.netcologne.de/gentoo/distfiles/${pkgname}-${version}.tar.xz" +checksum=d00feeca5dcc6a76a039d67dbe91a2d5a5e1da0f5e0bbd8da2c156d9c44879e5 build_style=cmake -hostmakedepends="automoc4" -configure_args="-DKDE4_BUILD_TESTS=OFF" -makedepends="kdelibs-devel qt-devel qt-webkit-devel gmp-devel qca-devel - libressl-devel phonon-devel libktorrent-devel kdepimlibs-devel boost-devel" +hostmakedepends="extra-cmake-modules" +makedepends="qt5-devel qt5-script-devel ki18n-devel kio-devel kxmlgui-devel + knotifications-devel ksolid-devel kconfig-devel kcoreaddons-devel kdoctools-devel + kross-devel kcmutils-devel sonnet-devel kdbusaddons-devel kcrash-devel + karchive-devel kdelibs4support-devel knotifyconfig-devel libktorrent-devel + gmp-devel taglib-devel kdnssd-devel"