28 lines
1.0 KiB
Bash
28 lines
1.0 KiB
Bash
# Template file for 'deepin-screenshot'
|
|
pkgname=deepin-screenshot
|
|
version=5.0.0
|
|
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=1d793a9a7d1dedbf0bf36970035d5d3c7888cad195ae7e1ccd77e47b5f9c37b0
|
|
CXXFLAGS="-I${XBPS_CROSS_BASE}/usr/include/libdtk-2.0.16/DWidget"
|
|
CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/libdtk-2.0.16/DCore"
|
|
CXXFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/libdtk-2.0.16/DWm"
|
|
|
|
pre_configure() {
|
|
sed -i '/^set(CMAKE_CXX_FLAGS.*/d' CMakeLists.txt
|
|
}
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-x11extras-devel"
|
|
fi
|