Closes: https://bugs.gentoo.org/699636
Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
--- /dev/null
+--- a/CMakeLists.txt 2016-04-03 01:17:15.000000000 +0200
++++ b/CMakeLists.txt 2019-11-08 21:38:16.713130838 +0100
+@@ -39,11 +39,6 @@
+ add_definitions(-DPLAIN_KEYS)
+ endif()
+
+-if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)
+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror -pedantic -Wno-variadic-macros")
+- set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3")
+-endif()
+-
+ set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -D_DEBUG")
+
+ # for config.h
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit cmake-utils desktop
KEYWORDS="~amd64 ~x86"
IUSE=""
+BDEPEND="
+ dev-qt/linguist-tools:5
+"
RDEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5
x11-libs/libXtst
"
DEPEND="${RDEPEND}
- dev-qt/linguist-tools:5
x11-base/xorg-proto
"
+PATCHES=( "${FILESDIR}/${P}-cmake.patch" )
+
src_install() {
cmake-utils_src_install