You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.0 KiB
52 lines
1.0 KiB
3 years ago
|
# Copyright 2021 Gentoo Authors
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
|
EAPI=7
|
||
|
|
||
|
inherit cmake desktop 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/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||
|
|
||
3 years ago
|
LICENSE="Apache-2.0 Free-Art-1.3 GPL-3+"
|
||
3 years ago
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
IUSE=""
|
||
|
|
||
|
DEPEND="
|
||
|
dev-qt/qtcore:5
|
||
|
dev-qt/qtgui:5
|
||
|
=dev-qt/qtsingleapplication-2.6*[qt5(+),X]
|
||
|
dev-qt/qtwidgets:5
|
||
|
dev-qt/qtsvg:5
|
||
|
dev-qt/qtnetwork:5
|
||
|
dev-qt/qtdbus:5
|
||
|
sys-apps/dbus
|
||
|
dev-libs/spdlog
|
||
|
"
|
||
|
BDEPEND="
|
||
|
dev-qt/linguist-tools:5
|
||
|
"
|
||
|
RDEPEND="${DEPEND}"
|
||
|
PATCHES=(
|
||
|
"${FILESDIR}/${P}-unbundle-qtsingleapplication.patch"
|
||
3 years ago
|
"${FILESDIR}/${P}-dont-force-ccache.patch"
|
||
3 years ago
|
)
|
||
|
|
||
|
src_prepare() {
|
||
|
rm -r external/spdlog || die
|
||
|
rm -r external/singleapplication || die
|
||
|
|
||
|
cmake_src_prepare
|
||
|
}
|
||
|
|
||
|
src_configure() {
|
||
|
local mycmakeargs=(
|
||
|
-DUSE_EXTERNAL_SPDLOG=1
|
||
|
-DUSE_EXTERNAL_SINGLEAPPLICATION=1
|
||
|
)
|
||
|
|
||
|
cmake_src_configure
|
||
|
}
|