28 lines
1.0 KiB
Bash
28 lines
1.0 KiB
Bash
# Template file for 'deepin-screenshot'
|
|
pkgname=deepin-screenshot
|
|
version=4.1.7
|
|
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=9817581f99eaf77664e8e6be2cf102c9b114e7bf6ccc2a72e359e17a5cd9cfe8
|
|
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
|