diff --git a/pkg.info b/pkg.info index 8871f13..4d1a11c 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,24 @@ name: qt6-imageformats description: Additional Image Format plugins for Qt -version: 6.9.2 +version: 6.9.3 +revision: 1 url: https://www.qt.io license: LGPL3-only OR GPL2-only OR GPL3-only architecture: any -depends: ["gcc-libs","glibc","jasper","libmng","libtiff","libwebp","qt6-base"] -make_depends: ["cmake"] type: source +depends: + - gcc-libs + - glibc + - jasper + - libmng + - libtiff + - libwebp + - qt6-base +make_depends: + - cmake +downloads: + - url: https://code.qt.io/qt/qtimageformats.git + type: git + extract_to_bpm_source: true + git_branch: v${BPM_PKG_VERSION} + checksum: 7484973d606d212ae9b770b6a3be0dbce11f32e0 diff --git a/source.sh b/source.sh index aa7eed8..2ce2641 100644 --- a/source.sh +++ b/source.sh @@ -2,18 +2,10 @@ # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT -REPO="https://code.qt.io/qt/qtimageformats.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" -} - # The build function is executed in the source directory # This function is used to compile the source code build() { - cmake -B build -DCMAKE_MESSAGE_LOG_LEVEL=STATUS + cmake -B build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_MESSAGE_LOG_LEVEL=STATUS cmake --build build }