mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
qt6_tools: add symlinks for user-facing tools
* fix FDL license naming
This commit is contained in:
@@ -5,8 +5,8 @@ HOMEPAGE="https://qt.io/"
|
||||
COPYRIGHT="2015-2021 The Qt Company Ltd."
|
||||
LICENSE="GNU LGPL v2.1
|
||||
GNU LGPL v3
|
||||
FDL"
|
||||
REVISION="1"
|
||||
GNU FDL v1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://download.qt.io/official_releases/qt/${portVersion%.*}/$portVersion/submodules/qttools-everywhere-src-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="a903d005f8ab39545aed88a13b04f13ddbbe073da7007203a91fb8b42b890057"
|
||||
SOURCE_DIR="qttools-everywhere-src-$portVersion"
|
||||
@@ -27,7 +27,16 @@ PROVIDES="
|
||||
lib:libQt6DesignerComponents$secondaryArchSuffix = $portVersion compat >= 6
|
||||
lib:libQt6Help$secondaryArchSuffix = $portVersion compat >= 6
|
||||
lib:libQt6UiTools$secondaryArchSuffix = $portVersion compat >= 6
|
||||
cmd:assistant6$secondaryArchSuffix = $portVersion compat >= 6
|
||||
cmd:designer6$secondaryArchSuffix = $portVersion compat >= 6
|
||||
cmd:linguist6$secondaryArchSuffix = $portVersion compat >= 6
|
||||
cmd:pixeltool6$secondaryArchSuffix = $portVersion compat >= 6
|
||||
cmd:qdbus6$secondaryArchSuffix = $portVersion compat >= 6
|
||||
cmd:qdbusviewer6$secondaryArchSuffix = $portVersion compat >= 6
|
||||
cmd:qdistancefieldgenerator6$secondaryArchSuffix = $portVersion compat >= 6
|
||||
cmd:qdoc6$secondaryArchSuffix = $portVersion compat >= 6
|
||||
cmd:qtdiag6$secondaryArchSuffix = $portVersion compat >= 6
|
||||
cmd:qtplugininfo6$secondaryArchSuffix = $portVersion compat >= 6
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
@@ -105,7 +114,8 @@ BUILD()
|
||||
|
||||
cmake -B build -S $sourceDir -G Ninja \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_CXX_FLAGS=-fPIC
|
||||
-DCMAKE_CXX_FLAGS=-fPIC \
|
||||
-DINSTALL_PUBLICBINDIR=$binDir
|
||||
|
||||
find -name cmake_install.cmake -exec sed -i "s|set(CMAKE_INSTALL_PREFIX.*|set(CMAKE_INSTALL_PREFIX \"$prefix\")|" {} \;
|
||||
|
||||
@@ -127,7 +137,10 @@ INSTALL()
|
||||
$binDir \
|
||||
$dataDir/deskbar/menu/Applications/Qt
|
||||
|
||||
ln -s -t $binDir $libDir/Qt6/qtdiag6
|
||||
# install symlinks for user-facing tools
|
||||
while read _line; do
|
||||
ln -s $_line
|
||||
done < $sourceDir/build/user_facing_tool_links.txt
|
||||
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||
|
||||
Reference in New Issue
Block a user