Rebuild with icu 77.1
This commit is contained in:
@@ -7,7 +7,7 @@ REPO="https://code.qt.io/qt/qtbase.git"
|
||||
# The prepare function is executed in the root of the temp directory
|
||||
# This function is used for downloading files and putting them into the correct location
|
||||
prepare() {
|
||||
git clone --branch "v${BPM_PKG_VERSION}" "$REPO" "$BPM_SOURCE"
|
||||
git clone --depth 1 --branch "v${BPM_PKG_VERSION}" "$REPO" "$BPM_SOURCE"
|
||||
|
||||
# Patches from Arch Linux
|
||||
cd "$BPM_SOURCE"
|
||||
@@ -18,10 +18,7 @@ prepare() {
|
||||
# The build function is executed in the source directory
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
cmake -G Ninja \
|
||||
cmake -B build \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||
-DINSTALL_BINDIR=lib/qt6/bin \
|
||||
@@ -38,15 +35,15 @@ build() {
|
||||
-DFEATURE_system_sqlite=ON \
|
||||
-DFEATURE_system_xcb_xinput=ON \
|
||||
-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON \
|
||||
-DCMAKE_MESSAGE_LOG_LEVEL=STATUS ..
|
||||
ninja
|
||||
-DCMAKE_MESSAGE_LOG_LEVEL=STATUS
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
# The package function is executed in the source directory
|
||||
# This function is used to move the compiled files into the output directory
|
||||
package() {
|
||||
cd build
|
||||
DESTDIR="$BPM_OUTPUT" ninja install
|
||||
|
||||
DESTDIR="$BPM_OUTPUT" cmake --install build
|
||||
|
||||
# Install package licenses
|
||||
install -Dm644 "$BPM_SOURCE"/LICENSES/* -t "$BPM_OUTPUT"/usr/share/licenses/qt6-base/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user