28 lines
1.1 KiB
Bash
28 lines
1.1 KiB
Bash
# Template file for 'qt5integration'
|
|
pkgname=qt5integration
|
|
version=0.3.5
|
|
revision=1
|
|
build_style=qmake
|
|
hostmakedepends="qt5-qmake pkg-config"
|
|
makedepends="libqtxdg-devel dtkwm-devel dtkwidget-devel mtdev-devel
|
|
qt5-svg-devel qt5-x11extras-devel qt5-multimedia-devel"
|
|
depends="qt5dxcb-plugin qt5-styleplugins"
|
|
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"
|
|
checksum=553c598a506f065202090426ad18cfc26c23d2a090af18d488d059a4580521d7
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-devel qt5-x11extras-devel"
|
|
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
|
|
}
|
|
fi
|