Package Details: libheif-git 1.18.0rc1.r0.g7b6c39c2-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, LGPL-3.0-or-later
Conflicts: libheif
Provides: libheif
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 2
Popularity: 0.111140
First Submitted: 2018-06-20 15:16 (UTC)
Last Updated: 2024-06-27 03:10 (UTC)

Required by (93)

Sources (1)

Latest Comments

1 2 Next › Last »

dbermond commented on 2024-06-27 03:11 (UTC)

@Ranguvar package updated to match the latest upstream changes. Thanks for reporting.

Ranguvar commented on 2024-06-26 22:32 (UTC) (edited on 2024-06-26 22:40 (UTC) by Ranguvar)

Looks like libheif/exmaples/heif_convert.cc is missing:

[100%] Built target heif-enc

sed: can't read libheif/examples/heif_convert.cc: No such file or directory

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.