void-packages/srcpkgs/qt5integration/template

28 lines
1.1 KiB
Bash
Raw Normal View History

2018-05-10 14:48:10 +00:00
# Template file for 'qt5integration'
pkgname=qt5integration
2018-08-28 17:37:19 +00:00
version=0.3.5
2018-05-10 14:48:10 +00:00
revision=1
build_style=qmake
hostmakedepends="qt5-qmake pkg-config"
makedepends="libqtxdg-devel dtkwm-devel dtkwidget-devel mtdev-devel
2018-07-31 09:27:39 +00:00
qt5-svg-devel qt5-x11extras-devel qt5-multimedia-devel"
2018-07-20 22:07:02 +00:00
depends="qt5dxcb-plugin qt5-styleplugins"
2018-05-10 14:48:10 +00:00
short_desc="Qt platform theme integration plugins for Deepin Desktop Environment"
maintainer="John <johnz@posteo.net>"
license="GPL-3.0-or-later"
homepage="https://github.com/linuxdeepin/qt5integration"
changelog="https://github.com/linuxdeepin/qt5integration/blob/${version}/CHANGELOG.md"
distfiles="https://github.com/linuxdeepin/qt5integration/archive/${version}.tar.gz"
2018-08-28 17:37:19 +00:00
checksum=553c598a506f065202090426ad18cfc26c23d2a090af18d488d059a4580521d7
2018-05-10 14:48:10 +00:00
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-devel qt5-x11extras-devel"
2018-07-20 22:07:02 +00:00
pre_configure() {
_qtxdg_version=$(PKG_CONFIG_PATH=${XBPS_CROSS_BASE}/usr/lib/pkgconfig\
pkg-config --modversion Qt5XdgIconLoader)
echo $_qtxdg_version
sed -i -e "s%INCLUDEPATH +=.*%INCLUDEPATH += ${XBPS_CROSS_BASE}/usr/include/qt5xdgiconloader/${_qtxdg_version}%g"\
platformthemeplugin/qt5deepintheme-plugin.pro
}
2018-05-10 14:48:10 +00:00
fi