ktorrent: update to 5.0.1

This commit is contained in:
Helmut Pozimski 2017-08-01 22:53:47 +02:00
parent 7ffe42e858
commit 8ef20ed44b
2 changed files with 48 additions and 8 deletions

View File

@ -0,0 +1,38 @@
From ac8eb6b360fbaa2588ec523bb81c380289586db6 Mon Sep 17 00:00:00 2001
From: David Faure <faure@kde.org>
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 <KDialog>
+#include <KSharedConfig>
#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 <QListView>
#include <QCheckBox>
#include <QSortFilterProxyModel>
-#include <KSharedConfigPtr>
+#include <KSharedConfig>
#include "mediafile.h"
--
2.7.3

View File

@ -1,15 +1,17 @@
# Template file for 'ktorrent' # Template file for 'ktorrent'
pkgname=ktorrent pkgname=ktorrent
version=4.3.1 version=5.0.1
revision=2 revision=1
short_desc="BitTorrent client based on the KDE platform" short_desc="BitTorrent client based on the KDE platform"
maintainer="Norbert Vegh <vegh@norvegh.com>" maintainer="Norbert Vegh <vegh@norvegh.com>"
license="GPL-2" license="GPL-2"
homepage="http://ktorrent.pwsp.net/" homepage="http://ktorrent.pwsp.net/"
distfiles="http://mirror.netcologne.de/gentoo/distfiles/${pkgname}-${version}.tar.bz2" distfiles="http://mirror.netcologne.de/gentoo/distfiles/${pkgname}-${version}.tar.xz"
checksum=66094f6833347afb0c49e332f0ec15ec48db652cbe66476840846ffd5ca0e4a1 checksum=d00feeca5dcc6a76a039d67dbe91a2d5a5e1da0f5e0bbd8da2c156d9c44879e5
build_style=cmake build_style=cmake
hostmakedepends="automoc4" hostmakedepends="extra-cmake-modules"
configure_args="-DKDE4_BUILD_TESTS=OFF" makedepends="qt5-devel qt5-script-devel ki18n-devel kio-devel kxmlgui-devel
makedepends="kdelibs-devel qt-devel qt-webkit-devel gmp-devel qca-devel knotifications-devel ksolid-devel kconfig-devel kcoreaddons-devel kdoctools-devel
libressl-devel phonon-devel libktorrent-devel kdepimlibs-devel boost-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"