mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
media-gfx/flameshot: add 13.3.0
* Unbundle Qt-Color-Widgets * Hookup Imgur support * := for kdsingleapplication Bug: https://bugs.gentoo.org/969387 Bug: https://bugs.gentoo.org/967314 Signed-off-by: Alfred Wingate <parona@protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/45830 Closes: https://github.com/gentoo/gentoo/pull/45830 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
DIST flameshot-13.1.0.tar.gz 16028319 BLAKE2B 8d17073c1dde9bbf5703c71f9004360059b716f5311d3f3f64b13bc9089929c46c01fb2901e94e5fb5bc64a6490ce9c9fdece5e69df2fd5fd339faac0c9d7ccd SHA512 d91c01c82e89c17a5c913fc90521867029f68985bd83883f904c1be8b4ffd548302954d6d36bce322f292419cf1434e597e8e23618eb0769b28cc48a267ce231
|
||||
DIST flameshot-13.3.0.tar.gz 16081429 BLAKE2B 2d601ff90be4c385c127d2df93fc66aa210f008fac276127488bb6e07bd05996375e39a1e832212bfcc37ff7c356c1066a04398f33c276f6d6ab441cab041fe7 SHA512 0f991b58e6e828aceb94d1e7eb4e1b5d946d94ad6434ee5324b1177ec3d235298887b767c6c671124ea82d56e24a05909a21cf13a29777bbcd2358f14a7f2362
|
||||
DIST flameshot-qtcolorwidgets-84910784.tar.bz2 209064 BLAKE2B b83bd685ac0a90e690dc3388147604b9499c73d29c5eec27418f6ff5959e20fbfbb1a4b3d6bcc83f9da5d79e6479ef49d02b43054e3bed0fbcc3365afe56d0d1 SHA512 57d838cc021dc09fff2605b5f7a1ea9181c98b4a28ad093d09ab220241af784a42c6c12daa2ed3cf2272e637572f5801fa9ad38c5c8a36bbd9fc9e71b2ef0c12
|
||||
|
||||
@@ -0,0 +1,55 @@
|
||||
# Copyright 2021-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake flag-o-matic xdg
|
||||
|
||||
DESCRIPTION="Powerful yet simple to use screenshot software"
|
||||
HOMEPAGE="https://flameshot.org https://github.com/flameshot-org/flameshot"
|
||||
SRC_URI="
|
||||
https://github.com/flameshot-org/flameshot/archive/refs/tags/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0 Free-Art-1.3 GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="imgur wayland"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/kdsingleapplication:=
|
||||
dev-qt/qtbase:6[dbus,gui,network,widgets]
|
||||
dev-qt/qtsvg:6
|
||||
gui-libs/qt-color-widgets:=
|
||||
sys-apps/dbus
|
||||
wayland? ( kde-frameworks/kguiaddons:6 )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
dev-qt/qttools:6[linguist]
|
||||
"
|
||||
|
||||
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=(
|
||||
-DCMAKE_DISABLE_FIND_PACKAGE_Git=ON
|
||||
-DDISABLE_UPDATE_CHECKER=ON
|
||||
-DENABLE_CACHE=0
|
||||
-DENABLE_IMGUR=$(usex imgur)
|
||||
-DFETCHCONTENT_TRY_FIND_PACKAGE_MODE=ALWAYS
|
||||
-DUSE_BUNDLED_KDSINGLEAPPLICATION=OFF
|
||||
-DUSE_KDSINGLEAPPLICATION=ON
|
||||
-DUSE_WAYLAND_CLIPBOARD=$(usex wayland)
|
||||
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
@@ -9,6 +9,9 @@
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="imgur">Enable Imgur uploader</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">flameshot-org/flameshot</remote-id>
|
||||
</upstream>
|
||||
|
||||
Reference in New Issue
Block a user