package/libvdpau: bump to version 1.3
PATCH 1/1 package/libvdpau: bump to version 1.3
- Switch to meson-package
- Drop second patch (not needed anymore)
- Drop third patch (after feedback from upstream:
https://gitlab.freedesktop.org/vdpau/libvdpau/merge_requests/5)
- Disable documentation
Signed-off-by Fabrice Fontaine <[email protected]>
--- package/libvdpau/0002-link-with-libx11.patch | 33 ------------- .../0003-vdpau-module-searchpath.patch | 48 ------------------- package/libvdpau/libvdpau.hash | 6 +-- package/libvdpau/libvdpau.mk | 18 +++---- 4 files changed, 12 insertions(+), 93 deletions(-) delete mode 100644 package/libvdpau/0002-link-with-libx11.patch delete mode 100644 package/libvdpau/0003-vdpau-module-searchpath.patch
package/libvdpau/0002-link-with-libx11.patch deleted +0 -33
@@ -1,33 +0,0 @@ -Subject: Link libvdpao with libX11 since it uses symbols from it -Author: Russ Allbery <[email protected]> -Forwarded: no - -libvdpau uses the symbols: - - _XEatData - _XReply - _XFlush - _XReadPad - XFree - -which are provided by libX11, but wasn't linking with it directly, resulting -in warnings during the package build (and possibly errors later with better -linkers). - -[Patch taken from -https://anonscm.debian.org/cgit/pkg-nvidia/libvdpau.git/tree/debian/patches/link-with-libx11.patch.] - -Signed-off-by: Damien Lanson <[email protected]> - ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -22,7 +22,8 @@ endif - libvdpau_la_LIBADD = \ - $(DLOPEN_LIBS) \ - $(PTHREAD_LIBS) \ -- $(XEXT_LIBS) -+ $(XEXT_LIBS) \ -+ $(X11_LIBS) - - libvdpau_la_LDFLAGS = -version-info 1:0:0 -no-undefined -
package/libvdpau/0003-vdpau-module-searchpath.patch deleted +0 -48
48 lines not on this page · raw message
package/libvdpau/libvdpau.hash +3 -3
@@ -1,5 +1,5 @@ -# From https://lists.x.org/archives/xorg-announce/2019-February/002958.html -sha256 6a499b186f524e1c16b4f5b57a6a2de70dfceb25c4ee546515f26073cd33fa06 libvdpau-1.2.tar.bz2 -sha512 86aa3f2a39cb73a597bf417da2eeef73ff01160ed9f54dff3725785ff5a289f47040496de44e2f5292d59657d4746e369b3fa307c4f83a32f7cc28e4cd8bce6f libvdpau-1.2.tar.bz2 +# From https://lists.x.org/archives/xorg-announce/2019-August/003021.html +sha256 b5a52eeac9417edbc396f26c40591ba5df0cd18285f68d84614ef8f06196e50e libvdpau-1.3.tar.bz2 +sha512 c06c23062816e8b207d38d9d53df43a1b193bb9836b48bd6d79a63d76522e87d383c446285b9877fe9c99faa0d290da8a49ccbb58eefa138cc38d0929a8e1330 libvdpau-1.3.tar.bz2 # Locally computed sha256 ce4af7294872ff07f6e82ae5f1f5eba926215b1e2fb6d55d64759de082458d61 COPYING
package/libvdpau/libvdpau.mk +9 -9
@@ -4,25 +4,25 @@ # ################################################################################ -LIBVDPAU_VERSION = 1.2 +LIBVDPAU_VERSION = 1.3 LIBVDPAU_SOURCE = libvdpau-$(LIBVDPAU_VERSION).tar.bz2 -LIBVDPAU_SITE = http://people.freedesktop.org/~aplattner/vdpau +LIBVDPAU_SITE = \ + https://gitlab.freedesktop.org/vdpau/libvdpau/-/archive/$(LIBVDPAU_VERSION) LIBVDPAU_LICENSE = MIT LIBVDPAU_LICENSE_FILES = COPYING LIBVDPAU_INSTALL_STAGING = YES -# autoreconf for patch 0002-link-with-libx11.patch -LIBVDPAU_AUTORECONF = YES - LIBVDPAU_DEPENDENCIES = host-pkgconf xlib_libX11 xlib_libXext -LIBVDPAU_CONF_OPTS = --with-module-dir=/usr/lib/vdpau +LIBVDPAU_CONF_OPTS = \ + -Ddocumentation=false \ + -Dmoduledir=/usr/lib/vdpau ifeq ($(BR2_PACKAGE_XORGPROTO),y) LIBVDPAU_DEPENDENCIES += xorgproto -LIBVDPAU_CONF_OPTS += --enable-dri2 +LIBVDPAU_CONF_OPTS += -Ddri2=true else -LIBVDPAU_CONF_OPTS += --disable-dri2 +LIBVDPAU_CONF_OPTS += -Ddri2=false endif -$(eval $(autotools-package)) +$(eval $(meson-package))
Signature · 1 line
2.24.0
Thomas Petazzoni
AppliedPATCH 1/1 package/libvdpau: bump to version 1.3
Quoted 7 lines · On Sat, 21 Dec 2019 17:17:18 +0100 Fabrice Fontaine…
- Switch to meson-package
- Drop second patch (not needed anymore)
- Drop third patch (after feedback from upstream:
https://gitlab.freedesktop.org/vdpau/libvdpau/merge_requests/5)
- Disable documentationSigned-off-by Fabrice Fontaine <[email protected]>
Quoted 8 lines
--- package/libvdpau/0002-link-with-libx11.patch | 33 ------------- .../0003-vdpau-module-searchpath.patch | 48 ------------------- package/libvdpau/libvdpau.hash | 6 +-- package/libvdpau/libvdpau.mk | 18 +++---- 4 files changed, 12 insertions(+), 93 deletions(-) delete mode 100644 package/libvdpau/0002-link-with-libx11.patch delete mode 100644 package/libvdpau/0003-vdpau-module-searchpath.patch
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com