diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2023-03-13 12:07:23 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2023-03-13 12:53:51 +0000 |
commit | 1801dc29cec97e9e775df960d0be019bd7ca6fc4 (patch) | |
tree | 8b05734131e882ff86b42202dddcd827d95b345c | |
parent | a00eaca2d2009336904f5c21e7579379416cc812 (diff) | |
download | ports-1801dc29cec97e9e775df960d0be019bd7ca6fc4.tar.gz ports-1801dc29cec97e9e775df960d0be019bd7ca6fc4.zip |
graphics/libplacebo: update to 5.264.0
Changes: https://code.videolan.org/videolan/libplacebo/-/tags/v5.264.0
Reported by: Repology
-rw-r--r-- | graphics/libplacebo/Makefile | 6 | ||||
-rw-r--r-- | graphics/libplacebo/distinfo | 8 | ||||
-rw-r--r-- | graphics/libplacebo/files/patch-meson.build | 48 | ||||
-rw-r--r-- | graphics/libplacebo/pkg-plist | 3 | ||||
-rw-r--r-- | multimedia/dav1d/Makefile | 1 | ||||
-rw-r--r-- | multimedia/mpv/Makefile | 1 |
6 files changed, 28 insertions, 39 deletions
diff --git a/graphics/libplacebo/Makefile b/graphics/libplacebo/Makefile index 47a502b7c419..73c0ac531184 100644 --- a/graphics/libplacebo/Makefile +++ b/graphics/libplacebo/Makefile @@ -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 diff --git a/graphics/libplacebo/distinfo b/graphics/libplacebo/distinfo index 9a7627c28d76..7cfc89e1de33 100644 --- a/graphics/libplacebo/distinfo +++ b/graphics/libplacebo/distinfo @@ -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 diff --git a/graphics/libplacebo/files/patch-meson.build b/graphics/libplacebo/files/patch-meson.build index 2b64ece9f49e..078bd7a32638 100644 --- a/graphics/libplacebo/files/patch-meson.build +++ b/graphics/libplacebo/files/patch-meson.build @@ -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 diff --git a/graphics/libplacebo/pkg-plist b/graphics/libplacebo/pkg-plist index f280b962aae6..44d18901eb70 100644 --- a/graphics/libplacebo/pkg-plist +++ b/graphics/libplacebo/pkg-plist @@ -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 diff --git a/multimedia/dav1d/Makefile b/multimedia/dav1d/Makefile index d312d2b7c566..43a050e99823 100644 --- a/multimedia/dav1d/Makefile +++ b/multimedia/dav1d/Makefile @@ -1,5 +1,6 @@ PORTNAME= dav1d DISTVERSION= 1.1.0 +PORTREVISION= 1 CATEGORIES= multimedia MAINTAINER= jbeich@FreeBSD.org diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile index 4520682de98a..7adada462107 100644 --- a/multimedia/mpv/Makefile +++ b/multimedia/mpv/Makefile @@ -1,6 +1,7 @@ PORTNAME= mpv DISTVERSIONPREFIX= v DISTVERSION= 0.35.1 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= multimedia audio |