Update package version to 1.12.5

This commit is contained in:
2025-09-17 12:12:24 +03:00
parent 8c839ced3a
commit 00f65a1e58
3 changed files with 21 additions and 3 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
# Sourceforge project
REPO="enlightenment"
# Get version using best_release.json
VERSION=$(curl -s -L https://sourceforge.net/projects/"$REPO"/best_release.json | jq '.platform_releases.linux.filename' | cut -d'/' -f3)
echo "$VERSION"
+4 -2
View File
@@ -1,8 +1,10 @@
name: imlib2 name: imlib2
description: Image file loading saving rendering and manipulation library description: Image file loading saving rendering and manipulation library
version: 1.12.2 version: 1.12.5
url: https://sourceforge.net/projects/enlightenment/ url: https://sourceforge.net/projects/enlightenment/
license: BSD license: BSD
architecture: any architecture: any
depends: ["bzip2","freetype2","giflib","libjpeg-turbo","libpng","libxext","xz-utils"] depends: ["bzip2","freetype2","giflib","libjpeg-turbo","libpng","libtiff","libxext","xz-utils"]
optional_depends: ["libjxl","librsvg","libwebp","openjpeg"]
make_depends: ["highway","libjxl","librsvg","libwebp","openjpeg"]
type: source type: source
+8 -1
View File
@@ -15,15 +15,22 @@ prepare() {
# The build function is executed in the source directory # The build function is executed in the source directory
# This function is used to compile the source code # This function is used to compile the source code
build() { build() {
./configure --prefix=/usr --disable-static ./configure --prefix=/usr --disable-static --enable-adm64
make make
} }
# The check function is executed in the source directory
# This function is used to run tests to verify the package has been compiled correctly
check() {
make check
}
# The package function is executed in the source directory # The package function is executed in the source directory
# This function is used to move the compiled files into the output directory # This function is used to move the compiled files into the output directory
package() { package() {
make DESTDIR="$BPM_OUTPUT" install make DESTDIR="$BPM_OUTPUT" install
# Install package license
install -Dm644 "$BPM_SOURCE"/COPYING-PLAIN "$BPM_OUTPUT"/usr/share/licenses/imlib2/COPYING-PLAIN install -Dm644 "$BPM_SOURCE"/COPYING-PLAIN "$BPM_OUTPUT"/usr/share/licenses/imlib2/COPYING-PLAIN
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/imlib2/COPYING install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/imlib2/COPYING
} }