Christian Hesse pushed to branch main at Arch Linux / Packaging / Packages /
libheif
Commits:
6a8237bc by Nikola Kocic at 2023-11-22T08:55:15+01:00
Add ffmpeg decoding support
- - - - -
1993e380 by Christian Hesse at 2023-11-22T09:00:07+01:00
upgpkg: 1.17.5-2: add ffmpeg decoding support
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,12 +1,13 @@
pkgbase = libheif
pkgdesc = An HEIF and AVIF file format decoder and encoder
pkgver = 1.17.5
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/strukturag/libheif
arch = x86_64
license = GPL3
makedepends = cmake
makedepends = dav1d
+ makedepends = ffmpeg
makedepends = gdk-pixbuf2
makedepends = libjpeg
makedepends = libpng
@@ -21,6 +22,7 @@ pkgbase = libheif
optdepends = libjpeg: for heif-convert and heif-enc
optdepends = libpng: for heif-convert and heif-enc
optdepends = dav1d: dav1d encoder
+ optdepends = ffmpeg: hardware decode
optdepends = rav1e: rav1e encoder
optdepends = svt-av1: svt-av1 encoder
source =
https://github.com/strukturag/libheif/releases/download/v1.17.5/libheif-1.17.5.tar.gz
=====================================
PKGBUILD
=====================================
@@ -3,13 +3,14 @@
pkgname=libheif
pkgver=1.17.5
-pkgrel=1
+pkgrel=2
pkgdesc='An HEIF and AVIF file format decoder and encoder'
arch=(x86_64)
url='https://github.com/strukturag/libheif'
license=(GPL3)
makedepends=(cmake
dav1d
+ ffmpeg
gdk-pixbuf2
libjpeg
libpng
@@ -24,6 +25,7 @@ depends=(aom
optdepends=('libjpeg: for heif-convert and heif-enc'
'libpng: for heif-convert and heif-enc'
'dav1d: dav1d encoder'
+ 'ffmpeg: hardware decode'
'rav1e: rav1e encoder'
'svt-av1: svt-av1 encoder')
source=(https://github.com/strukturag/libheif/releases/download/v$pkgver/libheif-$pkgver.tar.gz)
@@ -34,6 +36,8 @@ build() {
-DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_DAV1D=ON \
-DWITH_RAV1E=ON \
+ -DWITH_FFMPEG_DECODER=ON \
+ -DWITH_FFMPEG_DECODER_PLUGIN=ON \
-DWITH_SvtEnc=ON
cmake --build build
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/libheif/-/compare/88857d8b5d58ce15ac67f5633151587372bbf18f...1993e3802023ba96129a81ca07611342946ef64e
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/libheif/-/compare/88857d8b5d58ce15ac67f5633151587372bbf18f...1993e3802023ba96129a81ca07611342946ef64e
You're receiving this email because of your account on gitlab.archlinux.org.