1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

graphics/libplacebo: update to 5.264.0

Changes:	https://code.videolan.org/videolan/libplacebo/-/tags/v5.264.0
Reported by:	Repology
This commit is contained in:
Jan Beich 2023-03-13 12:07:23 +00:00
parent a00eaca2d2
commit 1801dc29ce
6 changed files with 28 additions and 39 deletions

View File

@ -1,12 +1,8 @@
PORTNAME= libplacebo
DISTVERSIONPREFIX= v
DISTVERSION= 5.229.2
PORTREVISION= 1
DISTVERSION= 5.264.0
CATEGORIES= graphics
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES+= baec0e53c959.patch:-p1 # https://code.videolan.org/videolan/libplacebo/-/issues/249
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Reusable library for GPU-accelerated video/image rendering
WWW= https://code.videolan.org/videolan/libplacebo

View File

@ -1,7 +1,5 @@
TIMESTAMP = 1672849094
SHA256 (haasn-libplacebo-v5.229.2_GH0.tar.gz) = 1c67bec76832c7a42242570798cc96a3f58a70be79daa84ade628d5bce749c84
SIZE (haasn-libplacebo-v5.229.2_GH0.tar.gz) = 673761
TIMESTAMP = 1678709243
SHA256 (haasn-libplacebo-v5.264.0_GH0.tar.gz) = 780e1c5d304a2c407b6709ac66e811bd1be03a769601f1dab41cf77c8519c668
SIZE (haasn-libplacebo-v5.264.0_GH0.tar.gz) = 725098
SHA256 (Dav1dde-glad-v2.0.1_GH0.tar.gz) = bbdfb8a2c8ea7fbad747dd91424fc9fc7bb22e1b95c7a5b451e68c3d9bd96d95
SIZE (Dav1dde-glad-v2.0.1_GH0.tar.gz) = 581028
SHA256 (baec0e53c959.patch) = 9a76a9f79658fef0bc41c3633cda2238c7ea7ea4606a21cd57c8745bc49a720b
SIZE (baec0e53c959.patch) = 5828

View File

@ -1,37 +1,29 @@
../src/colorspace.c:545:5: error: implicit declaration of function 'static_assert' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
pl_static_assert(sizeof(*pa) == sizeof(*orig));
^
../src/pl_assert.h:37:32: note: expanded from macro 'pl_static_assert'
#define pl_static_assert(expr) static_assert(expr, #expr)
^
../src/dummy.c:35:26: error: use of undeclared identifier 'max_align_t'
struct pl_gpu *gpu = pl_zalloc_obj(NULL, gpu, struct priv);
^
../src/pl_alloc.h:96:41: note: expanded from macro 'pl_zalloc_obj'
(__typeof__(ptr)) pl_zalloc(parent, PL_ALIGN_MEM(sizeof(*(ptr))) + sizeof(priv))
^
../src/pl_alloc.h:87:24: note: expanded from macro 'PL_ALIGN_MEM'
(((size) + alignof(max_align_t) - 1) & ~(alignof(max_align_t) - 1))
^
../src/dummy.c:35:26: warning: '_Alignof' applied to an expression is a GNU extension [-Wgnu-alignof-expression]
../src/pl_alloc.h:96:41: note: expanded from macro 'pl_zalloc_obj'
(__typeof__(ptr)) pl_zalloc(parent, PL_ALIGN_MEM(sizeof(*(ptr))) + sizeof(priv))
^
../src/pl_alloc.h:87:16: note: expanded from macro 'PL_ALIGN_MEM'
(((size) + alignof(max_align_t) - 1) & ~(alignof(max_align_t) - 1))
^
/usr/include/stdalign.h:46:19: note: expanded from macro 'alignof'
#define alignof _Alignof
^
../src/log.c:213:9: error: use of undeclared identifier 'Dl_info'
Dl_info info = {
^
../src/log.c:219:9: error: implicit declaration of function 'dladdr' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
dladdr((void *) (uintptr_t) ip, &info);
^
../src/log.c:219:42: error: use of undeclared identifier 'info'
dladdr((void *) (uintptr_t) ip, &info);
^
../src/log.c:221:75: error: use of undeclared identifier 'info'; did you mean 'int'?
depth++, ip, symbol, off, info.dli_fname, ip - (uintptr_t) info.dli_fbase);
^~~~
int
../src/log.c:221:75: error: expected expression
../src/log.c:221:42: error: use of undeclared identifier 'info'
depth++, ip, symbol, off, info.dli_fname, ip - (uintptr_t) info.dli_fbase);
^
--- meson.build.orig 2022-01-16 12:36:07 UTC
--- meson.build.orig 2023-03-13 12:07:23 UTC
+++ meson.build
@@ -71,7 +71,7 @@ cc = meson.get_compiler('c')
@@ -312,7 +312,7 @@ c_opts = [
cxx = meson.get_compiler('cpp')
c_opts = [
- '-D_ISOC99_SOURCE', '-D_ISOC11_SOURCE', '-D_GNU_SOURCE', '-D_XOPEN_SOURCE=700',
+ '-D_ISOC99_SOURCE', '-D_ISOC11_SOURCE', '-D_GNU_SOURCE',
'-U__STRICT_ANSI__', '-fvisibility=hidden', '-Wmissing-prototypes',
'-U__STRICT_ANSI__', '-Wmissing-prototypes',
# Warnings to ignore

View File

@ -23,11 +23,12 @@ include/libplacebo/swapchain.h
include/libplacebo/tone_mapping.h
include/libplacebo/utils/dav1d.h
include/libplacebo/utils/dav1d_internal.h
include/libplacebo/utils/dolbyvision.h
include/libplacebo/utils/frame_queue.h
include/libplacebo/utils/libav.h
include/libplacebo/utils/libav_internal.h
include/libplacebo/utils/upload.h
include/libplacebo/vulkan.h
lib/libplacebo.so
lib/libplacebo.so.229
lib/libplacebo.so.264
libdata/pkgconfig/libplacebo.pc

View File

@ -1,5 +1,6 @@
PORTNAME= dav1d
DISTVERSION= 1.1.0
PORTREVISION= 1
CATEGORIES= multimedia
MAINTAINER= jbeich@FreeBSD.org

View File

@ -1,6 +1,7 @@
PORTNAME= mpv
DISTVERSIONPREFIX= v
DISTVERSION= 0.35.1
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= multimedia audio