package qt5ct, closing #401
This commit is contained in:
parent
f008404b31
commit
b5570184b8
18
x11-packages/qt5ct/build.sh
Normal file
18
x11-packages/qt5ct/build.sh
Normal file
@ -0,0 +1,18 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://sourceforge.net/projects/qt5ct
|
||||
TERMUX_PKG_DESCRIPTION="Qt5 Configuration Tool"
|
||||
TERMUX_PKG_LICENSE="BSD 2-Clause"
|
||||
TERMUX_PKG_MAINTAINER="Simeon Huang <symeon@librehat.com>"
|
||||
TERMUX_PKG_VERSION=1.3
|
||||
TERMUX_PKG_SRCURL="https://downloads.sf.net/qt5ct/qt5ct-${TERMUX_PKG_VERSION}.tar.bz2"
|
||||
TERMUX_PKG_SHA256=dd443b14e590aff76a16e1316d56e688882e3248c470df4f71bc952569f3c3bc
|
||||
TERMUX_PKG_DEPENDS="qt5-qtbase, qt5-qtsvg"
|
||||
TERMUX_PKG_BUILD_DEPENDS="qt5-qtbase-cross-tools, qt5-qttools-cross-tools"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_NO_STATICSPLIT=true
|
||||
|
||||
termux_step_configure () {
|
||||
"${TERMUX_PREFIX}/opt/qt/cross/bin/qmake" \
|
||||
-spec "${TERMUX_PREFIX}/lib/qt/mkspecs/termux-cross" \
|
||||
PREFIX="${TERMUX_PREFIX}"
|
||||
}
|
||||
|
22
x11-packages/qt5ct/host_lrelease.patch
Normal file
22
x11-packages/qt5ct/host_lrelease.patch
Normal file
@ -0,0 +1,22 @@
|
||||
--- src/qt5ct.pro 2021-08-01 09:08:33.000000000 +0000
|
||||
+++ src.mod/qt5ct.pro 2021-09-01 16:08:41.981527832 +0000
|
||||
@@ -3,18 +3,7 @@
|
||||
SUBDIRS += src/qt5ct-qtplugin src/qt5ct-style src/qt5ct
|
||||
|
||||
|
||||
-unix:exists($$[QT_INSTALL_BINS]/lrelease){
|
||||
-LRELEASE_EXECUTABLE = $$[QT_INSTALL_BINS]/lrelease
|
||||
-}
|
||||
-
|
||||
-unix:exists($$[QT_INSTALL_BINS]/lrelease-qt5){
|
||||
-LRELEASE_EXECUTABLE = $$[QT_INSTALL_BINS]/lrelease-qt5
|
||||
-}
|
||||
-
|
||||
-
|
||||
-win32:exists($$[QT_INSTALL_BINS]/lrelease.exe){
|
||||
-LRELEASE_EXECUTABLE = $$[QT_INSTALL_BINS]/lrelease.exe
|
||||
-}
|
||||
+LRELEASE_EXECUTABLE = @TERMUX_PREFIX@/opt/qt/cross/bin/lrelease
|
||||
|
||||
|
||||
isEmpty(LRELEASE_EXECUTABLE){
|
Loading…
Reference in New Issue
Block a user