commit 0fd8c02f0ba3b100c6edd2f318c7df40d6af597d0a95e66f2ce91b644ac4f260 Author: Stefan Dirsch Date: Thu Jul 1 12:19:06 2021 +0000 - tried to address checkin policy issues for factory - First build. Version - 1.1.7 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libnvidia-egl-wayland?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/egl-wayland-1.1.7.tar.gz b/egl-wayland-1.1.7.tar.gz new file mode 100644 index 0000000..e56bc4d --- /dev/null +++ b/egl-wayland-1.1.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b4ed459e4b2c77c47f15ad9b32da1b2b855a84db8f832e176fdd1fd49b14d36 +size 48681 diff --git a/libnvidia-egl-wayland.changes b/libnvidia-egl-wayland.changes new file mode 100644 index 0000000..5920303 --- /dev/null +++ b/libnvidia-egl-wayland.changes @@ -0,0 +1,9 @@ +------------------------------------------------------------------- +Thu Jul 1 11:32:48 UTC 2021 - Stefan Dirsch + +- tried to address checkin policy issues for factory + +------------------------------------------------------------------- +Thu Jul 1 09:52:18 UTC 2021 - Alexander Evseev - 1.1.7 + +- First build. Version - 1.1.7 diff --git a/libnvidia-egl-wayland.spec b/libnvidia-egl-wayland.spec new file mode 100644 index 0000000..db2d1d5 --- /dev/null +++ b/libnvidia-egl-wayland.spec @@ -0,0 +1,106 @@ +%define so_ver 1 + +# Common info +Name: libnvidia-egl-wayland +%define lname libnvidia-egl-wayland%{so_ver} +Version: 1.1.7 +Release: 0 +License: MIT +Group: Development/Libraries/Other +URL: https://github.com/NVIDIA/egl-wayland +Summary: The EGLStream-based Wayland external platform + +# Build-time parameters +BuildRequires: gcc-c++ +BuildRequires: meson >= 0.50 ninja +BuildRequires: pkg-config +BuildRequires: pkgconfig(egl) +BuildRequires: pkgconfig(eglexternalplatform) >= 1.1 +BuildRequires: pkgconfig(wayland-server) +BuildRequires: pkgconfig(wayland-client) +BuildRequires: pkgconfig(wayland-scanner) +BuildRequires: pkgconfig(wayland-egl-backend) >= 3 +BuildRequires: pkgconfig(x11) +BuildRoot: %{_tmppath}/%{name}-root +Source: egl-wayland-%{version}.tar.gz + +%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: Development/Libraries/Other + +%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 +Group: Development/Languages/C and C++ +Summary: Development package for %{name} + +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 +%setup -q -n egl-wayland-%{version}%{?extraver} + +%build +_CFLAGS='%{optflags}' +_LDFLAGS='-Wl,--strip-all -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro' +meson setup build \ + --buildtype=release \ + --optimization=2 \ + --strip \ + \ + --prefix=%{_prefix} \ + --libdir=%{_libdir} \ + --default-library=shared \ + \ + -Db_lto=true \ + -Db_ndebug=if-release \ + -Dc_args="$_CFLAGS" \ + -Dc_link_args="$_LDFLAGS" +ninja -v -C build %{?_smp_mflags} + +%install +DESTDIR=%{buildroot} ninja -C build install + +%clean +[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} + +%post -n %lname -p /sbin/ldconfig + +%postun -n %lname -p /sbin/ldconfig + +%files -n %lname +%defattr(-,root,root) +%license COPYING +%doc README.md +%{_libdir}/libnvidia-egl-wayland.so.%{so_ver}* +%{_datadir}/wayland-eglstream/ + +%files -n libnvidia-egl-wayland-devel +%defattr(-,root,root) +%license COPYING +%doc README.md +%{_libdir}/libnvidia-egl-wayland.so +%{_libdir}/pkgconfig/wayland-eglstream.pc +%{_datadir}/pkgconfig/wayland-eglstream-protocols.pc +