Sync from SUSE:SLFO:Main libnvidia-egl-wayland revision 3c86498d1aae0af86a580b0d46c4011e

This commit is contained in:
Adrian Schröter 2024-05-03 15:23:47 +02:00
commit 42d78ccddb
5 changed files with 205 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
baselibs.conf Normal file
View File

@ -0,0 +1 @@
libnvidia-egl-wayland1

BIN
egl-wayland-1.1.11.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,73 @@
-------------------------------------------------------------------
Fri Nov 4 19:38:35 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>
- update to version 1.1.11
* latest bugfix release
- supersedes
* U_0001-wayland-Fail-eglGetDisplay-if-wl_drm-is-not-availabl.patch
* U_0002-generate-wayland-drm-client-protocol.h.patch
* U_0003-egl-wayland-retrieve-DRM-device-name-before-acquirin.patch
-------------------------------------------------------------------
Thu Apr 21 12:46:29 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>
- U_0001-wayland-Fail-eglGetDisplay-if-wl_drm-is-not-availabl.patch
U_0002-generate-wayland-drm-client-protocol.h.patch
U_0003-egl-wayland-retrieve-DRM-device-name-before-acquirin.patch
* add latest fixes (U_0003-egl-wayland ... fixes boo#1195598)
-------------------------------------------------------------------
Thu Apr 14 08:37:33 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>
- baselibs.conf
* Add 32-bit package variants. These are required for any EGL-using
32-bit wayland binary (which is pretty much all of them) to work
at all: without it, running any 32-bit game under wayland will
segfault on startup. With SDL 2.0.22 planning to use wayland by
default, this is pretty important, as all 32-bit SDL programs will
break.
-------------------------------------------------------------------
Mon Jan 10 14:19:00 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>
- update to version 1.1.9, which is needed by new 5xx.yy.zz
Nvidia driver (upcoming G06 driver series)
-------------------------------------------------------------------
Mon Sep 27 13:49:26 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
- needed for jira#SLE/SLE-19965, jira#SLE/SLE-19964, jira#SLE/SLE-18653
-------------------------------------------------------------------
Sun Jul 4 17:10:01 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
- Use better tarball URL
- Run spec-cleaner
-------------------------------------------------------------------
Thu Jul 1 22:28:26 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
- added webpage for source tarballs to specfile
-------------------------------------------------------------------
Thu Jul 1 16:03:04 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Throw out ancient specfile constructs like BuildRoot and
defattr that have had proper defaults for long. Use more of the
contemporary macros, and drop all the nonstandard CFLAGS/LDFLAGS,
drop the unconditional strip calls.
-------------------------------------------------------------------
Thu Jul 1 12:58:02 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
- added missing copyright to specfile
-------------------------------------------------------------------
Thu Jul 1 11:32:48 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>
- tried to address checkin policy issues for factory
-------------------------------------------------------------------
Thu Jul 1 09:52:18 UTC 2021 - Alexander Evseev <aevseev@gmail.com> - 1.1.7
- First build. Version - 1.1.7

105
libnvidia-egl-wayland.spec Normal file
View File

@ -0,0 +1,105 @@
#
# spec file for package libnvidia-egl-wayland
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define so_ver 1
%define lname libnvidia-egl-wayland%{so_ver}
%define rname egl-wayland
Name: libnvidia-egl-wayland
Version: 1.1.11
Release: 0
Summary: The EGLStream-based Wayland external platform
License: MIT
Group: Development/Libraries/C and C++
URL: https://github.com/NVIDIA/egl-wayland
Source0: https://github.com/NVIDIA/egl-wayland/archive/%{version}/%{rname}-%{version}.tar.gz
Source1: baselibs.conf
BuildRequires: gcc-c++
BuildRequires: meson >= 0.50
BuildRequires: ninja
BuildRequires: pkgconfig
BuildRequires: pkgconfig(egl)
BuildRequires: pkgconfig(eglexternalplatform) >= 1.1
BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-egl-backend) >= 3
BuildRequires: pkgconfig(wayland-protocols)
BuildRequires: pkgconfig(wayland-scanner)
BuildRequires: pkgconfig(wayland-server)
BuildRequires: pkgconfig(x11)
%description
This is an implementation of a EGL External Platform library to add client-side
Wayland support to EGL on top of EGLDevice and EGLStream families of extensions.
This library implements an EGL External Platform interface to work along with
EGL drivers that support the external platform mechanism.
%package -n %{lname}
Summary: The EGLStream-based Wayland external platform
Group: System/Libraries
%description -n %{lname}
This is an implementation of a EGL External Platform library to add client-side
Wayland support to EGL on top of EGLDevice and EGLStream families of extensions.
This library implements an EGL External Platform interface to work along with
EGL drivers that support the external platform mechanism.
%package -n libnvidia-egl-wayland-devel
Summary: Development package for %{name}
Group: Development/Languages/C and C++
Requires: %{lname} = %{version}-%{release}
%description -n libnvidia-egl-wayland-devel
This is an implementation of a EGL External Platform library to add client-side
Wayland support to EGL on top of EGLDevice and EGLStream families of extensions.
This library implements an EGL External Platform interface to work along with
EGL drivers that support the external platform mechanism.
This package provides headers and libraries required to build software
using %{name}.
%prep
%autosetup -n %{rname}-%{version} -p1
%build
export LDFLAGS="-Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro %{?_lto_cflags}"
%meson
%meson_build
%install
%meson_install
%post -n %{lname} -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig
%files -n %{lname}
%license COPYING
%doc README.md
%{_libdir}/libnvidia-egl-wayland.so.%{so_ver}*
%{_datadir}/wayland-eglstream/
%files -n libnvidia-egl-wayland-devel
%license COPYING
%doc README.md
%{_libdir}/libnvidia-egl-wayland.so
%{_libdir}/pkgconfig/wayland-eglstream.pc
%{_datadir}/pkgconfig/wayland-eglstream-protocols.pc
%changelog