Skip to content

Commit 69f0b24

Browse files
authored
updated libheif to 1.16.2 (#109)
Signed-off-by: Alexander Piskun <[email protected]>
1 parent 5ac66d1 commit 69f0b24

File tree

9 files changed

+26
-29
lines changed

9 files changed

+26
-29
lines changed

.github/workflows/analysis-coverage.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ jobs:
196196
cp ${{ env.MSYS2_PREFIX }}/bin/libwinpthread-1.dll $site_packages/
197197
cp ${{ env.MSYS2_PREFIX }}/bin/libgcc_s_seh-1.dll $site_packages/
198198
cp ${{ env.MSYS2_PREFIX }}/bin/libstdc++-6.dll $site_packages/
199+
cp -ErrorAction SilentlyContinue ${{ env.MSYS2_PREFIX }}/bin/libsharpyuv-0.dll $site_packages/
199200
cp -ErrorAction SilentlyContinue ${{ env.MSYS2_PREFIX }}/bin/libdav1d.dll $site_packages/
200201
cp -ErrorAction SilentlyContinue ${{ env.MSYS2_PREFIX }}/bin/rav1e.dll $site_packages/
201202
cp -ErrorAction SilentlyContinue ${{ env.MSYS2_PREFIX }}/bin/libSvtAv1Enc.dll $site_packages/

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
All notable changes to this project will be documented in this file.
22

3-
## [0.11.2 - 2023-07-03]
3+
## [0.12.0 - 2023-07-08]
44

55
This release is fully compatible with `0.10.x+` versions.
66

@@ -11,6 +11,7 @@ This release is fully compatible with `0.10.x+` versions.
1111
### Changed
1212

1313
- `libde265`(HEIF decoder) updated from 1.0.11 to 1.0.12 version. [changelog](https://github.com/strukturag/libde265/releases/tag/v1.0.12)
14+
- `libheif` updated to `1.16.2`.
1415

1516
## Fixed
1617

LICENSES_bundled.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Binary wheels combine several license-compatible libraries. Here they are listed
55
Name: libheif
66
License: LGPLv3
77
Files: libheif.[dylib|so|dll]
8-
For details, see https://github.com/strukturag/libheif/tree/v1.15.2/COPYING
9-
Source code: https://github.com/strukturag/libheif/tree/v1.15.2
8+
For details, see https://github.com/strukturag/libheif/tree/v1.14.2/COPYING
9+
Source code: https://github.com/strukturag/libheif/tree/v1.16.2
1010

1111
Name: libde265
1212
License: LGPLv3

libheif/linux_build_libs.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@
44
from re import IGNORECASE, MULTILINE, match, search
55
from subprocess import DEVNULL, PIPE, STDOUT, CalledProcessError, TimeoutExpired, run
66

7+
# 1
78
BUILD_DIR = environ.get("BUILD_DIR", "/tmp/ph_build_stuff")
89
INSTALL_DIR_LIBS = environ.get("INSTALL_DIR_LIBS", "/usr")
910
PH_LIGHT_VERSION = sys.maxsize <= 2**32 or getenv("PH_LIGHT_ACTION", "0") != "0"
1011

1112
LIBX265_URL = "https://bitbucket.org/multicoreware/x265_git/get/0b75c44c10e605fe9e9ebed58f04a46271131827.tar.gz"
1213
LIBAOM_URL = "https://aomedia.googlesource.com/aom/+archive/v3.5.0.tar.gz"
1314
LIBDE265_URL = "https://github.com/strukturag/libde265/releases/download/v1.0.12/libde265-1.0.12.tar.gz"
14-
LIBHEIF_URL = "https://github.com/strukturag/libheif/releases/download/v1.15.2/libheif-1.15.2.tar.gz"
15+
LIBHEIF_URL = "https://github.com/strukturag/libheif/releases/download/v1.16.2/libheif-1.16.2.tar.gz"
1516

1617

1718
def download_file(url: str, out_path: str) -> bool:
@@ -190,7 +191,7 @@ def build_lib_linux(url: str, name: str, musl: bool = False):
190191
if name == "libheif":
191192
cmake_args += (
192193
"-DWITH_EXAMPLES=OFF -DWITH_RAV1E=OFF -DWITH_DAV1D=OFF -DWITH_SvtEnc=OFF"
193-
" -DENABLE_PLUGIN_LOADING=OFF".split()
194+
" -DWITH_LIBSHARPYUV=OFF -DENABLE_PLUGIN_LOADING=OFF".split()
194195
)
195196
_hide_build_process = False
196197
if musl:

libheif/macos/libheif.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
class Libheif < Formula
44
desc "ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"
55
homepage "https://www.libde265.org/"
6-
url "https://github.com/strukturag/libheif/releases/download/v1.15.2/libheif-1.15.2.tar.gz"
7-
sha256 "7a4c6077f45180926583e2087571371bdd9cb21b6e6fada85a6fbd544f26a0e2"
6+
url "https://github.com/strukturag/libheif/releases/download/v1.16.2/libheif-1.16.2.tar.gz"
7+
sha256 "7f97e4205c0bd9f9b8560536c8bd2e841d1c9a6d610401eb3eb87ed9cdfe78ea"
88
license "LGPL-3.0-only"
99
# Set current revision from what it was taken plus 10
1010
revision 10
@@ -23,6 +23,7 @@ def install
2323
-DWITH_RAV1E=OFF
2424
-DWITH_DAV1D=OFF
2525
-DWITH_SvtEnc=OFF
26+
-DWITH_LIBSHARPYUV=OFF
2627
-DENABLE_PLUGIN_LOADING=OFF
2728
-DCMAKE_INSTALL_RPATH=#{rpath}
2829
]

libheif/windows/mingw-w64-libheif/PKGBUILD

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
_realname=libheif
55
pkgbase=mingw-w64-${_realname}
66
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
7-
pkgver=1.15.2
8-
pkgrel=1
7+
pkgver=1.16.2
8+
pkgrel=2
99
pkgdesc="HEIF image decoder/encoder library and tools (mingw-w64)"
1010
arch=('any')
1111
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
1212
url="https://github.com/strukturag/libheif"
13-
license=('spdx:LGPL-3.0' 'MIT')
13+
license=('spdx:LGPL-3.0' 'spdx:MIT')
1414
makedepends=("${MINGW_PACKAGE_PREFIX}-cmake"
1515
"${MINGW_PACKAGE_PREFIX}-ninja"
1616
"${MINGW_PACKAGE_PREFIX}-gdk-pixbuf2"
@@ -20,14 +20,9 @@ depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
2020
"${MINGW_PACKAGE_PREFIX}-libde265"
2121
"${MINGW_PACKAGE_PREFIX}-x265")
2222
source=("https://github.com/strukturag/libheif/releases/download/v${pkgver}/${_realname}-${pkgver}.tar.gz")
23-
sha256sums=('7a4c6077f45180926583e2087571371bdd9cb21b6e6fada85a6fbd544f26a0e2')
24-
25-
prepare() {
26-
cd "${srcdir}/${_realname}-${pkgver}"
27-
}
23+
sha256sums=('7f97e4205c0bd9f9b8560536c8bd2e841d1c9a6d610401eb3eb87ed9cdfe78ea')
2824

2925
build() {
30-
[[ -d "${srcdir}"/build-${MSYSTEM} ]] && rm -rf "${srcdir}"/build-${MSYSTEM}
3126
mkdir -p "${srcdir}"/build-${MSYSTEM} && cd "${srcdir}"/build-${MSYSTEM}
3227

3328
declare -a extra_config
@@ -43,6 +38,7 @@ build() {
4338
-DWITH_RAV1E=OFF \
4439
-DWITH_DAV1D=OFF \
4540
-DWITH_SvtEnc=OFF \
41+
-DWITH_LIBSHARPYUV=OFF \
4642
-DENABLE_PLUGIN_LOADING=OFF \
4743
-DX265_CFLAGS="-DX265_API_IMPORTS" \
4844
../${_realname}-${pkgver}

pi-heif/LICENSES_bundled.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Binary wheels combine several license-compatible libraries. Here they are listed
55
Name: libheif
66
License: LGPLv3
77
Files: libheif.[dylib|so|dll]
8-
For details, see https://github.com/strukturag/libheif/tree/v1.15.2/COPYING
9-
Source code: https://github.com/strukturag/libheif/tree/v1.15.2
8+
For details, see https://github.com/strukturag/libheif/tree/v1.14.2/COPYING
9+
Source code: https://github.com/strukturag/libheif/tree/v1.16.2
1010

1111
Name: libde265
1212
License: LGPLv3

pi-heif/libheif/macos/libheif.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
class Libheif < Formula
44
desc "ISO/IEC 23008-12:2017 HEIF file format decoder and encoder"
55
homepage "https://www.libde265.org/"
6-
url "https://github.com/strukturag/libheif/releases/download/v1.15.2/libheif-1.15.2.tar.gz"
7-
sha256 "7a4c6077f45180926583e2087571371bdd9cb21b6e6fada85a6fbd544f26a0e2"
6+
url "https://github.com/strukturag/libheif/releases/download/v1.16.2/libheif-1.16.2.tar.gz"
7+
sha256 "7f97e4205c0bd9f9b8560536c8bd2e841d1c9a6d610401eb3eb87ed9cdfe78ea"
88
license "LGPL-3.0-only"
99
# Set current revision from what it was taken plus 10
1010
revision 10
@@ -20,6 +20,7 @@ def install
2020
-DWITH_SvtEnc=OFF
2121
-DWITH_AOM=OFF
2222
-DWITH_X265=OFF
23+
-DWITH_LIBSHARPYUV=OFF
2324
-DENABLE_PLUGIN_LOADING=OFF
2425
-DCMAKE_INSTALL_RPATH=#{rpath}
2526
]

pi-heif/libheif/windows/mingw-w64-libheif/PKGBUILD

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,23 @@
44
_realname=libheif
55
pkgbase=mingw-w64-${_realname}
66
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
7-
pkgver=1.15.2
8-
pkgrel=1
7+
pkgver=1.16.2
8+
pkgrel=2
99
pkgdesc="HEIF image decoder/encoder library and tools (mingw-w64)"
1010
arch=('any')
1111
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32' 'clangarm64')
1212
url="https://github.com/strukturag/libheif"
13-
license=('spdx:LGPL-3.0' 'MIT')
13+
license=('spdx:LGPL-3.0' 'spdx:MIT')
1414
makedepends=("${MINGW_PACKAGE_PREFIX}-cmake"
1515
"${MINGW_PACKAGE_PREFIX}-ninja"
1616
"${MINGW_PACKAGE_PREFIX}-gdk-pixbuf2"
1717
"${MINGW_PACKAGE_PREFIX}-cc")
1818
depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs"
1919
"${MINGW_PACKAGE_PREFIX}-libde265")
2020
source=("https://github.com/strukturag/libheif/releases/download/v${pkgver}/${_realname}-${pkgver}.tar.gz")
21-
sha256sums=('7a4c6077f45180926583e2087571371bdd9cb21b6e6fada85a6fbd544f26a0e2')
22-
23-
prepare() {
24-
cd "${srcdir}/${_realname}-${pkgver}"
25-
}
21+
sha256sums=('7f97e4205c0bd9f9b8560536c8bd2e841d1c9a6d610401eb3eb87ed9cdfe78ea')
2622

2723
build() {
28-
[[ -d "${srcdir}"/build-${MSYSTEM} ]] && rm -rf "${srcdir}"/build-${MSYSTEM}
2924
mkdir -p "${srcdir}"/build-${MSYSTEM} && cd "${srcdir}"/build-${MSYSTEM}
3025

3126
declare -a extra_config
@@ -42,6 +37,7 @@ build() {
4237
-DWITH_AOM=OFF \
4338
-DWITH_X265=OFF \
4439
-DWITH_SvtEnc=OFF \
40+
-DWITH_LIBSHARPYUV=OFF \
4541
-DENABLE_PLUGIN_LOADING=OFF \
4642
../${_realname}-${pkgver}
4743

0 commit comments

Comments
 (0)