1 |
commit: 29ca21254bac80a023a11a51e61d029853fc4587 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 31 22:29:58 2016 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 31 22:29:58 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29ca2125 |
7 |
|
8 |
x11-misc/flow-pomodoro: Version bump to 1.1.2 |
9 |
|
10 |
Package-Manager: portage-2.3.2 |
11 |
|
12 |
x11-misc/flow-pomodoro/Manifest | 1 + |
13 |
.../files/flow-pomodoro-1.1.2-compiler.patch | 30 ++++++++++++++++++++++ |
14 |
x11-misc/flow-pomodoro/flow-pomodoro-1.1.2.ebuild | 25 ++++++++++++++++++ |
15 |
3 files changed, 56 insertions(+) |
16 |
|
17 |
diff --git a/x11-misc/flow-pomodoro/Manifest b/x11-misc/flow-pomodoro/Manifest |
18 |
index 74abdbc..11b8802 100644 |
19 |
--- a/x11-misc/flow-pomodoro/Manifest |
20 |
+++ b/x11-misc/flow-pomodoro/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST flow-pomodoro-1.1.1.tar.gz 684633 SHA256 311d22dcfe57dd7c236a2632368abdc667f42aaf7f1d713393d9dbbc12c3a855 SHA512 9a97d553b7a7ec5c32c0b6002e9f194fc297ef3fc18cb41d3ae7ca602d42d1313b1602e094f669f558ab15b7519c880dd12867724d5b2324f6e2d34ee409496d WHIRLPOOL f3183d0d3542f7fe28f97ed391dcc5e308cb783e27ca6b204623f14cefa722f2f28eda2d40203dbd0ba4c28c490c9bfc7861ba331c40dcd69152e126ec91828a |
23 |
+DIST flow-pomodoro-1.1.2.tar.gz 686290 SHA256 96786f4fcb90efadbb129bf40f14cf143f2ea9137101d2c24bdcab00d2357e11 SHA512 73a37e5c63a14777b21bef61cd81003548119670b74ae9de2eb5fff4cd27f159429c9aded06638bd77e52967a0a2cfb69f4055709ed136b5ef39a4d3ccd90ab7 WHIRLPOOL f51d74579d26565e00cc57b49070f2a1e507299fbada924197963606ed5ce598168a0964ddfb755184227244eff2f97ae6b1d2780c376685b0b5b1faa7192f8b |
24 |
|
25 |
diff --git a/x11-misc/flow-pomodoro/files/flow-pomodoro-1.1.2-compiler.patch b/x11-misc/flow-pomodoro/files/flow-pomodoro-1.1.2-compiler.patch |
26 |
new file mode 100644 |
27 |
index 00000000..e15e32f |
28 |
--- /dev/null |
29 |
+++ b/x11-misc/flow-pomodoro/files/flow-pomodoro-1.1.2-compiler.patch |
30 |
@@ -0,0 +1,30 @@ |
31 |
+From 42022f4989958d87e27d2dd5029d5cf8d0a42efa Mon Sep 17 00:00:00 2001 |
32 |
+From: Sergio Martins <iamsergio@×××××.com> |
33 |
+Date: Sun, 30 Oct 2016 22:50:47 +0000 |
34 |
+Subject: [PATCH] Fix build with older gcc compilers |
35 |
+ |
36 |
+--- |
37 |
+ CMakeLists.txt | 10 ++++++++++ |
38 |
+ 1 file changed, 10 insertions(+) |
39 |
+ |
40 |
+diff --git a/CMakeLists.txt b/CMakeLists.txt |
41 |
+index 010333f..06a4a77 100644 |
42 |
+--- a/CMakeLists.txt |
43 |
++++ b/CMakeLists.txt |
44 |
+@@ -14,6 +14,16 @@ include_directories(${Qt5Gui_INCLUDES}) |
45 |
+ |
46 |
+ set(CMAKE_CXX_FLAGS "${Qt5Gui_EXECUTABLE_COMPILE_FLAGS}") |
47 |
+ |
48 |
++include(CheckCXXCompilerFlag) |
49 |
++CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORTS_CXX11) |
50 |
++CHECK_CXX_COMPILER_FLAG("-std=c++0x" COMPILER_SUPPORTS_CXX0X) |
51 |
++if(COMPILER_SUPPORTS_CXX11) |
52 |
++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") |
53 |
++elseif(COMPILER_SUPPORTS_CXX0X) |
54 |
++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x") |
55 |
++else() |
56 |
++ message(STATUS "The compiler ${CMAKE_CXX_COMPILER} has no C++11 support. Please use a different C++ compiler.") |
57 |
++endif() |
58 |
+ |
59 |
+ add_subdirectory(src) |
60 |
+ add_subdirectory(plugins) |
61 |
|
62 |
diff --git a/x11-misc/flow-pomodoro/flow-pomodoro-1.1.2.ebuild b/x11-misc/flow-pomodoro/flow-pomodoro-1.1.2.ebuild |
63 |
new file mode 100644 |
64 |
index 00000000..b03559f |
65 |
--- /dev/null |
66 |
+++ b/x11-misc/flow-pomodoro/flow-pomodoro-1.1.2.ebuild |
67 |
@@ -0,0 +1,25 @@ |
68 |
+# Copyright 1999-2016 Gentoo Foundation |
69 |
+# Distributed under the terms of the GNU General Public License v2 |
70 |
+# $Id$ |
71 |
+ |
72 |
+EAPI=6 |
73 |
+ |
74 |
+inherit cmake-utils |
75 |
+ |
76 |
+DESCRIPTION="A pomodoro app that blocks distractions while you work" |
77 |
+HOMEPAGE="https://github.com/iamsergio/flow-pomodoro" |
78 |
+SRC_URI="https://github.com/iamsergio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
79 |
+ |
80 |
+LICENSE="GPL-2" |
81 |
+SLOT="0" |
82 |
+KEYWORDS="~amd64" |
83 |
+IUSE="" |
84 |
+ |
85 |
+DEPEND="dev-qt/qtcore:5 |
86 |
+ dev-qt/qtdbus:5 |
87 |
+ dev-qt/qtdeclarative:5 |
88 |
+ dev-qt/qtgui:5 |
89 |
+ dev-qt/qtquickcontrols:5 |
90 |
+ dev-qt/qtnetwork:5 |
91 |
+ dev-qt/qtwidgets:5" |
92 |
+RDEPEND="${DEPEND}" |