install egl_external_platform file; rename from libegl-wayland to libnvidia-egl-wayland [release 1.1.16-2mamba;Thu Oct 31 2024]

This commit is contained in:
Silvan Calarco 2024-11-01 09:23:20 +01:00
parent 52f69f4674
commit 116d8cc157
2 changed files with 29 additions and 18 deletions

View File

@ -0,0 +1,6 @@
{
"file_format_version" : "1.0.0",
"ICD" : {
"library_path" : "libnvidia-egl-wayland.so.1"
}
}

View File

@ -1,6 +1,6 @@
Name: egl-wayland Name: egl-wayland
Version: 1.1.16 Version: 1.1.16
Release: 1mamba Release: 2mamba
Summary: The EGLStream-based Wayland external platform Summary: The EGLStream-based Wayland external platform
Group: Development/Libraries Group: Development/Libraries
Vendor: openmamba Vendor: openmamba
@ -8,6 +8,7 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/NVIDIA/egl-wayland URL: https://github.com/NVIDIA/egl-wayland
Source: https://github.com/NVIDIA/egl-wayland.git/%{version}/egl-wayland-%{version}.tar.bz2 Source: https://github.com/NVIDIA/egl-wayland.git/%{version}/egl-wayland-%{version}.tar.bz2
Source1: egl-wayland-10_nvidia_wayland.json
License: MIT License: MIT
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: eglexternalplatform-devel BuildRequires: eglexternalplatform-devel
@ -20,58 +21,62 @@ Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description %description
The EGLStream-based Wayland external platform. The EGLStream-based Wayland external platform.
%package -n lib%{name} %package -n libnvidia-%{name}
Group: System/Libraries Group: System/Libraries
Summary: The EGLStream-based Wayland external platform Summary: The EGLStream-based Wayland external platform
Obsoletes: libegl-wayland < 1.1.16-2mamba
%description -n lib%{name} %description -n libnvidia-%{name}
The EGLStream-based Wayland external platform. The EGLStream-based Wayland external platform.
This package contains shared libraries for %{name}. This package contains shared libraries for %{name}.
%package -n lib%{name}-devel %package -n libnvidia-%{name}-devel
Group: Development/Libraries Group: Development/Libraries
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: libnvidia-%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config Requires: pkg-config
Obsoletes: libegl-wayland-devel < 1.1.16-2mamba
%description -n lib%{name}-devel %description -n libnvidia-%{name}-devel
This package contains libraries and header files for developing applications that use %{name}. This package contains libraries and header files for developing applications that use %{name}.
%debug_package %debug_package
%prep %prep
%setup -q %setup -q
./autogen.sh
%build %build
%configure %meson
%make
%meson_build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %meson_install
install -D -m0644 %{SOURCE1} %{buildroot}%{_datadir}/egl/egl_external_platform.d/10_nvidia_wayland.json
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig %files -n libnvidia-%{name}
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libnvidia-egl-wayland.so.* %{_libdir}/libnvidia-egl-wayland.so.*
%{_datadir}/egl/egl_external_platform.d/10_nvidia_wayland.json
%{_datadir}/wayland-eglstream/wayland-*.xml
%doc COPYING %doc COPYING
%files -n lib%{name}-devel %files -n libnvidia-%{name}-devel
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libnvidia-egl-wayland.so %{_libdir}/libnvidia-egl-wayland.so
%{_datadir}/pkgconfig/wayland-eglstream-protocols.pc %{_datadir}/pkgconfig/wayland-eglstream-protocols.pc
%{_datadir}/pkgconfig/wayland-eglstream.pc %{_libdir}/pkgconfig/wayland-eglstream.pc
%{_datadir}/wayland-eglstream/wayland-*.xml
%doc README.md %doc README.md
%changelog %changelog
* Thu Oct 31 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.16-2mamba
- install egl_external_platform file; rename from libegl-wayland to libnvidia-egl-wayland
* Sat Aug 24 2024 Automatic Build System <autodist@openmamba.org> 1.1.16-1mamba * Sat Aug 24 2024 Automatic Build System <autodist@openmamba.org> 1.1.16-1mamba
- automatic version update by autodist - automatic version update by autodist