Package Details: libheif-git 1.16.2.r88.g003a55e-1

Git Clone URL: https://aur.archlinux.org/libheif-git.git (read-only, click to copy)
Package Base: libheif-git
Description: HEIF and AVIF file format decoder and encoder (git version)
Upstream URL: https://github.com/strukturag/libheif/
Licenses: MIT, LGPL3
Conflicts: libheif
Provides: libheif
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 0
Popularity: 0.000000
First Submitted: 2018-06-20 15:16 (UTC)
Last Updated: 2023-06-20 22:08 (UTC)

Dependencies (17)

Required by (83)

Sources (1)

Latest Comments

dbermond commented on 2023-06-20 22:10 (UTC)

@PranshuTG @NeWolf @jrd Package updated. Building fine now, with latest upstream changes applied. Thanks for the interest.

jrd commented on 2023-06-01 07:48 (UTC)

Here are my prepare, build and package statement:

prepare() {
    cd libheif
    # create a license file for the executable tools (lincensed under the MIT license)
    sed -n '/MIT[[:space:]]License$/,/^[[:space:]]*SOFTWARE\.$/p' examples/encoder.cc > LICENSE.tools
    sed -i 's/^[[:space:]]*//' LICENSE.tools
}
build() {
    cd libheif
    mkdir build
    cd build
    cmake --preset=release -DCMAKE_INSTALL_PREFIX=/usr ..
    make
}

package() {
    make -C libheif/build DESTDIR="$pkgdir" install
    install -D -m644 libheif/LICENSE.tools -t "${pkgdir}/usr/share/licenses/${pkgname}"
}

NeWolf commented on 2023-05-16 11:12 (UTC)

got exactly the same error:

[newolf@manjaro libheif-git]$ makepkg -si
==> Making package: libheif-git 1.10.0.r0.g667eeab-1 (вт, 16-тра-2023 14:10:36 +0300)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning libheif git repo...
Cloning into bare repository '/home/newolf/wine-stable/lib32-libgphoto2/lib32-gd/lib32-libheif/libheif-git/libheif'...
remote: Enumerating objects: 13867, done.
remote: Counting objects: 100% (4028/4028), done.
remote: Compressing objects: 100% (305/305), done.
remote: Total 13867 (delta 3851), reused 3785 (delta 3721), pack-reused 9839
Receiving objects: 100% (13867/13867), 7.27 MiB | 10.45 MiB/s, done.
Resolving deltas: 100% (10328/10328), done.
==> Validating source files with sha256sums...
    libheif ... Skipped
==> Extracting sources...
  -> Creating working copy of libheif git repo...
Cloning into 'libheif'...
done.
==> Starting prepare()...
/home/newolf/wine-stable/lib32-libgphoto2/lib32-gd/lib32-libheif/libheif-git/PKGBUILD: line 22: ./autogen.sh: No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...

PranshuTG commented on 2023-05-15 13:32 (UTC)

libheif's build method has changed, there is no longer a ./autogen.sh script.

Documents/projects/libheif-git  master ✗                                                                                                  2y140d ◒
▶ makepkg -si
==> Making package: libheif-git 1.10.0.r0.g667eeab-1 (Mon May 15 16:32:20 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating libheif git repo...
==> Validating source files with sha256sums...
    libheif ... Skipped
==> Extracting sources...
  -> Creating working copy of libheif git repo...
Switched to a new branch 'makepkg'
==> Starting prepare()...
/home/pranshutg/Documents/projects/libheif-git/PKGBUILD: line 22: ./autogen.sh: No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...

dbermond commented on 2022-08-05 15:31 (UTC)

@JDAturbo I've just checked, and the package is building fine for me. I do not have a clue about what can be causing your error. Try to build the package in a clean chroot.

JDAturbo commented on 2022-08-02 12:29 (UTC)

I'm getting this error:

heif-test.go:39:2: no required module provides package github.com/strukturag/libheif/go/heif: go.mod file not found in current directory or any parent directory; see 'go help modules'

make[2]: *** [Makefile:1204: heif-test-go] Error 1

unmellow commented on 2020-09-13 06:13 (UTC)

thank you for the next day update and for finding a better solution to my problem

dbermond commented on 2020-09-12 01:47 (UTC)

@unmellow This would build rav1e from rust sources and link against static rav1e library. Upstream should allow linking to system rav1e instead.

I have added avif support through aom, which links to the system aom shared library.

unmellow commented on 2020-09-11 19:04 (UTC)


chmod +x ./third-party/rav1e.cmd ./third-party/rav1e.cmd

add these to the build step before ./configure for AVIF support