mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
fix plasma-workspace missing QT_PLUGIN_PATH not set for Qt4 applications. Reference: https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1337422.html
This commit is contained in:
parent
1223b20027
commit
d2edb661ea
@ -1,13 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ "$DESKTOP_SESSION" == "plasma" ]]; then
|
||||
export QTDIR="/usr/lib/qt5"
|
||||
export PATH="usr/bin:$QTDIR/bin:$PATH"
|
||||
export QT_PLUGIN_PATH="/usr/lib/kf5/plugins:/usr/lib/qt5/plugins"
|
||||
export QT_INCLUDE_PATH="/usr/include/qt5"
|
||||
export QML2_IMPORT_PATH="/usr/lib/qml:/usr/lib/qt5/qml"
|
||||
export QML_IMPORT_PATH="$QML2_IMPORT_PATH"
|
||||
export KDE_SESSION_VERSION=5
|
||||
export KDE_FULL_SESSION=true
|
||||
fi
|
||||
|
@ -4,7 +4,7 @@ source ../plasma.conf
|
||||
pkgbase=plasma-workspace
|
||||
pkgname=('plasma-workspace' 'drkonqi')
|
||||
pkgver=${PVersion}
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc='KDE Plasma Workspace'
|
||||
arch=('x86_64')
|
||||
url='https://projects.kde.org/projects/kde/workspace/plasma-workspace'
|
||||
@ -17,9 +17,11 @@ makedepends=('extra-cmake-modules' 'kdoctools' 'kwin' 'gpsd' 'baloo-kf5' 'krunne
|
||||
groups=('plasma')
|
||||
options=("debug")
|
||||
source=("${PServer}/${pkgver}/${pkgname}-${PSubVersion}.tar.xz"
|
||||
'kde.pam')
|
||||
kde.pam
|
||||
qt4pluginpath.sh)
|
||||
sha256sums=( $(getSum ${pkgname} | head -n1)
|
||||
'44a7c7acee30547dd41d0a593486b29df4eaa5c3707287b87e23b1104de3964a')
|
||||
'44a7c7acee30547dd41d0a593486b29df4eaa5c3707287b87e23b1104de3964a'
|
||||
'498aef1b2e5573d82634e9a359c5cdcc6c8b41e803aa648e02ee02cde11b53fd')
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
@ -44,6 +46,10 @@ package_plasma-workspace() {
|
||||
|
||||
install -D "${srcdir}"/kde.pam \
|
||||
"${pkgdir}"/etc/pam.d/kde
|
||||
|
||||
# enable QT4 style integration in KDE4 apps
|
||||
install -D "${srcdir}"/qt4pluginpath.sh \
|
||||
"${pkgdir}"/etc/profile.d/qt4pluginpath.sh
|
||||
|
||||
# Remove conflicts with drkonqi
|
||||
rm "${pkgdir}"/usr/lib/drkonqi
|
||||
|
Loading…
Reference in New Issue
Block a user