mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-28 14:40:26 +00:00
fix(x11/lxqt-qtplugin): Add TERMUX_PREFIX with hardcoded paths
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://lxqt.github.io
|
||||
TERMUX_PKG_DESCRIPTION="LXQt platform integration plugin for Qt 5"
|
||||
TERMUX_PKG_DESCRIPTION="LXQt platform integration plugin for Qt"
|
||||
TERMUX_PKG_LICENSE="LGPL-2.1"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION="2.0.0"
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_SRCURL="https://github.com/lxqt/lxqt-qtplugin/releases/download/${TERMUX_PKG_VERSION}/lxqt-qtplugin-${TERMUX_PKG_VERSION}.tar.xz"
|
||||
TERMUX_PKG_SHA256=cd9563cfad565d1e3b3fbf2fee2224824f3c76d6b97fec868e332234cb245d8e
|
||||
TERMUX_PKG_DEPENDS="libc++, libdbusmenu-lxqt, libfm-qt, libqtxdg, qt6-qtbase"
|
||||
|
||||
11
x11-packages/lxqt-qtplugin/src-lxqtplatformtheme.cpp.patch
Normal file
11
x11-packages/lxqt-qtplugin/src-lxqtplatformtheme.cpp.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/src/lxqtplatformtheme.cpp
|
||||
+++ b/src/lxqtplatformtheme.cpp
|
||||
@@ -516,7 +516,7 @@
|
||||
|
||||
QString xdgDataDirs = QFile::decodeName(qgetenv("XDG_DATA_DIRS"));
|
||||
if (xdgDataDirs.isEmpty())
|
||||
- xdgDataDirs = QLatin1String("/usr/local/share/:/usr/share/");
|
||||
+ xdgDataDirs = QLatin1String("@TERMUX_PREFIX@/local/share/:@TERMUX_PREFIX@/share/");
|
||||
xdgDirs.append(xdgDataDirs);
|
||||
|
||||
for (const auto &s: xdgDirs) {
|
||||
Reference in New Issue
Block a user