Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
archrelease: copy trunk to extra-x86_64
Browse files Browse the repository at this point in the history
git-svn-id: file:///srv/repos/svn-packages/svn@476362 eb2447ed-0c53-47e4-bac8-5bc4a241df78
  • Loading branch information
antonio-rojas committed May 2, 2023
1 parent 51da04a commit ef51311
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions libheif/repos/extra-x86_64/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,26 @@
# Contributor: Adam Fontenot <fontenot@ucla.edu>

pkgname=libheif
pkgver=1.15.2
pkgver=1.16.1
pkgrel=1
pkgdesc='HEIF file format decoder and encoder'
arch=(x86_64)
url='https://github.com/strukturag/libheif'
license=(GPL3)
makedepends=(libjpeg libpng gdk-pixbuf2)
depends=(libde265 x265 aom)
optdepends=('libjpeg: for heif-convert and heif-enc' 'libpng: for heif-convert and heif-enc')
makedepends=(cmake libjpeg libpng gdk-pixbuf2 svt-av1 rav1e)
depends=(libde265 x265 aom dav1d)
optdepends=('libjpeg: for heif-convert and heif-enc' 'libpng: for heif-convert and heif-enc'
'svt-av1: svt-av1 encoder' 'rav1e: rav1e encoder')
source=(https://github.com/strukturag/libheif/releases/download/v$pkgver/libheif-$pkgver.tar.gz)
sha256sums=('7a4c6077f45180926583e2087571371bdd9cb21b6e6fada85a6fbd544f26a0e2')
sha256sums=('7760110c76844a4c2d77cc1efe186f1b8c55b16189f97ed258e3c006db84b8e3')

build() {
cd $pkgname-$pkgver
./configure \
--prefix=/usr \
--enable-static=no
make
cmake -B build -S $pkgname-$pkgver\
-DCMAKE_INSTALL_PREFIX=/usr \
-DAOM_ENCODER=ON
cmake --build build
}

package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
DESTDIR="$pkgdir" cmake --install build
}

0 comments on commit ef51311

Please sign in to comment.