mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
qt6_tools: add recipe
This commit is contained in:
53
dev-qt/qt6-tools/additional-files/Assistant.rdef.in
Normal file
53
dev-qt/qt6-tools/additional-files/Assistant.rdef.in
Normal file
@@ -0,0 +1,53 @@
|
||||
resource app_signature "application/x-vnd.qt6-assistant";
|
||||
|
||||
resource app_flags B_MULTIPLE_LAUNCH;
|
||||
|
||||
resource app_version {
|
||||
major = @MAJOR@,
|
||||
middle = @MIDDLE@,
|
||||
minor = @MINOR@,
|
||||
variety = B_APPV_FINAL,
|
||||
internal = 0,
|
||||
short_info = "Qt6 Assistant",
|
||||
long_info = "Qt6 Assistant"
|
||||
};
|
||||
|
||||
resource vector_icon {
|
||||
$"6E6369660E0500020006023E488C3D5166BB6D423C5BB8C08269C3C03C0080FF"
|
||||
$"80FF04AB04020006023B27AF3C3553BC5F383B638B4A4E284413FE00C0ECC0FF"
|
||||
$"27F527020006023B400638C45EBA48923CAE9D4A8D5F483C000105CE05FF026C"
|
||||
$"02020006023B5AF83C2ADEB96D4C38A70E489F97489C4000FFFFFFFFBBDAB104"
|
||||
$"005F04006603004080020006020000003B4051BB40510000004C77F54ABFC200"
|
||||
$"ABD5FFFF006CD905FF04016E020006020000003CE9E8BCE9E80000004E611A49"
|
||||
$"D83600ABD5FFFF006CD9020006020000003AE9C4BAE9C40000004D5BC74AA6C2"
|
||||
$"00ABD5FFFF006CD9020006020000003AEA0CBAEA0C0000004C48E349EC0000AB"
|
||||
$"D5FFFF006CD90E0608EEEE2827392D3029C01EB9944A354C484C3C4C534A5C37"
|
||||
$"55455CB7B2C5E2284B26392648262B0606BA0E282733234227BD0DB458532E53"
|
||||
$"304A35392DC03FB9B9B9E1B6BC0606AE0B4A5C4B474BC81D4B3E4A3553305542"
|
||||
$"5535555053540204384238383849314ABBB1C4B12B472C3A2C402C333233B8EF"
|
||||
$"BA12373508023446384E0404B6413C4D4253BFFDC6C34354445408023E424545"
|
||||
$"0605BA024A5E575D60516052604F554D54540606FF07C03CC59DC03CC59DBF28"
|
||||
$"C59DBE47C792BE47C67CBE47C8A5C03CC986BF28C986C14FC986C231C792C231"
|
||||
$"C8A5C231C67CC03CC59DC14FC59DC03CC59DC59D060BFFFF1BBC53B964BC53B9"
|
||||
$"64BCF9BA34BE47BBD5BDA0BB05BE47BBD5C2AEBADBC0B9B869C4A2BD4DBE47C0"
|
||||
$"B9BE47BE48BE47C160BE47C2AEBE47C207BF6BC2AEC1B4C2AEC08FC2AEC1B4C2"
|
||||
$"31C1B4C136C1B4C1B3C1B4BF41C61ABBD5C61ABF41C61AB8E7C0B9B6F2C3A8B6"
|
||||
$"F2BDCAB6F2BC53B964B9640606FF07BF41C4A2BF41C4A2BE2DC4A2BD4CC697BD"
|
||||
$"4CC583BD4CC7AABF41C88CBE2DC88CC055C88CC136C697C136C7AAC136C583BF"
|
||||
$"41C4A2C055C4A2BF41C4A2C4A2060BFFFF1BBB58B869BB58B869BBFFB93ABD4C"
|
||||
$"BADBBCA6BA0ABD4CBADBC1B4B9E1BFBFB76FC3A8BC52BD4CBFBEBD4CBD4DBD4C"
|
||||
$"C065BD4CC1B3BD4CC10CBE71C1B3C0B9C1B3BF95C1B3C0B9C136C0B9C03CC0B9"
|
||||
$"C0B9C0B9BE48C520BADBC520BE48C520B7ECBFBFB5F7C2AEB5F7BCD0B5F7BB58"
|
||||
$"B869B8690606FF07BF41C4A2BF41C4A2BE2DC4A2BD4CC697BD4CC583BD4CC7AA"
|
||||
$"BF41C88CBE2DC88CC055C88CC136C697C136C7AAC136C583BF41C4A2C055C4A2"
|
||||
$"BF41C4A2C4A2060BFFFF1BBB58B869BB58B869BBFFB93ABD4CBADBBCA6BA0ABD"
|
||||
$"4CBADBC1B4B9E1BFBFB76FC3A8BC52BD4CBFBEBD4CBD4DBD4CC065BD4CC1B3BD"
|
||||
$"4CC10CBE71C1B3C0B9C1B3BF95C1B3C0B9C136C0B9C03CC0B9C0B9C0B9BE48C5"
|
||||
$"20BADBC520BE48C520B7ECBFBFB5F7C2AEB5F7BCD0B5F7BB58B869B8690A0A05"
|
||||
$"0107201D200A0003000102301D2001178522040A020101201D200A030102201D"
|
||||
$"200A010100201D200A050403040506123FFFFF000000000000400CFCC3FFFFBD"
|
||||
$"288E01178522040A040403040506301D2001178322040A09020908123E6ADA00"
|
||||
$"00000000003E965C49E4DB48DD0D01178D22040A07020A0B123E6ADA00000000"
|
||||
$"00003E965C4A05C4491B2601178722040A0B020C0D023E6ADA0000000000003E"
|
||||
$"965C4A05C4491B26"
|
||||
};
|
||||
57
dev-qt/qt6-tools/additional-files/Designer.rdef.in
Normal file
57
dev-qt/qt6-tools/additional-files/Designer.rdef.in
Normal file
@@ -0,0 +1,57 @@
|
||||
resource app_signature "application/x-vnd.qt6-designer";
|
||||
|
||||
resource app_flags B_MULTIPLE_LAUNCH;
|
||||
|
||||
resource app_version {
|
||||
major = @MAJOR@,
|
||||
middle = @MIDDLE@,
|
||||
minor = @MINOR@,
|
||||
variety = B_APPV_FINAL,
|
||||
internal = 0,
|
||||
short_info = "Qt6 Designer",
|
||||
long_info = "Qt6 Designer"
|
||||
};
|
||||
|
||||
resource vector_icon {
|
||||
$"6E6369660D0500020006023E488C3D5166BB6D423C5BB8C08269C3C03C0080FF"
|
||||
$"80FF04AB04020006023B27AF3C3553BC5F383B638B4A4E284413FE00C0ECC0FF"
|
||||
$"27F527020006023B400638C45EBA48923CAE9D4A8D5F483C000105CE05FF026C"
|
||||
$"02020006023B5AF83C2ADEB96D4C38A70E489F97489C4000FFFFFFFFBBDAB104"
|
||||
$"005F011A171B660554020016020000003CC4CBBCC4CB0000004E30CB49FD6400"
|
||||
$"FFFFE505FF020006023788F538951EB8951E3788F54A39C249985100FFF9BAFF"
|
||||
$"FFC1040200060238828F3893D7B893D738828F4931704A81D700C7E3FFFF392F"
|
||||
$"FF0200060237A147393C28B93C2837A1474ABF854AA14700FF9797FFCE323210"
|
||||
$"0608EEEE2827392D3029C01EB9944A354C484C3C4C534A5C3755455CB7B2C5E2"
|
||||
$"284B26392648262B0606BA0E282733234227BD0DB458532E53304A35392DC03F"
|
||||
$"B9B9B9E1B6BC0606AE0B4A5C4B474BC81D4B3E4A355330554255355550535402"
|
||||
$"04384238383849314ABBB1C4B12B472C3A2C402C333233B8EFBA123735080234"
|
||||
$"46384E0404B6413C4D4253BFFDC6C34354445408023E4245450605BA024A5E57"
|
||||
$"5D60516052604F554D54540205C034BCC5C034BCC5BE4DBCC5BCC5C034BCC5BE"
|
||||
$"4DBCC5C219C034C3A2BE4DC3A2C219C3A2C3A2C034C3A2C219C3A2BE4DC034BC"
|
||||
$"C5C219BCC5C034BCC50215C983C030C983C030C983C12BC90BC319C95AC226C7"
|
||||
$"E3C347C58FC3A5C6B9C376C50DC46FC3A5C58FC464C512C375C6B9C317C90DC3"
|
||||
$"46C7E4C228C95EC02DC983C12BC983BFA6C876BE93C65DBF1CC76ABDAB5037C5"
|
||||
$"22BCDBC5B3BB00C552B8ABC5B0B9D4C581B815C4E5B755C310B7A6C402B82BC2"
|
||||
$"3BB9D5C08FB900C166B9C8BFA1BA44BDE6B9F0BEB9B9BABCD8B8A7BABBB931BB"
|
||||
$"C9B93AB9F0BABCB8A8B9EEB93EBBC9B932BDE3BA44BCD5B9BABEC1B9ECC08EB9"
|
||||
$"D7BFABB9C9C165B901C310B755C23BB82CC400B7A3C5B0B8ADC4E2B819C581B9"
|
||||
$"D6C52237C552BB014FBCE4C65BBE9350BDB7C769BF1DC983C030C876BFA6C983"
|
||||
$"C0300608FF7F32533253325532593257345A385C365BBD185B3C59BD9F5A3CC8"
|
||||
$"C83C523CC7D9BD7EC68E37C5D3BCD3C631BB80C6533253BAD5C6D23253530608"
|
||||
$"FF7F2652265226C7D9265926C8C8285A2C5C2A5BB84F5B3059B8D85A30C8C830"
|
||||
$"5230C7D92E512A4F2C50B674502652B5EC512652520608FF7F2C472C472CC377"
|
||||
$"2C4E2CC4662E4F32513050BAB450364EBB3B4F36C466364736C3773446304432"
|
||||
$"45B8D8452C47B84F462C47470608FF7F2C472C472CC3772C4E2CC4662E4F3251"
|
||||
$"3050BAB450364EBB3B4F36C466364736C377344630443245B8D8452C47B84F46"
|
||||
$"2C47470608FF7F2652265226C7D9265926C8C8285A2C5C2A5BB84F5B3059B8D8"
|
||||
$"5A30C8C8305230C7D92E512A4F2C50B674502652B5EC512652520608FF7F3253"
|
||||
$"3253325532593257345A385C365BBD185B3C59BD9F5A3CC8C83C523CC7D9BD7E"
|
||||
$"C68E37C5D3BCD3C631BB80C6533253BAD5C6D23253530C0A050107201D200A00"
|
||||
$"03000102301D2001178522040A020101201D200A030102201D200A010100201D"
|
||||
$"200A050403040506123FFFFF000000000000400CFCC3FFFFBD288E0117852204"
|
||||
$"0A040403040506301D2001178322040A09030A0B0C1240111100000000000040"
|
||||
$"0F5849DDDDC2F04501178800040A00030A0B0C12401111000000000000400F58"
|
||||
$"49DDDDC2F04501178400040A0A010D02401111000000000000400F5849DDDDC2"
|
||||
$"F0450A0B010E02401111000000000000400F5849DDDDC2F0450A0C010F024011"
|
||||
$"11000000000000400F5849DDDDC2F045"
|
||||
};
|
||||
33
dev-qt/qt6-tools/additional-files/FindWrapLibClang.cmake.in
Normal file
33
dev-qt/qt6-tools/additional-files/FindWrapLibClang.cmake.in
Normal file
@@ -0,0 +1,33 @@
|
||||
if(TARGET WrapLibClang::WrapLibClang)
|
||||
set(WrapLibClang_FOUND TRUE)
|
||||
return()
|
||||
endif()
|
||||
|
||||
set(WrapLibClang_FOUND TRUE)
|
||||
add_library(WrapLibClang::WrapLibClang IMPORTED INTERFACE)
|
||||
|
||||
target_include_directories(WrapLibClang::WrapLibClang INTERFACE ${CLANG_INCLUDE_DIRS})
|
||||
if (NOT TARGET Threads::Threads)
|
||||
find_package(Threads)
|
||||
endif()
|
||||
qt_internal_disable_find_package_global_promotion(Threads::Threads)
|
||||
|
||||
target_link_libraries(WrapLibClang::WrapLibClang
|
||||
INTERFACE clang
|
||||
clang-cpp
|
||||
LLVM
|
||||
clangHandleCXX
|
||||
Threads::Threads
|
||||
)
|
||||
|
||||
set(QT_LIB_CLANG_VERSION_MAJOR @CLANG_VERSION_MAJOR@ CACHE STRING "" FORCE)
|
||||
set(QT_LIB_CLANG_VERSION_MINOR @CLANG_VERSION_MINOR@ CACHE STRING "" FORCE)
|
||||
set(QT_LIB_CLANG_VERSION_PATCH @CLANG_VERSION_PATCH@ CACHE STRING "" FORCE)
|
||||
set(QT_LIB_CLANG_VERSION @CLANG_VERSION@ CACHE STRING "" FORCE)
|
||||
set(QT_LIB_CLANG_LIBDIR "@CLANG_LIBDIR@" CACHE STRING "" FORCE)
|
||||
set(QT_LIBCLANG_RESOURCE_DIR "\"@CLANG_INCLUDE_DIR@\"" CACHE STRING "" FORCE)
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(WrapLibClang
|
||||
REQUIRED_VARS WrapLibClang_FOUND
|
||||
VERSION_VAR LLVM_PACKAGE_VERSION)
|
||||
42
dev-qt/qt6-tools/additional-files/Linguist.rdef.in
Normal file
42
dev-qt/qt6-tools/additional-files/Linguist.rdef.in
Normal file
@@ -0,0 +1,42 @@
|
||||
resource app_signature "application/x-vnd.qt6-linguist";
|
||||
|
||||
resource app_flags B_MULTIPLE_LAUNCH;
|
||||
|
||||
resource app_version {
|
||||
major = @MAJOR@,
|
||||
middle = @MIDDLE@,
|
||||
minor = @MINOR@,
|
||||
variety = B_APPV_FINAL,
|
||||
internal = 0,
|
||||
short_info = "Qt6 Linguist",
|
||||
long_info = "Qt6 Linguist"
|
||||
};
|
||||
|
||||
resource vector_icon {
|
||||
$"6E636966100500020006023E488C3D5166BB6D423C5BB8C08269C3C03C0080FF"
|
||||
$"80FF04AB04020006023B27AF3C3553BC5F383B638B4A4E284413FE00C0ECC0FF"
|
||||
$"27F527020006023B400638C45EBA48923CAE9D4A8D5F483C000105CE05FF026C"
|
||||
$"02020006023B5AF83C2ADEB96D4C38A70E489F97489C4000FFFFFFFFBBDAB104"
|
||||
$"005F04006603004080020006020000003B4051BB40510000004C77F54ABFC200"
|
||||
$"ABD5FFFF006CD905FF04016E020006020000003CE9E8BCE9E80000004E611A49"
|
||||
$"D83600ABD5FFFF006CD9020006020000003AE9C4BAE9C40000004D5BC74AA6C2"
|
||||
$"00ABD5FFFF006CD9020006020000003AEA0CBAEA0C0000004C48E349EC0000AB"
|
||||
$"D5FFFF006CD90554020016020000003CEA53BCEA270000004E2AFA49D85B00FF"
|
||||
$"FFE50E0608EEEE2827392D3029C01EB9944A354C484C3C4C534A5C3755455CB7"
|
||||
$"B2C5E2284B26392648262B0606BA0E282733234227BD0DB458532E53304A3539"
|
||||
$"2DC03FB9B9B9E1B6BC0606AE0B4A5C4B474BC81D4B3E4A355330554255355550"
|
||||
$"53540204384238383849314ABBB1C4B12B472C3A2C402C333233B8EFBA123735"
|
||||
$"08023446384E0404B6413C4D4253BFFDC6C34354445408023E4245450605BA02"
|
||||
$"4A5E575D60516052604F554D54540003B869C80FB869C80FBB04C2D8C03CB869"
|
||||
$"BDA0BDA1C2D7BDA1C80EC80FC573C2D8C80EC80F0002C520C3A8C520C3A8C1DD"
|
||||
$"C3A8BB58C3A8BE9BC3A8BB58C3A80003B76FC715B76FC715BA0BC1DEBF42B76F"
|
||||
$"BCA6BCA6C1DDBCA6C714C715C478C1DEC714C7150002C425C2AEC425C2AEC0E3"
|
||||
$"C2AEBA5EC2AEBDA0C2AEBA5EC2AE0003B76FC715B76FC715BA0BC1DEBF42B76F"
|
||||
$"BCA6BCA6C1DDBCA6C714C715C478C1DEC714C7150002C425C2AEC425C2AEC0E3"
|
||||
$"C2AEBA5EC2AEBDA0C2AEBA5EC2AE0A0A050107201D200A0003000102301D2001"
|
||||
$"178522040A020101201D200A030102201D200A010100201D200A050403040506"
|
||||
$"123FFFFF000000000000400CFCC3FFFFBD288E01178522040A04040304050630"
|
||||
$"1D2001178322040A09020809123D79CA0000000000003E00EF4A2C8D49D1DC01"
|
||||
$"179C22040A0E020A0B123D79CA0000000000003E00EF4A3A7449F1EB01179222"
|
||||
$"040A0F020C0D123D79CA0000000000003E00EF4A3A7449F1EB0117852204"
|
||||
};
|
||||
56
dev-qt/qt6-tools/additional-files/QDBusViewer.rdef.in
Normal file
56
dev-qt/qt6-tools/additional-files/QDBusViewer.rdef.in
Normal file
@@ -0,0 +1,56 @@
|
||||
resource app_signature "application/x-vnd.qt6-qdbusviewer";
|
||||
|
||||
resource app_flags B_MULTIPLE_LAUNCH;
|
||||
|
||||
resource app_version {
|
||||
major = @MAJOR@,
|
||||
middle = @MIDDLE@,
|
||||
minor = @MINOR@,
|
||||
variety = B_APPV_FINAL,
|
||||
internal = 0,
|
||||
short_info = "Qt6 D-Bus Viewer",
|
||||
long_info = "Qt6 D-Bus Viewer"
|
||||
};
|
||||
|
||||
|
||||
resource vector_icon {
|
||||
$"6E6369660F0500020006023E488C3D5166BB6D423C5BB8C08269C3C03C0080FF"
|
||||
$"80FF04AB04020006023B27AF3C3553BC5F383B638B4A4E284413FE00C0ECC0FF"
|
||||
$"27F527020006023B400638C45EBA48923CAE9D4A8D5F483C000105CE05FF026C"
|
||||
$"02020006023B5AF73C2ADDB96D4B38A70E489F97489C4000FFFFFFFFBBDAB104"
|
||||
$"005F011A171B660554020016020000003CC4CBBCC4CB0000004E30CB49FD6400"
|
||||
$"FFFFE50400660380000002000602000000BC98CC3C98CC0000004EB5614A8BEB"
|
||||
$"00FFABABFFD9000003063071020006020000003C8F33BC8F330000004D631448"
|
||||
$"E54700DBF2FDFF00AAFF05FF0E0608EEEE2827392D3029C01EB9944A354C484C"
|
||||
$"3C4C534A5C3755455CB7B2C5E2284B26392648262B0606BA0E282733234227BD"
|
||||
$"0DB458532E53304A35392DC03FB9B9B9E1B6BC0606AE0B4A5C4B474BC81D4B3E"
|
||||
$"4A35533055425535555053540204384238383849314ABBB1C4B12B472C3A2C40"
|
||||
$"2C333233B8EFBA12373508023446384E0404B6413C4D4253BFFDC6C343544454"
|
||||
$"08023E4245450605BA024A5E575D60516052604F554D5454060AFF7F05CA91C1"
|
||||
$"E6CA91C1E6C7B6C4DCC201CAC6C4DCC7D1C163CA2FC024C900C0C4C997C024C9"
|
||||
$"00C55BC408C55BC3FDC55BC413B677C408B677C424B677C3E5B677C18CB677C1"
|
||||
$"8CBD2BC1AACA91C1E6C3DEC1C9CA91C1E6C1E6C1E6C1E6060AFF7F05C96CC105"
|
||||
$"C96CC105C692C3FAC0DDC9E3C3B7C6EFC03EC94CBF0055BF9FC8B4BF0055C436"
|
||||
$"C326C436C31AC436C332B552C326B552C342B552C303B552C0AAB552C0AABC06"
|
||||
$"C0C8C96CC105C2B9C0E6C96CC105C105C105C105060AFF7F05C96CC105C96CC1"
|
||||
$"05C692C3FAC0DDC9E3C3B7C6EFC03EC94CBF0055BF9FC8B4BF0055C436C326C4"
|
||||
$"36C31AC436C332B552C326B552C342B552C303B552C0AAB552C0AABC06C0C8C9"
|
||||
$"6CC105C2B9C0E6C96CC105C105C105C105060AFF7F05B618BF1EB618BF1EB8D4"
|
||||
$"BC34BE4BB65EBB8FB949BEEAB6F3C029B81EBF89B789BF6AB8D2BB50BD05BB44"
|
||||
$"BD05BBAFBD05CA39BD05CA39BD05CA39BDD6CA39BF77CA39BEA6C3833FB618BF"
|
||||
$"1EBCCEBF3CB618BF1EBF1EBF1EBF1E060AFF7F05B559BE6BB559BE6BB815BB80"
|
||||
$"BD8CB5ABBAD1B896BE2CB641BF6AB76BBECBB6D6BEABB81E33BC51BA85BC51BA"
|
||||
$"F0BC51C97ABC51C97ABC51C97ABD22C97ABEC5C97ABDF3C2C5BEA6B559BE6BBC"
|
||||
$"0FBE88B559BE6BBE6BBE6BBE6B060AFF7F05B559BE6BB559BE6BB815BB80BD8C"
|
||||
$"B5ABBAD1B896BE2CB641BF6AB76BBECBB6D6BEABB81E33BC51BA85BC51BAF0BC"
|
||||
$"51C97ABC51C97ABC51C97ABD22C97ABEC5C97ABDF3C2C5BEA6B559BE6BBC0FBE"
|
||||
$"88B559BE6BBE6BBE6BBE6B0D0A050107201D200A0003000102301D2001178522"
|
||||
$"040A020101201D200A030102201D200A010100201D200A050403040506123FFF"
|
||||
$"FF000000000000400CFCC3FFFFBD288E01178522040A040403040506301D2001"
|
||||
$"178322040A0E0108123D61250000000000003DBC894A2E324A06E30117902204"
|
||||
$"0A0A0109123D47DB0000000000003DBC894A47FC4A142301178922040A0B010A"
|
||||
$"023D47DB0000000000003DBC894A47FC4A14230A0E010B123D47DB0000000000"
|
||||
$"003DC0AC4A3B4249A53D01179022040A0C010C123D47DB0000000000003DBC89"
|
||||
$"4A47FC49BE4B01178922040A0D010D023D47DB0000000000003DBC894A47FC49"
|
||||
$"BE4B"
|
||||
};
|
||||
450
dev-qt/qt6-tools/licenses/FDL
Normal file
450
dev-qt/qt6-tools/licenses/FDL
Normal file
@@ -0,0 +1,450 @@
|
||||
GNU Free Documentation License
|
||||
Version 1.3, 3 November 2008
|
||||
|
||||
|
||||
Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
|
||||
<http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
0. PREAMBLE
|
||||
|
||||
The purpose of this License is to make a manual, textbook, or other
|
||||
functional and useful document "free" in the sense of freedom: to
|
||||
assure everyone the effective freedom to copy and redistribute it,
|
||||
with or without modifying it, either commercially or noncommercially.
|
||||
Secondarily, this License preserves for the author and publisher a way
|
||||
to get credit for their work, while not being considered responsible
|
||||
for modifications made by others.
|
||||
|
||||
This License is a kind of "copyleft", which means that derivative
|
||||
works of the document must themselves be free in the same sense. It
|
||||
complements the GNU General Public License, which is a copyleft
|
||||
license designed for free software.
|
||||
|
||||
We have designed this License in order to use it for manuals for free
|
||||
software, because free software needs free documentation: a free
|
||||
program should come with manuals providing the same freedoms that the
|
||||
software does. But this License is not limited to software manuals;
|
||||
it can be used for any textual work, regardless of subject matter or
|
||||
whether it is published as a printed book. We recommend this License
|
||||
principally for works whose purpose is instruction or reference.
|
||||
|
||||
|
||||
1. APPLICABILITY AND DEFINITIONS
|
||||
|
||||
This License applies to any manual or other work, in any medium, that
|
||||
contains a notice placed by the copyright holder saying it can be
|
||||
distributed under the terms of this License. Such a notice grants a
|
||||
world-wide, royalty-free license, unlimited in duration, to use that
|
||||
work under the conditions stated herein. The "Document", below,
|
||||
refers to any such manual or work. Any member of the public is a
|
||||
licensee, and is addressed as "you". You accept the license if you
|
||||
copy, modify or distribute the work in a way requiring permission
|
||||
under copyright law.
|
||||
|
||||
A "Modified Version" of the Document means any work containing the
|
||||
Document or a portion of it, either copied verbatim, or with
|
||||
modifications and/or translated into another language.
|
||||
|
||||
A "Secondary Section" is a named appendix or a front-matter section of
|
||||
the Document that deals exclusively with the relationship of the
|
||||
publishers or authors of the Document to the Document's overall
|
||||
subject (or to related matters) and contains nothing that could fall
|
||||
directly within that overall subject. (Thus, if the Document is in
|
||||
part a textbook of mathematics, a Secondary Section may not explain
|
||||
any mathematics.) The relationship could be a matter of historical
|
||||
connection with the subject or with related matters, or of legal,
|
||||
commercial, philosophical, ethical or political position regarding
|
||||
them.
|
||||
|
||||
The "Invariant Sections" are certain Secondary Sections whose titles
|
||||
are designated, as being those of Invariant Sections, in the notice
|
||||
that says that the Document is released under this License. If a
|
||||
section does not fit the above definition of Secondary then it is not
|
||||
allowed to be designated as Invariant. The Document may contain zero
|
||||
Invariant Sections. If the Document does not identify any Invariant
|
||||
Sections then there are none.
|
||||
|
||||
The "Cover Texts" are certain short passages of text that are listed,
|
||||
as Front-Cover Texts or Back-Cover Texts, in the notice that says that
|
||||
the Document is released under this License. A Front-Cover Text may
|
||||
be at most 5 words, and a Back-Cover Text may be at most 25 words.
|
||||
|
||||
A "Transparent" copy of the Document means a machine-readable copy,
|
||||
represented in a format whose specification is available to the
|
||||
general public, that is suitable for revising the document
|
||||
straightforwardly with generic text editors or (for images composed of
|
||||
pixels) generic paint programs or (for drawings) some widely available
|
||||
drawing editor, and that is suitable for input to text formatters or
|
||||
for automatic translation to a variety of formats suitable for input
|
||||
to text formatters. A copy made in an otherwise Transparent file
|
||||
format whose markup, or absence of markup, has been arranged to thwart
|
||||
or discourage subsequent modification by readers is not Transparent.
|
||||
An image format is not Transparent if used for any substantial amount
|
||||
of text. A copy that is not "Transparent" is called "Opaque".
|
||||
|
||||
Examples of suitable formats for Transparent copies include plain
|
||||
ASCII without markup, Texinfo input format, LaTeX input format, SGML
|
||||
or XML using a publicly available DTD, and standard-conforming simple
|
||||
HTML, PostScript or PDF designed for human modification. Examples of
|
||||
transparent image formats include PNG, XCF and JPG. Opaque formats
|
||||
include proprietary formats that can be read and edited only by
|
||||
proprietary word processors, SGML or XML for which the DTD and/or
|
||||
processing tools are not generally available, and the
|
||||
machine-generated HTML, PostScript or PDF produced by some word
|
||||
processors for output purposes only.
|
||||
|
||||
The "Title Page" means, for a printed book, the title page itself,
|
||||
plus such following pages as are needed to hold, legibly, the material
|
||||
this License requires to appear in the title page. For works in
|
||||
formats which do not have any title page as such, "Title Page" means
|
||||
the text near the most prominent appearance of the work's title,
|
||||
preceding the beginning of the body of the text.
|
||||
|
||||
The "publisher" means any person or entity that distributes copies of
|
||||
the Document to the public.
|
||||
|
||||
A section "Entitled XYZ" means a named subunit of the Document whose
|
||||
title either is precisely XYZ or contains XYZ in parentheses following
|
||||
text that translates XYZ in another language. (Here XYZ stands for a
|
||||
specific section name mentioned below, such as "Acknowledgements",
|
||||
"Dedications", "Endorsements", or "History".) To "Preserve the Title"
|
||||
of such a section when you modify the Document means that it remains a
|
||||
section "Entitled XYZ" according to this definition.
|
||||
|
||||
The Document may include Warranty Disclaimers next to the notice which
|
||||
states that this License applies to the Document. These Warranty
|
||||
Disclaimers are considered to be included by reference in this
|
||||
License, but only as regards disclaiming warranties: any other
|
||||
implication that these Warranty Disclaimers may have is void and has
|
||||
no effect on the meaning of this License.
|
||||
|
||||
2. VERBATIM COPYING
|
||||
|
||||
You may copy and distribute the Document in any medium, either
|
||||
commercially or noncommercially, provided that this License, the
|
||||
copyright notices, and the license notice saying this License applies
|
||||
to the Document are reproduced in all copies, and that you add no
|
||||
other conditions whatsoever to those of this License. You may not use
|
||||
technical measures to obstruct or control the reading or further
|
||||
copying of the copies you make or distribute. However, you may accept
|
||||
compensation in exchange for copies. If you distribute a large enough
|
||||
number of copies you must also follow the conditions in section 3.
|
||||
|
||||
You may also lend copies, under the same conditions stated above, and
|
||||
you may publicly display copies.
|
||||
|
||||
|
||||
3. COPYING IN QUANTITY
|
||||
|
||||
If you publish printed copies (or copies in media that commonly have
|
||||
printed covers) of the Document, numbering more than 100, and the
|
||||
Document's license notice requires Cover Texts, you must enclose the
|
||||
copies in covers that carry, clearly and legibly, all these Cover
|
||||
Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
|
||||
the back cover. Both covers must also clearly and legibly identify
|
||||
you as the publisher of these copies. The front cover must present
|
||||
the full title with all words of the title equally prominent and
|
||||
visible. You may add other material on the covers in addition.
|
||||
Copying with changes limited to the covers, as long as they preserve
|
||||
the title of the Document and satisfy these conditions, can be treated
|
||||
as verbatim copying in other respects.
|
||||
|
||||
If the required texts for either cover are too voluminous to fit
|
||||
legibly, you should put the first ones listed (as many as fit
|
||||
reasonably) on the actual cover, and continue the rest onto adjacent
|
||||
pages.
|
||||
|
||||
If you publish or distribute Opaque copies of the Document numbering
|
||||
more than 100, you must either include a machine-readable Transparent
|
||||
copy along with each Opaque copy, or state in or with each Opaque copy
|
||||
a computer-network location from which the general network-using
|
||||
public has access to download using public-standard network protocols
|
||||
a complete Transparent copy of the Document, free of added material.
|
||||
If you use the latter option, you must take reasonably prudent steps,
|
||||
when you begin distribution of Opaque copies in quantity, to ensure
|
||||
that this Transparent copy will remain thus accessible at the stated
|
||||
location until at least one year after the last time you distribute an
|
||||
Opaque copy (directly or through your agents or retailers) of that
|
||||
edition to the public.
|
||||
|
||||
It is requested, but not required, that you contact the authors of the
|
||||
Document well before redistributing any large number of copies, to
|
||||
give them a chance to provide you with an updated version of the
|
||||
Document.
|
||||
|
||||
|
||||
4. MODIFICATIONS
|
||||
|
||||
You may copy and distribute a Modified Version of the Document under
|
||||
the conditions of sections 2 and 3 above, provided that you release
|
||||
the Modified Version under precisely this License, with the Modified
|
||||
Version filling the role of the Document, thus licensing distribution
|
||||
and modification of the Modified Version to whoever possesses a copy
|
||||
of it. In addition, you must do these things in the Modified Version:
|
||||
|
||||
A. Use in the Title Page (and on the covers, if any) a title distinct
|
||||
from that of the Document, and from those of previous versions
|
||||
(which should, if there were any, be listed in the History section
|
||||
of the Document). You may use the same title as a previous version
|
||||
if the original publisher of that version gives permission.
|
||||
B. List on the Title Page, as authors, one or more persons or entities
|
||||
responsible for authorship of the modifications in the Modified
|
||||
Version, together with at least five of the principal authors of the
|
||||
Document (all of its principal authors, if it has fewer than five),
|
||||
unless they release you from this requirement.
|
||||
C. State on the Title page the name of the publisher of the
|
||||
Modified Version, as the publisher.
|
||||
D. Preserve all the copyright notices of the Document.
|
||||
E. Add an appropriate copyright notice for your modifications
|
||||
adjacent to the other copyright notices.
|
||||
F. Include, immediately after the copyright notices, a license notice
|
||||
giving the public permission to use the Modified Version under the
|
||||
terms of this License, in the form shown in the Addendum below.
|
||||
G. Preserve in that license notice the full lists of Invariant Sections
|
||||
and required Cover Texts given in the Document's license notice.
|
||||
H. Include an unaltered copy of this License.
|
||||
I. Preserve the section Entitled "History", Preserve its Title, and add
|
||||
to it an item stating at least the title, year, new authors, and
|
||||
publisher of the Modified Version as given on the Title Page. If
|
||||
there is no section Entitled "History" in the Document, create one
|
||||
stating the title, year, authors, and publisher of the Document as
|
||||
given on its Title Page, then add an item describing the Modified
|
||||
Version as stated in the previous sentence.
|
||||
J. Preserve the network location, if any, given in the Document for
|
||||
public access to a Transparent copy of the Document, and likewise
|
||||
the network locations given in the Document for previous versions
|
||||
it was based on. These may be placed in the "History" section.
|
||||
You may omit a network location for a work that was published at
|
||||
least four years before the Document itself, or if the original
|
||||
publisher of the version it refers to gives permission.
|
||||
K. For any section Entitled "Acknowledgements" or "Dedications",
|
||||
Preserve the Title of the section, and preserve in the section all
|
||||
the substance and tone of each of the contributor acknowledgements
|
||||
and/or dedications given therein.
|
||||
L. Preserve all the Invariant Sections of the Document,
|
||||
unaltered in their text and in their titles. Section numbers
|
||||
or the equivalent are not considered part of the section titles.
|
||||
M. Delete any section Entitled "Endorsements". Such a section
|
||||
may not be included in the Modified Version.
|
||||
N. Do not retitle any existing section to be Entitled "Endorsements"
|
||||
or to conflict in title with any Invariant Section.
|
||||
O. Preserve any Warranty Disclaimers.
|
||||
|
||||
If the Modified Version includes new front-matter sections or
|
||||
appendices that qualify as Secondary Sections and contain no material
|
||||
copied from the Document, you may at your option designate some or all
|
||||
of these sections as invariant. To do this, add their titles to the
|
||||
list of Invariant Sections in the Modified Version's license notice.
|
||||
These titles must be distinct from any other section titles.
|
||||
|
||||
You may add a section Entitled "Endorsements", provided it contains
|
||||
nothing but endorsements of your Modified Version by various
|
||||
parties--for example, statements of peer review or that the text has
|
||||
been approved by an organization as the authoritative definition of a
|
||||
standard.
|
||||
|
||||
You may add a passage of up to five words as a Front-Cover Text, and a
|
||||
passage of up to 25 words as a Back-Cover Text, to the end of the list
|
||||
of Cover Texts in the Modified Version. Only one passage of
|
||||
Front-Cover Text and one of Back-Cover Text may be added by (or
|
||||
through arrangements made by) any one entity. If the Document already
|
||||
includes a cover text for the same cover, previously added by you or
|
||||
by arrangement made by the same entity you are acting on behalf of,
|
||||
you may not add another; but you may replace the old one, on explicit
|
||||
permission from the previous publisher that added the old one.
|
||||
|
||||
The author(s) and publisher(s) of the Document do not by this License
|
||||
give permission to use their names for publicity for or to assert or
|
||||
imply endorsement of any Modified Version.
|
||||
|
||||
|
||||
5. COMBINING DOCUMENTS
|
||||
|
||||
You may combine the Document with other documents released under this
|
||||
License, under the terms defined in section 4 above for modified
|
||||
versions, provided that you include in the combination all of the
|
||||
Invariant Sections of all of the original documents, unmodified, and
|
||||
list them all as Invariant Sections of your combined work in its
|
||||
license notice, and that you preserve all their Warranty Disclaimers.
|
||||
|
||||
The combined work need only contain one copy of this License, and
|
||||
multiple identical Invariant Sections may be replaced with a single
|
||||
copy. If there are multiple Invariant Sections with the same name but
|
||||
different contents, make the title of each such section unique by
|
||||
adding at the end of it, in parentheses, the name of the original
|
||||
author or publisher of that section if known, or else a unique number.
|
||||
Make the same adjustment to the section titles in the list of
|
||||
Invariant Sections in the license notice of the combined work.
|
||||
|
||||
In the combination, you must combine any sections Entitled "History"
|
||||
in the various original documents, forming one section Entitled
|
||||
"History"; likewise combine any sections Entitled "Acknowledgements",
|
||||
and any sections Entitled "Dedications". You must delete all sections
|
||||
Entitled "Endorsements".
|
||||
|
||||
|
||||
6. COLLECTIONS OF DOCUMENTS
|
||||
|
||||
You may make a collection consisting of the Document and other
|
||||
documents released under this License, and replace the individual
|
||||
copies of this License in the various documents with a single copy
|
||||
that is included in the collection, provided that you follow the rules
|
||||
of this License for verbatim copying of each of the documents in all
|
||||
other respects.
|
||||
|
||||
You may extract a single document from such a collection, and
|
||||
distribute it individually under this License, provided you insert a
|
||||
copy of this License into the extracted document, and follow this
|
||||
License in all other respects regarding verbatim copying of that
|
||||
document.
|
||||
|
||||
|
||||
7. AGGREGATION WITH INDEPENDENT WORKS
|
||||
|
||||
A compilation of the Document or its derivatives with other separate
|
||||
and independent documents or works, in or on a volume of a storage or
|
||||
distribution medium, is called an "aggregate" if the copyright
|
||||
resulting from the compilation is not used to limit the legal rights
|
||||
of the compilation's users beyond what the individual works permit.
|
||||
When the Document is included in an aggregate, this License does not
|
||||
apply to the other works in the aggregate which are not themselves
|
||||
derivative works of the Document.
|
||||
|
||||
If the Cover Text requirement of section 3 is applicable to these
|
||||
copies of the Document, then if the Document is less than one half of
|
||||
the entire aggregate, the Document's Cover Texts may be placed on
|
||||
covers that bracket the Document within the aggregate, or the
|
||||
electronic equivalent of covers if the Document is in electronic form.
|
||||
Otherwise they must appear on printed covers that bracket the whole
|
||||
aggregate.
|
||||
|
||||
|
||||
8. TRANSLATION
|
||||
|
||||
Translation is considered a kind of modification, so you may
|
||||
distribute translations of the Document under the terms of section 4.
|
||||
Replacing Invariant Sections with translations requires special
|
||||
permission from their copyright holders, but you may include
|
||||
translations of some or all Invariant Sections in addition to the
|
||||
original versions of these Invariant Sections. You may include a
|
||||
translation of this License, and all the license notices in the
|
||||
Document, and any Warranty Disclaimers, provided that you also include
|
||||
the original English version of this License and the original versions
|
||||
of those notices and disclaimers. In case of a disagreement between
|
||||
the translation and the original version of this License or a notice
|
||||
or disclaimer, the original version will prevail.
|
||||
|
||||
If a section in the Document is Entitled "Acknowledgements",
|
||||
"Dedications", or "History", the requirement (section 4) to Preserve
|
||||
its Title (section 1) will typically require changing the actual
|
||||
title.
|
||||
|
||||
|
||||
9. TERMINATION
|
||||
|
||||
You may not copy, modify, sublicense, or distribute the Document
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense, or distribute it is void, and
|
||||
will automatically terminate your rights under this License.
|
||||
|
||||
However, if you cease all violation of this License, then your license
|
||||
from a particular copyright holder is reinstated (a) provisionally,
|
||||
unless and until the copyright holder explicitly and finally
|
||||
terminates your license, and (b) permanently, if the copyright holder
|
||||
fails to notify you of the violation by some reasonable means prior to
|
||||
60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, receipt of a copy of some or all of the same material does
|
||||
not give you any rights to use it.
|
||||
|
||||
|
||||
10. FUTURE REVISIONS OF THIS LICENSE
|
||||
|
||||
The Free Software Foundation may publish new, revised versions of the
|
||||
GNU Free Documentation License from time to time. Such new versions
|
||||
will be similar in spirit to the present version, but may differ in
|
||||
detail to address new problems or concerns. See
|
||||
http://www.gnu.org/copyleft/.
|
||||
|
||||
Each version of the License is given a distinguishing version number.
|
||||
If the Document specifies that a particular numbered version of this
|
||||
License "or any later version" applies to it, you have the option of
|
||||
following the terms and conditions either of that specified version or
|
||||
of any later version that has been published (not as a draft) by the
|
||||
Free Software Foundation. If the Document does not specify a version
|
||||
number of this License, you may choose any version ever published (not
|
||||
as a draft) by the Free Software Foundation. If the Document
|
||||
specifies that a proxy can decide which future versions of this
|
||||
License can be used, that proxy's public statement of acceptance of a
|
||||
version permanently authorizes you to choose that version for the
|
||||
Document.
|
||||
|
||||
11. RELICENSING
|
||||
|
||||
"Massive Multiauthor Collaboration Site" (or "MMC Site") means any
|
||||
World Wide Web server that publishes copyrightable works and also
|
||||
provides prominent facilities for anybody to edit those works. A
|
||||
public wiki that anybody can edit is an example of such a server. A
|
||||
"Massive Multiauthor Collaboration" (or "MMC") contained in the site
|
||||
means any set of copyrightable works thus published on the MMC site.
|
||||
|
||||
"CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0
|
||||
license published by Creative Commons Corporation, a not-for-profit
|
||||
corporation with a principal place of business in San Francisco,
|
||||
California, as well as future copyleft versions of that license
|
||||
published by that same organization.
|
||||
|
||||
"Incorporate" means to publish or republish a Document, in whole or in
|
||||
part, as part of another Document.
|
||||
|
||||
An MMC is "eligible for relicensing" if it is licensed under this
|
||||
License, and if all works that were first published under this License
|
||||
somewhere other than this MMC, and subsequently incorporated in whole or
|
||||
in part into the MMC, (1) had no cover texts or invariant sections, and
|
||||
(2) were thus incorporated prior to November 1, 2008.
|
||||
|
||||
The operator of an MMC Site may republish an MMC contained in the site
|
||||
under CC-BY-SA on the same site at any time before August 1, 2009,
|
||||
provided the MMC is eligible for relicensing.
|
||||
|
||||
|
||||
ADDENDUM: How to use this License for your documents
|
||||
|
||||
To use this License in a document you have written, include a copy of
|
||||
the License in the document and put the following copyright and
|
||||
license notices just after the title page:
|
||||
|
||||
Copyright (c) YEAR YOUR NAME.
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the GNU Free Documentation License, Version 1.3
|
||||
or any later version published by the Free Software Foundation;
|
||||
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
|
||||
A copy of the license is included in the section entitled "GNU
|
||||
Free Documentation License".
|
||||
|
||||
If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
|
||||
replace the "with...Texts." line with this:
|
||||
|
||||
with the Invariant Sections being LIST THEIR TITLES, with the
|
||||
Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
|
||||
|
||||
If you have Invariant Sections without Cover Texts, or some other
|
||||
combination of the three, merge those two alternatives to suit the
|
||||
situation.
|
||||
|
||||
If your document contains nontrivial examples of program code, we
|
||||
recommend releasing these examples in parallel under your choice of
|
||||
free software license, such as the GNU General Public License,
|
||||
to permit their use in free software.
|
||||
156
dev-qt/qt6-tools/qt6_tools-6.2.0.recipe
Normal file
156
dev-qt/qt6-tools/qt6_tools-6.2.0.recipe
Normal file
@@ -0,0 +1,156 @@
|
||||
SUMMARY="A cross-platform application and UI framework (Development Tools, QtHelp)"
|
||||
DESCRIPTION="The QtTools modules contains some tools mostly useful for application development. \
|
||||
Included are Qt Designer (GUI design), QDbusViewer and more."
|
||||
HOMEPAGE="https://qt.io/"
|
||||
COPYRIGHT="2015-2021 The Qt Company Ltd."
|
||||
LICENSE="GNU LGPL v2.1
|
||||
GNU LGPL v3
|
||||
FDL"
|
||||
REVISION="1"
|
||||
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"
|
||||
ADDITIONAL_FILES="
|
||||
Assistant.rdef.in
|
||||
Designer.rdef.in
|
||||
Linguist.rdef.in
|
||||
QDBusViewer.rdef.in
|
||||
FindWrapLibClang.cmake.in
|
||||
"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
qt6_tools$secondaryArchSuffix = $portVersion compat >= 6
|
||||
lib:libQt6Designer$secondaryArchSuffix = $portVersion compat >= 6
|
||||
lib:libQt6DesignerComponents$secondaryArchSuffix = $portVersion compat >= 6
|
||||
lib:libQt6Help$secondaryArchSuffix = $portVersion compat >= 6
|
||||
lib:libQt6UiTools$secondaryArchSuffix = $portVersion compat >= 6
|
||||
cmd:qtdiag6$secondaryArchSuffix = $portVersion compat >= 6
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libclang$secondaryArchSuffix
|
||||
lib:libclang_cpp$secondaryArchSuffix
|
||||
lib:libLLVM_9$secondaryArchSuffix
|
||||
lib:libGL$secondaryArchSuffix
|
||||
lib:libQt6Core$secondaryArchSuffix
|
||||
lib:libQt6Gui$secondaryArchSuffix
|
||||
lib:libQt6QmlModels$secondaryArchSuffix
|
||||
lib:libQt6Quick$secondaryArchSuffix
|
||||
lib:libQt6Qml$secondaryArchSuffix
|
||||
lib:libQt6Widgets$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
qt6_tools${secondaryArchSuffix}_devel = $portVersion compat >= 6
|
||||
devel:libQt6Designer$secondaryArchSuffix = $portVersion compat >= 6
|
||||
devel:libQt6DesignerComponents$secondaryArchSuffix = $portVersion compat >= 6
|
||||
devel:libQt6Help$secondaryArchSuffix = $portVersion compat >= 6
|
||||
devel:libQt6UiTools$secondaryArchSuffix = $portVersion compat >= 6
|
||||
"
|
||||
REQUIRES_devel="
|
||||
qt6_tools$secondaryArchSuffix == $portVersion base
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libclang$secondaryArchSuffix >= 9
|
||||
devel:libclang_cpp$secondaryArchSuffix >= 9
|
||||
devel:libLLVM_9$secondaryArchSuffix
|
||||
devel:libcrypto$secondaryArchSuffix
|
||||
devel:libQt6Core$secondaryArchSuffix
|
||||
devel:libQt6Gui$secondaryArchSuffix
|
||||
devel:libQt6QmlModels$secondaryArchSuffix
|
||||
devel:libQt6Quick$secondaryArchSuffix
|
||||
devel:libQt6Qml$secondaryArchSuffix
|
||||
devel:libQt6Widgets$secondaryArchSuffix
|
||||
devel:libssl$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:awk
|
||||
cmd:cmake
|
||||
cmd:find
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:ninja
|
||||
cmd:perl
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:python3.7
|
||||
cmd:sed
|
||||
cmd:xargs
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
export DISABLE_ASLR=1
|
||||
|
||||
local LLVM_VERSION=$(llvm-config --version)
|
||||
local LLVM_VERION_MAJOR="`echo "$LLVM_VERSION" | cut -d. -f1`"
|
||||
local LLVM_VERION_MINOR="`echo "$LLVM_VERSION" | cut -d. -f2`"
|
||||
local LLVM_VERION_PATCH="`echo "$LLVM_VERSION" | cut -d. -f3`"
|
||||
|
||||
sed \
|
||||
-e "s|@CLANG_VERSION_MAJOR@|$LLVM_VERION_MAJOR|" \
|
||||
-e "s|@CLANG_VERSION_MINOR@|$LLVM_VERION_MINOR|" \
|
||||
-e "s|@CLANG_VERSION_PATCH@|$LLVM_VERION_PATCH|" \
|
||||
-e "s|@CLANG_VERSION@|$LLVM_VERSION|" \
|
||||
-e "s|@CLANG_LIBDIR@|/system/$relativeDevelopLibDir|" \
|
||||
-e "s|@CLANG_INCLUDE_DIR@|/system/$relativeLibDir/clang/$LLVM_VERSION/include|" \
|
||||
$portDir/additional-files/FindWrapLibClang.cmake.in > $sourceDir/cmake/FindWrapLibClang.cmake
|
||||
|
||||
cmake -B build -S $sourceDir -G Ninja \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_CXX_FLAGS=-fPIC
|
||||
|
||||
find -name cmake_install.cmake -exec sed -i "s|set(CMAKE_INSTALL_PREFIX.*|set(CMAKE_INSTALL_PREFIX \"$prefix\")|" {} \;
|
||||
|
||||
ninja -C build $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
ninja -C build install
|
||||
|
||||
prepareInstalledDevelLibs libQt6Designer libQt6DesignerComponents libQt6Help libQt6UiTools
|
||||
|
||||
cd $libDir
|
||||
for i in lib*.so.6.*;do
|
||||
ln -fs $i $(echo $i | cut -f1,2 -d.)
|
||||
done
|
||||
|
||||
mkdir -p \
|
||||
$binDir \
|
||||
$dataDir/deskbar/menu/Applications/Qt
|
||||
|
||||
ln -s -t $binDir $libDir/Qt6/qtdiag6
|
||||
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||
local MINOR="`echo "$portVersion" | cut -d. -f3`"
|
||||
local VARIETY="B_APPV_FINAL"
|
||||
|
||||
resFiles="Assistant Designer Linguist QDBusViewer"
|
||||
for j in $resFiles; do
|
||||
sed \
|
||||
-e "s|@MAJOR@|$MAJOR|" \
|
||||
-e "s|@MIDDLE@|$MIDDLE|" \
|
||||
-e "s|@MINOR@|$MINOR|" \
|
||||
-e "s|@VARIETY@|$VARIETY|" \
|
||||
$portDir/additional-files/$j.rdef.in > $sourceDir/$j.rdef
|
||||
mv $libDir/Qt6/${j,,} $libDir/Qt6/$j
|
||||
ln -s $libDir/Qt6/$j $libDir/Qt6/${j,,}
|
||||
addResourcesToBinaries $sourceDir/$j.rdef $libDir/Qt6/$j
|
||||
addAppDeskbarSymlink $libDir/Qt6/$j "Qt/Qt6 $j"
|
||||
mimeset -f $libDir/Qt6/$j
|
||||
done
|
||||
|
||||
packageEntries devel \
|
||||
$developDir \
|
||||
$libDir/cmake \
|
||||
$dataDir/Qt6/mkspecs
|
||||
}
|
||||
Reference in New Issue
Block a user