summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-04-03 16:58:34 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2018-04-03 17:17:52 +0200
commit0807a4346d31bdf070e6140bb9e580401ac387c6 (patch)
tree97caee4e7a069c8365c7d4ed7d4130f76af58108 /app-office
parentkde-misc/kmarkdownwebview: Drop 0.5.1 (diff)
downloadgentoo-0807a4346d31bdf070e6140bb9e580401ac387c6.tar.gz
gentoo-0807a4346d31bdf070e6140bb9e580401ac387c6.tar.bz2
gentoo-0807a4346d31bdf070e6140bb9e580401ac387c6.zip
app-office/kraft: 0.80 version bump
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'app-office')
-rw-r--r--app-office/kraft/Manifest1
-rw-r--r--app-office/kraft/files/kraft-0.80-qt-5.11.patch63
-rw-r--r--app-office/kraft/kraft-0.80.ebuild51
3 files changed, 115 insertions, 0 deletions
diff --git a/app-office/kraft/Manifest b/app-office/kraft/Manifest
index d510cc3feb69..804a135af339 100644
--- a/app-office/kraft/Manifest
+++ b/app-office/kraft/Manifest
@@ -1 +1,2 @@
+DIST kraft-0.80.tar.gz 673818 BLAKE2B 80d9608c458b793e7f1fe2f568243c72512ff9bd7a4e3b4ba8232d7b47b890e60b6e93cd0fcf2204027abc942198f6f2f5d10248e77b2f4729d3345631883dbc SHA512 a8a1496db434f899e293c765a9733bfb2d5ec6d461da3a3d805f52befa4e71526a3b5f21a7edf214d4946b8d409133dac77050452db97fb46256377960649fe9
DIST kraft-0.80_beta11.tar.gz 674372 BLAKE2B f9b59640bc5c875c7cd2cc56dd02d6f66b4932533f7548dce66c305fca111653ce3ae6f7128107e926c9a2d14c79f5c105f0986c72130a4eb099af0b0fd4b25a SHA512 bdb521d9213df5f191824cfff00b91b755eb67a0ce596b2ce10bc16ef134b6d10887fde355169f88aa1b11303e23af06e6c938d76e09519d676bbd49131a99f0
diff --git a/app-office/kraft/files/kraft-0.80-qt-5.11.patch b/app-office/kraft/files/kraft-0.80-qt-5.11.patch
new file mode 100644
index 000000000000..33a6a769bd5f
--- /dev/null
+++ b/app-office/kraft/files/kraft-0.80-qt-5.11.patch
@@ -0,0 +1,63 @@
+From 29cd92c31705fbe63dfb324b5beb3758967dc900 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Tue, 3 Apr 2018 17:05:06 +0200
+Subject: [PATCH] Fix build with Qt 5.11
+
+---
+ src/flostempldialog.cpp | 1 +
+ src/importitemdialog.cpp | 1 +
+ src/materialkatalogview.cpp | 1 +
+ src/setupassistant.cpp | 1 +
+ 4 files changed, 4 insertions(+)
+
+diff --git a/src/flostempldialog.cpp b/src/flostempldialog.cpp
+index 420b10e..e705ec7 100644
+--- a/src/flostempldialog.cpp
++++ b/src/flostempldialog.cpp
+@@ -16,6 +16,7 @@
+ ***************************************************************************/
+
+ // include files for Qt
++#include <QButtonGroup>
+ #include <QRadioButton>
+ #include <QLabel>
+ #include <QString>
+diff --git a/src/importitemdialog.cpp b/src/importitemdialog.cpp
+index a02c7d4..70d524e 100644
+--- a/src/importitemdialog.cpp
++++ b/src/importitemdialog.cpp
+@@ -19,6 +19,7 @@
+
+ // include files for Qt
+ #include <QLabel>
++#include <QButtonGroup>
+ #include <QComboBox>
+ #include <QCheckBox>
+ #include <QToolTip>
+diff --git a/src/materialkatalogview.cpp b/src/materialkatalogview.cpp
+index 76c0b2b..fd0f277 100644
+--- a/src/materialkatalogview.cpp
++++ b/src/materialkatalogview.cpp
+@@ -15,6 +15,7 @@
+ * *
+ ***************************************************************************/
+
++#include <QHeaderView>
+ #include <QLayout>
+ #include <QLabel>
+ #include <QSplitter>
+diff --git a/src/setupassistant.cpp b/src/setupassistant.cpp
+index 1ea1d5b..4dd0ef3 100644
+--- a/src/setupassistant.cpp
++++ b/src/setupassistant.cpp
+@@ -17,6 +17,7 @@
+ #include <QtGui>
+
+ #include <QDebug>
++#include <QTabWidget>
+
+ #include <kcontacts/address.h>
+ #include <kcontacts/vcardconverter.h>
+--
+2.17.0
+
diff --git a/app-office/kraft/kraft-0.80.ebuild b/app-office/kraft/kraft-0.80.ebuild
new file mode 100644
index 000000000000..ea0cd15a44f1
--- /dev/null
+++ b/app-office/kraft/kraft-0.80.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_HANDBOOK="forceoptional"
+inherit kde5
+
+DESCRIPTION="Software to manage quotes and invoices in small enterprises"
+HOMEPAGE="http://www.volle-kraft-voraus.de/"
+SRC_URI="https://github.com/dragotin/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="pim"
+
+DEPEND="
+ $(add_frameworks_dep kconfig)
+ $(add_frameworks_dep kconfigwidgets)
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kwidgetsaddons)
+ $(add_frameworks_dep kxmlgui)
+ $(add_kdeapps_dep kcontacts)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtsql)
+ $(add_qt_dep qtwidgets)
+ $(add_qt_dep qtxml)
+ dev-cpp/ctemplate
+ pim? (
+ $(add_kdeapps_dep akonadi)
+ $(add_kdeapps_dep akonadi-contacts)
+ )
+"
+RDEPEND="${DEPEND}
+ !app-office/kraft:4
+"
+
+DOCS=( AUTHORS Changes.txt README.md Releasenotes.txt TODO )
+
+PATCHES=( "${FILESDIR}/${P}-qt-5.11.patch" )
+
+S="${WORKDIR}/${PN}-${PV/_/}"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package pim KF5Akonadi)
+ $(cmake-utils_use_find_package pim KF5AkonadiContact)
+ )
+
+ kde5_src_configure
+}