qt6ct: update to 0.9.

closes #46850
closes #49833
This commit is contained in:
classabbyamp 2024-04-16 15:44:46 -04:00
parent 6793549d5a
commit 820ed81922
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5
3 changed files with 14 additions and 22 deletions

View File

@ -1,6 +1,8 @@
#!/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
export QT_QPA_PLATFORM=wayland
fi

View File

@ -1,21 +1,11 @@
--- a/CMakeLists.txt 2023-03-12 12:57:50.000000000 +0100
+++ - 2023-10-31 20:41:33.141463182 +0100
@@ -40,17 +40,7 @@
message(FATAL_ERROR "Could NOT find lrelease executable")
--- a/CMakeLists.txt 2024-04-13 23:50:30.592858658 +0200
+++ b/CMakeLists.txt 2024-04-13 23:50:16.419859312 +0200
@@ -51,7 +51,7 @@
endif()
-get_filename_component(QT_QTPATHS_EXECUTABLE ${QT_LRELEASE_EXECUTABLE} DIRECTORY)
-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} -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)
+set(PLUGINDIR /usr/${QT6_INSTALL_PLUGINS})
message(STATUS "Plugin path: " ${PLUGINDIR})
message(STATUS "Generating translations ...")
if(PLUGINDIR)
message(STATUS "Plugin path: ${PLUGINDIR}")

View File

@ -1,7 +1,7 @@
# Template file for 'qt6ct'
pkgname=qt6ct
version=0.8
revision=2
version=0.9
revision=1
build_style=cmake
hostmakedepends="qt6-tools qt6-base"
makedepends="qt6-base-devel"
@ -11,7 +11,7 @@ maintainer="Adam Pschorr <adampschorr13@aol.com>"
license="BSD-2-Clause"
homepage="https://github.com/trialuser02/qt6ct"
distfiles="https://github.com/trialuser02/qt6ct/archive/refs/tags/${version}.tar.gz"
checksum=ca3706770cbdbce769ee4393de9f7469be043810fe40283690612f5f6552018a
checksum=aa49c4fb51a82dd6947cd9c8dee9b3a1fdd4fbbc9f3c8c5c2d33fa1de9e8826e
post_install() {
vlicense COPYING