deepin-screenshot: update to 4.1.4.

This commit is contained in:
John 2018-11-18 12:15:37 +01:00 committed by Johannes
parent fd3f78f359
commit 931cb45a78

View file

@ -1,19 +1,26 @@
# Template file for 'deepin-screenshot'
pkgname=deepin-screenshot
version=4.1.1
version=4.1.4
revision=1
build_style=qmake
hostmakedepends="qt5-qmake qt5-host-tools pkg-config"
makedepends="qt5-svg-devel xcb-util-devel dtkwidget-devel dtkwm-devel
qt5-x11extras-devel libXtst-devel"
depends="qt5integration deepin-turbo"
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=1e7fa3cd31734f5a4079b3b55a21589a15ef886b092b0c6c36cec5dcae527517
checksum=8070a752c776e7442db3bd0f328416f2628c1e91be8b23d39afdf0cda88f685c
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"