28 lines
1.0 KiB
Bash
28 lines
1.0 KiB
Bash
# Template file for 'deepin-screenshot'
|
|
pkgname=deepin-screenshot
|
|
version=4.1.5
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config qt5-qmake"
|
|
makedepends="dtkwidget-devel dtkwm-devel libXtst-devel qt5-svg-devel
|
|
qt5-x11extras-devel xcb-util-devel"
|
|
depends="deepin-turbo qt5integration"
|
|
short_desc="Deepin Screenshot App"
|
|
maintainer="John <johnz@posteo.net>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/linuxdeepin/deepin-screenshot"
|
|
changelog="https://github.com/linuxdeepin/deepin-screenshot/blob/${version}/CHANGELOG.md"
|
|
distfiles="https://github.com/linuxdeepin/deepin-screenshot/archive/${version}.tar.gz"
|
|
checksum=b3d31c06eb998d571a10846037a345e1833d6047efe5a13cd9151c4571a3b535
|
|
CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libdtk-2.0.6/DWidget"
|
|
CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/libdtk-2.0.6/DCore"
|
|
CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/libdtk-2.0.6/DWm"
|
|
|
|
pre_configure() {
|
|
sed -i '/^set(CMAKE_CXX_FLAGS.*/d' CMakeLists.txt
|
|
}
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-x11extras-devel"
|
|
fi
|