From 1e509861e66345875aea29738d2bc040b6ad831c Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sat, 27 Sep 2025 09:50:03 +0300 Subject: [PATCH] Update package version to 2.5.4 --- pkg.info | 17 ++++++++++++++--- source.sh | 10 ---------- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/pkg.info b/pkg.info index b8e091a..4fbc0c4 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,20 @@ name: openjpeg description: Official repository of the OpenJPEG project -version: 2.5.3 +version: 2.5.4 +revision: 1 url: https://github.com/uclouvain/openjpeg license: BSD-2-Clause,MIT architecture: any -depends: ["glibc","lcms2","libpng","libtiff"] -make_depends: ["cmake"] type: source +depends: + - glibc + - lcms2 + - libpng + - libtiff +make_depends: + - cmake +downloads: + - url: https://github.com/uclouvain/openjpeg/archive/v${BPM_PKG_VERSION}/openjpeg-${BPM_PKG_VERSION}.tar.gz + extract_to_bpm_source: true + extract_strip_components: 1 + checksum: a695fbe19c0165f295a8531b1e4e855cd94d0875d2f88ec4b61080677e27188a diff --git a/source.sh b/source.sh index 0d2ffdc..4065711 100644 --- a/source.sh +++ b/source.sh @@ -2,16 +2,6 @@ # 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 -DOWNLOAD="https://github.com/uclouvain/openjpeg/archive/v${BPM_PKG_VERSION}/openjpeg-${BPM_PKG_VERSION}.tar.gz" -FILENAME="${DOWNLOAD##*/}" - -# 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() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" -} - # The build function is executed in the source directory # This function is used to compile the source code build() {