parent
6793549d5a
commit
820ed81922
|
@ -1,6 +1,8 @@
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
export QT_QPA_PLATFORMTHEME=qt5ct
|
if [ "$XDG_CURRENT_DESKTOP" != "KDE" ]; then
|
||||||
|
export QT_QPA_PLATFORMTHEME=qt5ct
|
||||||
|
fi
|
||||||
if [ "$XDG_SESSION_TYPE" = "wayland" ]; then
|
if [ "$XDG_SESSION_TYPE" = "wayland" ]; then
|
||||||
export QT_QPA_PLATFORM=wayland
|
export QT_QPA_PLATFORM=wayland
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,21 +1,11 @@
|
||||||
--- a/CMakeLists.txt 2023-03-12 12:57:50.000000000 +0100
|
--- a/CMakeLists.txt 2024-04-13 23:50:30.592858658 +0200
|
||||||
+++ - 2023-10-31 20:41:33.141463182 +0100
|
+++ b/CMakeLists.txt 2024-04-13 23:50:16.419859312 +0200
|
||||||
@@ -40,17 +40,7 @@
|
@@ -51,7 +51,7 @@
|
||||||
message(FATAL_ERROR "Could NOT find lrelease executable")
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
-get_filename_component(QT_QTPATHS_EXECUTABLE ${QT_LRELEASE_EXECUTABLE} DIRECTORY)
|
#execute_process(COMMAND ${QT_QTPATHS_EXECUTABLE} -query QT_INSTALL_PLUGINS OUTPUT_VARIABLE PLUGINDIR OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||||
-set(QT_QTPATHS_EXECUTABLE ${QT_QTPATHS_EXECUTABLE}/qtpaths)
|
|
||||||
-
|
|
||||||
-if(EXISTS ${QT_QTPATHS_EXECUTABLE})
|
|
||||||
- message(STATUS "Found qtpaths executable: " ${QT_QTPATHS_EXECUTABLE})
|
|
||||||
-else()
|
|
||||||
- message(FATAL_ERROR "Could NOT find qtpaths executable")
|
|
||||||
-endif()
|
|
||||||
-
|
|
||||||
-#execute_process(COMMAND ${QT_QTPATHS_EXECUTABLE} -query QT_INSTALL_PLUGINS OUTPUT_VARIABLE PLUGINDIR OUTPUT_STRIP_TRAILING_WHITESPACE)
|
|
||||||
-execute_process(COMMAND ${QT_QTPATHS_EXECUTABLE} --plugin-dir OUTPUT_VARIABLE PLUGINDIR OUTPUT_STRIP_TRAILING_WHITESPACE)
|
-execute_process(COMMAND ${QT_QTPATHS_EXECUTABLE} --plugin-dir OUTPUT_VARIABLE PLUGINDIR OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||||
+set(PLUGINDIR /usr/${QT6_INSTALL_PLUGINS})
|
+set(PLUGINDIR /usr/${QT6_INSTALL_PLUGINS})
|
||||||
message(STATUS "Plugin path: " ${PLUGINDIR})
|
|
||||||
|
if(PLUGINDIR)
|
||||||
message(STATUS "Generating translations ...")
|
message(STATUS "Plugin path: ${PLUGINDIR}")
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'qt6ct'
|
# Template file for 'qt6ct'
|
||||||
pkgname=qt6ct
|
pkgname=qt6ct
|
||||||
version=0.8
|
version=0.9
|
||||||
revision=2
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="qt6-tools qt6-base"
|
hostmakedepends="qt6-tools qt6-base"
|
||||||
makedepends="qt6-base-devel"
|
makedepends="qt6-base-devel"
|
||||||
|
@ -11,7 +11,7 @@ maintainer="Adam Pschorr <adampschorr13@aol.com>"
|
||||||
license="BSD-2-Clause"
|
license="BSD-2-Clause"
|
||||||
homepage="https://github.com/trialuser02/qt6ct"
|
homepage="https://github.com/trialuser02/qt6ct"
|
||||||
distfiles="https://github.com/trialuser02/qt6ct/archive/refs/tags/${version}.tar.gz"
|
distfiles="https://github.com/trialuser02/qt6ct/archive/refs/tags/${version}.tar.gz"
|
||||||
checksum=ca3706770cbdbce769ee4393de9f7469be043810fe40283690612f5f6552018a
|
checksum=aa49c4fb51a82dd6947cd9c8dee9b3a1fdd4fbbc9f3c8c5c2d33fa1de9e8826e
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
|
|
Loading…
Reference in New Issue