Switch to new download format, rebuild with libheif and automatic stripping
This commit is contained in:
@@ -1,10 +1,35 @@
|
|||||||
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.5
|
version: 1.12.5
|
||||||
|
revision: 2
|
||||||
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","libtiff","libxext","xz-utils"]
|
|
||||||
optional_depends: ["libjxl","librsvg","libwebp","openjpeg"]
|
|
||||||
make_depends: ["highway","libjxl","librsvg","libwebp","openjpeg"]
|
|
||||||
type: source
|
type: source
|
||||||
|
depends:
|
||||||
|
- bzip2
|
||||||
|
- freetype2
|
||||||
|
- giflib
|
||||||
|
- libjpeg-turbo
|
||||||
|
- libpng
|
||||||
|
- libtiff
|
||||||
|
- libxext
|
||||||
|
- xz-utils
|
||||||
|
optional_depends:
|
||||||
|
- libheif
|
||||||
|
- libjxl
|
||||||
|
- librsvg
|
||||||
|
- libwebp
|
||||||
|
- openjpeg
|
||||||
|
make_depends:
|
||||||
|
- highway
|
||||||
|
- libheif
|
||||||
|
- libjxl
|
||||||
|
- librsvg
|
||||||
|
- libwebp
|
||||||
|
- openjpeg
|
||||||
|
downloads:
|
||||||
|
- url: https://downloads.sourceforge.net/project/enlightenment/imlib2-src/${BPM_PKG_VERSION}/imlib2-${BPM_PKG_VERSION}.tar.xz
|
||||||
|
extract_to: ${BPM_SOURCE}
|
||||||
|
extract_strip_components: 1
|
||||||
|
checksum: fa2315f28379b430a6e6605b4284b07be06a3ef422d4f5e1c9bb24714c4cf6dd
|
||||||
|
|||||||
@@ -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 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
|
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||||
|
|
||||||
DOWNLOAD="https://downloads.sourceforge.net/enlightenment/imlib2-${BPM_PKG_VERSION}.tar.xz"
|
|
||||||
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
|
# 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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user