- 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
This commit is contained in:
commit
0fd8c02f0b
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
egl-wayland-1.1.7.tar.gz
Normal file
3
egl-wayland-1.1.7.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2b4ed459e4b2c77c47f15ad9b32da1b2b855a84db8f832e176fdd1fd49b14d36
|
||||
size 48681
|
9
libnvidia-egl-wayland.changes
Normal file
9
libnvidia-egl-wayland.changes
Normal file
@ -0,0 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
106
libnvidia-egl-wayland.spec
Normal file
106
libnvidia-egl-wayland.spec
Normal file
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user