* add libultrahdr
This commit is contained in:
parent
fdb81c6014
commit
d3706a6676
18
libultrahdr/.SRCINFO
Normal file
18
libultrahdr/.SRCINFO
Normal file
@ -0,0 +1,18 @@
|
||||
pkgbase = libultrahdr
|
||||
pkgdesc = The reference codec for the Ultra HDR format
|
||||
pkgver = 1.2.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/google/libultrahdr
|
||||
arch = x86_64
|
||||
arch = riscv64
|
||||
license = Apache-2.0
|
||||
makedepends = cmake
|
||||
makedepends = git
|
||||
depends = gcc-libs
|
||||
depends = glibc
|
||||
depends = libglvnd
|
||||
depends = libjpeg-turbo
|
||||
source = git+https://github.com/google/libultrahdr#tag=v1.2.0
|
||||
sha256sums = da991e3f02ef9b9dc7a269c7a29aa2932f45d4f8e1284d96f9a100ab209fd93a
|
||||
|
||||
pkgname = libultrahdr
|
4
libultrahdr/.nvchecker.toml
Normal file
4
libultrahdr/.nvchecker.toml
Normal file
@ -0,0 +1,4 @@
|
||||
[libultrahdr]
|
||||
source = "git"
|
||||
git = "https://github.com/google/libultrahdr.git"
|
||||
prefix = 'v'
|
35
libultrahdr/PKGBUILD
Normal file
35
libultrahdr/PKGBUILD
Normal file
@ -0,0 +1,35 @@
|
||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
||||
# Maintainer: Daniel Bermond <dbermond@archlinux.org>
|
||||
|
||||
pkgname=libultrahdr
|
||||
pkgver=1.2.0
|
||||
pkgrel=1
|
||||
pkgdesc='The reference codec for the Ultra HDR format'
|
||||
arch=(x86_64 riscv64)
|
||||
url='https://github.com/google/libultrahdr'
|
||||
license=(Apache-2.0)
|
||||
depends=(gcc-libs
|
||||
glibc
|
||||
libglvnd
|
||||
libjpeg-turbo)
|
||||
makedepends=(cmake
|
||||
git)
|
||||
source=(git+https://github.com/google/libultrahdr#tag=v$pkgver)
|
||||
sha256sums=('da991e3f02ef9b9dc7a269c7a29aa2932f45d4f8e1284d96f9a100ab209fd93a')
|
||||
|
||||
build() {
|
||||
cmake -B build -S $pkgname \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DUHDR_BUILD_TESTS=ON \
|
||||
-Wno-dev
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
check() {
|
||||
ctest --test-dir build --output-on-failure
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user