Skip to content

Commit

Permalink
qt6ct: update to 0.9.
Browse files Browse the repository at this point in the history
closes #46850
closes #49833
  • Loading branch information
classabbyamp committed Apr 16, 2024
1 parent 6793549 commit 820ed81
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 22 deletions.
4 changes: 3 additions & 1 deletion srcpkgs/qt6ct/files/qt6ct.sh
Original file line number Diff line number Diff line change
@@ -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
26 changes: 8 additions & 18 deletions srcpkgs/qt6ct/patches/lib32.patch
Original file line number Diff line number Diff line change
@@ -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}")
6 changes: 3 additions & 3 deletions srcpkgs/qt6ct/template
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -11,7 +11,7 @@ maintainer="Adam Pschorr <[email protected]>"
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
Expand Down

0 comments on commit 820ed81

Please sign in to comment.