commit:     29ca21254bac80a023a11a51e61d029853fc4587
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 31 22:29:58 2016 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Mon Oct 31 22:29:58 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29ca2125

x11-misc/flow-pomodoro: Version bump to 1.1.2

Package-Manager: portage-2.3.2

 x11-misc/flow-pomodoro/Manifest                    |  1 +
 .../files/flow-pomodoro-1.1.2-compiler.patch       | 30 ++++++++++++++++++++++
 x11-misc/flow-pomodoro/flow-pomodoro-1.1.2.ebuild  | 25 ++++++++++++++++++
 3 files changed, 56 insertions(+)

diff --git a/x11-misc/flow-pomodoro/Manifest b/x11-misc/flow-pomodoro/Manifest
index 74abdbc..11b8802 100644
--- a/x11-misc/flow-pomodoro/Manifest
+++ b/x11-misc/flow-pomodoro/Manifest
@@ -1 +1,2 @@
 DIST flow-pomodoro-1.1.1.tar.gz 684633 SHA256 
311d22dcfe57dd7c236a2632368abdc667f42aaf7f1d713393d9dbbc12c3a855 SHA512 
9a97d553b7a7ec5c32c0b6002e9f194fc297ef3fc18cb41d3ae7ca602d42d1313b1602e094f669f558ab15b7519c880dd12867724d5b2324f6e2d34ee409496d
 WHIRLPOOL 
f3183d0d3542f7fe28f97ed391dcc5e308cb783e27ca6b204623f14cefa722f2f28eda2d40203dbd0ba4c28c490c9bfc7861ba331c40dcd69152e126ec91828a
+DIST flow-pomodoro-1.1.2.tar.gz 686290 SHA256 
96786f4fcb90efadbb129bf40f14cf143f2ea9137101d2c24bdcab00d2357e11 SHA512 
73a37e5c63a14777b21bef61cd81003548119670b74ae9de2eb5fff4cd27f159429c9aded06638bd77e52967a0a2cfb69f4055709ed136b5ef39a4d3ccd90ab7
 WHIRLPOOL 
f51d74579d26565e00cc57b49070f2a1e507299fbada924197963606ed5ce598168a0964ddfb755184227244eff2f97ae6b1d2780c376685b0b5b1faa7192f8b

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
new file mode 100644
index 00000000..e15e32f
--- /dev/null
+++ b/x11-misc/flow-pomodoro/files/flow-pomodoro-1.1.2-compiler.patch
@@ -0,0 +1,30 @@
+From 42022f4989958d87e27d2dd5029d5cf8d0a42efa Mon Sep 17 00:00:00 2001
+From: Sergio Martins <[email protected]>
+Date: Sun, 30 Oct 2016 22:50:47 +0000
+Subject: [PATCH] Fix build with older gcc compilers
+
+---
+ CMakeLists.txt | 10 ++++++++++
+ 1 file changed, 10 insertions(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 010333f..06a4a77 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -14,6 +14,16 @@ include_directories(${Qt5Gui_INCLUDES})
+ 
+ set(CMAKE_CXX_FLAGS "${Qt5Gui_EXECUTABLE_COMPILE_FLAGS}")
+ 
++include(CheckCXXCompilerFlag)
++CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORTS_CXX11)
++CHECK_CXX_COMPILER_FLAG("-std=c++0x" COMPILER_SUPPORTS_CXX0X)
++if(COMPILER_SUPPORTS_CXX11)
++    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
++elseif(COMPILER_SUPPORTS_CXX0X)
++    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
++else()
++    message(STATUS "The compiler ${CMAKE_CXX_COMPILER} has no C++11 support. 
Please use a different C++ compiler.")
++endif()
+ 
+ add_subdirectory(src)
+ add_subdirectory(plugins)

diff --git a/x11-misc/flow-pomodoro/flow-pomodoro-1.1.2.ebuild 
b/x11-misc/flow-pomodoro/flow-pomodoro-1.1.2.ebuild
new file mode 100644
index 00000000..b03559f
--- /dev/null
+++ b/x11-misc/flow-pomodoro/flow-pomodoro-1.1.2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+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}"

Reply via email to