extra/openexr to 3.3.2-1

This commit is contained in:
Kevin Mihelich 2024-11-13 00:23:36 +00:00
parent 8322aa88eb
commit e5a8d73a5e
2 changed files with 11 additions and 9 deletions

View file

@ -1,16 +1,17 @@
pkgbase = openexr
pkgdesc = A high dynamic-range image file format library
pkgver = 3.2.4
pkgver = 3.3.2
pkgrel = 1
url = https://www.openexr.com/
arch = x86_64
license = BSD-3-Clause
makedepends = cmake
makedepends = git
depends = gcc-libs
depends = glibc
depends = imath
depends = libdeflate
source = https://github.com/openexr/openexr/archive/v3.2.4/openexr-3.2.4.tar.gz
sha256sums = 81e6518f2c4656fdeaf18a018f135e96a96e7f66dbe1c1f05860dd94772176cc
source = git+https://github.com/openexr/openexr#tag=v3.3.2
sha256sums = 549c95f71f36f7e6164828f6646b1ec1c4efff6994431416d9a7884345c5ab55
pkgname = openexr

View file

@ -4,7 +4,7 @@
# - build v7 with vfpv3, neon is broken
pkgname=openexr
pkgver=3.2.4
pkgver=3.3.2
pkgrel=1
pkgdesc='A high dynamic-range image file format library'
url='https://www.openexr.com/'
@ -14,13 +14,14 @@ depends=(gcc-libs
glibc
imath
libdeflate)
makedepends=(cmake)
source=(https://github.com/openexr/openexr/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
sha256sums=('81e6518f2c4656fdeaf18a018f135e96a96e7f66dbe1c1f05860dd94772176cc')
makedepends=(cmake
git)
source=(git+https://github.com/openexr/openexr#tag=v$pkgver)
sha256sums=('549c95f71f36f7e6164828f6646b1ec1c4efff6994431416d9a7884345c5ab55')
build() {
[[ $CARCH == "armv7h" ]] && CFLAGS=`echo $CFLAGS | sed -e 's/neon/vfpv3/'` && CXXFLAGS="$CFLAGS"
cmake -B build -S $pkgname-$pkgver \
cmake -B build -S $pkgname \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=None
cmake --build build
@ -28,5 +29,5 @@ build() {
package() {
DESTDIR="$pkgdir" cmake --install build
install -Dm644 $pkgname-$pkgver/LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname
install -Dm644 $pkgname/LICENSE.md -t "$pkgdir"/usr/share/licenses/$pkgname
}