summaryrefslogtreecommitdiff
path: root/media-gfx/flameshot/flameshot-12.1.0-r2.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-12 06:46:08 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-12 06:46:08 +0000
commitc6e62298405d39e635c0d8dd6e026c8cb667a478 (patch)
tree797bd877e6cc2cdcfe3e39ecfedf34781075fc86 /media-gfx/flameshot/flameshot-12.1.0-r2.ebuild
parent2c3b9bbdb114cc13b6ef8e0e5933c9e374fca8b6 (diff)
gentoo auto-resync : 12:03:2024 - 06:46:08
Diffstat (limited to 'media-gfx/flameshot/flameshot-12.1.0-r2.ebuild')
-rw-r--r--media-gfx/flameshot/flameshot-12.1.0-r2.ebuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/media-gfx/flameshot/flameshot-12.1.0-r2.ebuild b/media-gfx/flameshot/flameshot-12.1.0-r2.ebuild
index c24b2ab6ac05..b01a0e3e9fc2 100644
--- a/media-gfx/flameshot/flameshot-12.1.0-r2.ebuild
+++ b/media-gfx/flameshot/flameshot-12.1.0-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2021-2023 Gentoo Authors
+# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit cmake xdg
+inherit cmake flag-o-matic xdg
DESCRIPTION="Powerful yet simple to use screenshot software"
HOMEPAGE="https://flameshot.org https://github.com/flameshot-org/flameshot"
@@ -37,6 +37,14 @@ src_prepare() {
}
src_configure() {
+ # -Werror=strict-aliasing
+ # https://bugs.gentoo.org/859613
+ # https://github.com/flameshot-org/flameshot/issues/3531
+ #
+ # Do not trust with LTO either
+ append-flags -fno-strict-aliasing
+ filter-lto
+
local mycmakeargs=(
-DUSE_EXTERNAL_SINGLEAPPLICATION=1
-DENABLE_CACHE=0