diff --git a/pkg.info b/pkg.info index c160189..2cc13b7 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,35 @@ name: imlib2 description: Image file loading saving rendering and manipulation library version: 1.12.5 +revision: 2 url: https://sourceforge.net/projects/enlightenment/ license: BSD 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 +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 diff --git a/source.sh b/source.sh index 6b7d617..19c5123 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://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 # This function is used to compile the source code build() {