diff --git a/pkg.info b/pkg.info index 3c95318..afe2fde 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: qt6-declarative description: Classes for QML and JavaScript languages version: 6.10.0 -revision: 1 +revision: 2 url: https://www.qt.io/ license: FDL,GPL3,LGPL3,custom architecture: any @@ -15,6 +15,7 @@ optional_depends: make_depends: - cmake - git + - qt6-languageserver - qt6-shadertools - qt6-svg - vulkan-headers diff --git a/source.sh b/source.sh index 0a1f860..4a90596 100644 --- a/source.sh +++ b/source.sh @@ -5,8 +5,7 @@ # The build function is executed in the source directory # This function is used to compile the source code build() { - export CXXFLAGS+=" -ffat-lto-objects" - cmake -B build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_MESSAGE_LOG_LEVEL=STATUS + cmake -B build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_MESSAGE_LOG_LEVEL=STATUS cmake --build build } @@ -17,5 +16,5 @@ package() { # Install package license install -d "$BPM_OUTPUT"/usr/share/licenses - ln -s /usr/share/licenses/qt6-base "$BPM_OUTPUT"/usr/share/licenses/qt6-declaratives + ln -s /usr/share/licenses/qt6-base "$BPM_OUTPUT"/usr/share/licenses/qt6-declarative }