x11-misc/flow-pomodoro: Fix popups with Qt 5.12, EAPI-7 bump

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2019-05-15 23:21:23 +02:00
parent 8ee1f192db
commit d4cd7d9dc3
2 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
From 53dfa7dd18290225a62b1cfd10b5566ab90a3fe8 Mon Sep 17 00:00:00 2001
From: Sergio Martins <iamsergio@gmail.com>
Date: Fri, 17 Aug 2018 16:22:04 +0100
Subject: [PATCH] Fix popups with Qt 5.12 (QTBUG-70031)
---
src/qml/ChoicePopup.qml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/qml/ChoicePopup.qml b/src/qml/ChoicePopup.qml
index b66359d..6418b54 100644
--- a/src/qml/ChoicePopup.qml
+++ b/src/qml/ChoicePopup.qml
@@ -92,7 +92,7 @@ Item {
radius: 2 * _controller.dpiFactor
Column {
- id: column
+ id: column1
anchors.fill: parent
Rectangle {
@@ -136,8 +136,8 @@ Item {
model: root.model
Choice {
objectName: "taskMenuChoice"
- anchors.left: column.left
- anchors.right: column.right
+ anchors.left: column1.left
+ anchors.right: column1.right
topLineVisible: index > 0
height: root.delegateHeight
fontAwesomeIconCode: iconRole

View File

@@ -0,0 +1,28 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake-utils
DESCRIPTION="A pomodoro app that blocks distractions while you work"
HOMEPAGE="https://github.com/iamsergio/flow-pomodoro"
SRC_URI="https://github.com/iamsergio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
DEPEND="
dev-qt/qtcore:5
dev-qt/qtdbus:5
dev-qt/qtdeclarative:5
dev-qt/qtgui:5
dev-qt/qtquickcontrols:5
dev-qt/qtnetwork:5
dev-qt/qtwidgets:5
"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}/${P}-qt-5.12.patch" )