From f70f390b88c594971b8c8751d3c0724a24044fb9 Mon Sep 17 00:00:00 2001 From: Adam Pschorr Date: Mon, 21 Mar 2022 12:19:12 -0600 Subject: [PATCH] New package: qt6ct-0.5 --- srcpkgs/qt6ct/files/qt6ct.sh | 6 ++++++ srcpkgs/qt6ct/template | 20 ++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 srcpkgs/qt6ct/files/qt6ct.sh create mode 100644 srcpkgs/qt6ct/template diff --git a/srcpkgs/qt6ct/files/qt6ct.sh b/srcpkgs/qt6ct/files/qt6ct.sh new file mode 100644 index 000000000000..e4e7708d8a29 --- /dev/null +++ b/srcpkgs/qt6ct/files/qt6ct.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env sh + +export QT_QPA_PLATFORMTHEME=qt5ct +if [ "$XDG_SESSION_TYPE" = "wayland" ]; then + export QT_QPA_PLATFORM=wayland +fi diff --git a/srcpkgs/qt6ct/template b/srcpkgs/qt6ct/template new file mode 100644 index 000000000000..1e443df1dc20 --- /dev/null +++ b/srcpkgs/qt6ct/template @@ -0,0 +1,20 @@ +# Template file for 'qt6ct' +pkgname=qt6ct +version=0.5 +revision=1 +build_style=cmake +configure_args="-DQT_HOST_PATH=/usr" +hostmakedepends="qt6-tools-devel" +makedepends="qt6-base-devel" +depends="qt6-base qt6-svg" +short_desc="Qt6 Configuration Tool" +maintainer="Adam Pschorr " +license="BSD-2-Clause" +homepage="https://github.com/trialuser02/qt6ct" +distfiles="https://github.com/trialuser02/qt6ct/archive/refs/tags/${version}.tar.gz" +checksum=0fea8e5295e4ebebfae36f4862aaa67859238312d7a055b252cc53b281d69e0d + +post_install() { + vlicense COPYING + vinstall ${FILESDIR}/qt6ct.sh 644 etc/profile.d +}