summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-04-10 16:34:36 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-04-10 16:35:45 +0200
commitaf27a97234f9f92c11cda8e5d9d25de0728f68c6 (patch)
tree3ba52eaaa2234fcf13ba2336d7b378d0b9beeba2
parentdev-php/pecl-apcu_bc: Version bump to 1.0.4 (diff)
downloadgentoo-af27a97234f9f92c11cda8e5d9d25de0728f68c6.tar.gz
gentoo-af27a97234f9f92c11cda8e5d9d25de0728f68c6.tar.bz2
gentoo-af27a97234f9f92c11cda8e5d9d25de0728f68c6.zip
app-portage/kuroo: Add 0.90.5_p20180410 snapshot
Closes: https://bugs.gentoo.org/652592 Package-Manager: Portage-2.3.28, Repoman-2.3.9
-rw-r--r--app-portage/kuroo/Manifest1
-rw-r--r--app-portage/kuroo/files/kuroo-0.90.5_p20180410-qt-5.11.patch42
-rw-r--r--app-portage/kuroo/kuroo-0.90.5_p20180410.ebuild59
3 files changed, 102 insertions, 0 deletions
diff --git a/app-portage/kuroo/Manifest b/app-portage/kuroo/Manifest
index 8ca3dd943a6..7cdf7cf9416 100644
--- a/app-portage/kuroo/Manifest
+++ b/app-portage/kuroo/Manifest
@@ -1 +1,2 @@
DIST kuroo-0.90.5_p20180106.tar.xz 242108 BLAKE2B 6f72ed347f98cfffa3cf3d965065b25b72607111d04952cf821b97cd6b73944b930af1e61955ddb0df6e7fdf91b3901d14b016de76971a95bf9bb36e9e00f355 SHA512 10431273357098e236c11253f456cee0320115108e058d0c31383f709b0488402ced368380dfe1fc30844cac7619da974f526ec22cea95361187c61d1fe67c61
+DIST kuroo-0.90.5_p20180410.tar.xz 241920 BLAKE2B d182df57f0c6628b849f6f6e4d7919281117396ea30360e6eb0993b3c61ba67956a8e0648926f77e23d8222a8337108599f657cb7e49091fd51b98febb6593ce SHA512 f1894c90b8b6df06818cab6cc3fb55a3348f8a9df669b515796dabe9a0df3773d69ba89a4aa3569250b2fb379c1169d8789c82fcd3868ddb9f640f010aee811d
diff --git a/app-portage/kuroo/files/kuroo-0.90.5_p20180410-qt-5.11.patch b/app-portage/kuroo/files/kuroo-0.90.5_p20180410-qt-5.11.patch
new file mode 100644
index 00000000000..b7a146e2009
--- /dev/null
+++ b/app-portage/kuroo/files/kuroo-0.90.5_p20180410-qt-5.11.patch
@@ -0,0 +1,42 @@
+From 77941829f2aba22e05142a47b689e17d594da610 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Tue, 10 Apr 2018 16:27:47 +0200
+Subject: [PATCH] Fix build with Qt 5.11
+
+---
+ src/core/categorieslistview.cpp | 5 +++--
+ src/core/versionview.cpp | 1 +
+ 2 files changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/src/core/categorieslistview.cpp b/src/core/categorieslistview.cpp
+index d499397..1246aad 100644
+--- a/src/core/categorieslistview.cpp
++++ b/src/core/categorieslistview.cpp
+@@ -22,9 +22,10 @@
+ #include "categorieslistview.h"
+
+ #include <qpainter.h>
+-#include <QTreeWidget>
+-#include <QScrollBar>
+ #include <QFrame>
++#include <QHeaderView>
++#include <QScrollBar>
++#include <QTreeWidget>
+
+ #include <kglobal.h>
+
+diff --git a/src/core/versionview.cpp b/src/core/versionview.cpp
+index 1a2b701..e83e265 100644
+--- a/src/core/versionview.cpp
++++ b/src/core/versionview.cpp
+@@ -21,6 +21,7 @@
+ #include "common.h"
+ #include "versionview.h"
+
++#include <QHeaderView>
+ #include <QTreeWidget>
+
+ VersionView::VersionItem::VersionItem( QTreeWidget* parent, const QString& version, const bool& isInstalled, const int& stability )
+--
+2.17.0
+
diff --git a/app-portage/kuroo/kuroo-0.90.5_p20180410.ebuild b/app-portage/kuroo/kuroo-0.90.5_p20180410.ebuild
new file mode 100644
index 00000000000..0a8e445eadb
--- /dev/null
+++ b/app-portage/kuroo/kuroo-0.90.5_p20180410.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Graphical Portage frontend based on KDE Frameworks"
+HOMEPAGE="https://sourceforge.net/projects/kuroo/"
+SRC_URI="https://dev.gentoo.org/~asturm/distfiles/${P}.tar.xz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+COMMON_DEPEND="
+ dev-db/sqlite:3
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ kde-frameworks/kconfig:5
+ kde-frameworks/kconfigwidgets:5
+ kde-frameworks/kcoreaddons:5
+ kde-frameworks/kdelibs4support:5
+ kde-frameworks/ki18n:5
+ kde-frameworks/kio:5
+ kde-frameworks/kitemviews:5
+ kde-frameworks/knotifications:5
+ kde-frameworks/ktextwidgets:5
+ kde-frameworks/kwidgetsaddons:5
+ kde-frameworks/kxmlgui:5
+ kde-frameworks/threadweaver:5
+"
+RDEPEND="${COMMON_DEPEND}
+ app-portage/gentoolkit
+ kde-apps/kompare:5
+ kde-plasma/kde-cli-tools:5[kdesu]
+"
+DEPEND="${COMMON_DEPEND}
+ kde-frameworks/extra-cmake-modules:5
+"
+
+PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" )
+
+pkg_postinst() {
+ if ! has_version app-admin/logrotate ; then
+ elog "Installing app-admin/logrotate is recommended to keep"
+ elog "portage's summary.log size reasonable to view in the history page."
+ fi
+
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
+}
+
+pkg_postrm() {
+ xdg_mimeinfo_database_update
+ xdg_desktop_database_update
+}