Merged update from upstream sources
This is an automated DistroBaker update from upstream sources. If you do not know what this is about or would like to opt out, contact the OSCI team. Source: https://src.fedoraproject.org/rpms/xorg-x11-server-Xwayland.git#8de3d416c98a84fadf860b0b272a7cfd5a754bbd
This commit is contained in:
parent
f32ebbacda
commit
f00dd5dcff
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/xserver-5429791.tar.gz
|
3
README.md
Normal file
3
README.md
Normal file
@ -0,0 +1,3 @@
|
||||
# xorg-x11-server-Xwayland
|
||||
|
||||
The xorg-x11-server-Xwayland package
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
||||
SHA512 (xserver-5429791.tar.gz) = e38c53465a4f75989beb8a695c70d0ff4fd24ef99e11652eb5b8b1a22788ba0ea784d2d0c352f21c2ad6c637b3b55f3321ccae94060a346caca56a031d38e3a0
|
126
xorg-x11-server-Xwayland.spec
Normal file
126
xorg-x11-server-Xwayland.spec
Normal file
@ -0,0 +1,126 @@
|
||||
%global commit 5429791b1cf7f6cabf6c64aad0a4b1b5418253c9
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
%global gitdate 20210201
|
||||
%global pkgname xserver
|
||||
|
||||
%global default_font_path "catalogue:/etc/X11/fontpath.d,built-ins"
|
||||
|
||||
Summary: Xwayland
|
||||
Name: xorg-x11-server-Xwayland
|
||||
Version: 1.20.99.1
|
||||
Release: 0.1.%{gitdate}git%{shortcommit}%{?dist}
|
||||
|
||||
URL: http://www.x.org
|
||||
Source0: https://gitlab.freedesktop.org/xorg/%{pkgname}/-/archive/%{commit}/%{pkgname}-%{shortcommit}.tar.gz
|
||||
License: MIT
|
||||
|
||||
Requires: xorg-x11-server-common
|
||||
Requires: libEGL
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: git-core
|
||||
BuildRequires: meson
|
||||
|
||||
BuildRequires: wayland-devel
|
||||
BuildRequires: pkgconfig(wayland-client) >= 1.3.0
|
||||
BuildRequires: pkgconfig(wayland-protocols)
|
||||
BuildRequires: pkgconfig(wayland-eglstream-protocols)
|
||||
|
||||
BuildRequires: pkgconfig(dmx)
|
||||
BuildRequires: pkgconfig(epoxy)
|
||||
BuildRequires: pkgconfig(fontenc)
|
||||
BuildRequires: pkgconfig(libdrm) >= 2.4.0
|
||||
BuildRequires: pkgconfig(libssl)
|
||||
BuildRequires: pkgconfig(libtirpc)
|
||||
BuildRequires: pkgconfig(pixman-1)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(xau)
|
||||
BuildRequires: pkgconfig(xdmcp)
|
||||
BuildRequires: pkgconfig(xext)
|
||||
BuildRequires: pkgconfig(xfixes)
|
||||
BuildRequires: pkgconfig(xfont2)
|
||||
BuildRequires: pkgconfig(xi)
|
||||
BuildRequires: pkgconfig(xinerama)
|
||||
BuildRequires: pkgconfig(xkbfile)
|
||||
BuildRequires: pkgconfig(xmu)
|
||||
BuildRequires: pkgconfig(xorg-macros) >= 1.17
|
||||
BuildRequires: pkgconfig(xpm)
|
||||
BuildRequires: pkgconfig(xrender)
|
||||
BuildRequires: pkgconfig(xres)
|
||||
BuildRequires: pkgconfig(xshmfence) >= 1.1
|
||||
BuildRequires: pkgconfig(xtrans) >= 1.3.2
|
||||
BuildRequires: pkgconfig(xtst)
|
||||
BuildRequires: pkgconfig(xv)
|
||||
BuildRequires: xorg-x11-proto-devel >= 7.7-10
|
||||
|
||||
BuildRequires: mesa-libGL-devel >= 9.2
|
||||
BuildRequires: mesa-libEGL-devel
|
||||
BuildRequires: mesa-libgbm-devel
|
||||
|
||||
BuildRequires: audit-libs-devel
|
||||
BuildRequires: libselinux-devel >= 2.0.86-1
|
||||
|
||||
# libunwind is Exclusive for the following arches
|
||||
%ifarch aarch64 %{arm} hppa ia64 mips ppc ppc64 %{ix86} x86_64
|
||||
%if !0%{?rhel}
|
||||
BuildRequires: libunwind-devel
|
||||
%endif
|
||||
%endif
|
||||
|
||||
BuildRequires: pkgconfig(xcb-aux)
|
||||
BuildRequires: pkgconfig(xcb-image)
|
||||
BuildRequires: pkgconfig(xcb-icccm)
|
||||
BuildRequires: pkgconfig(xcb-keysyms)
|
||||
BuildRequires: pkgconfig(xcb-renderutil)
|
||||
|
||||
%description
|
||||
Xwayland is an X server for running X clients under Wayland.
|
||||
|
||||
%package devel
|
||||
Summary: Development package
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
The development package provides the developmental files which are
|
||||
necessary for developing Wayland compositors using Xwayland.
|
||||
|
||||
%prep
|
||||
%autosetup -S git_am %{?gitdate:-n %{pkgname}-%{commit}}
|
||||
|
||||
%build
|
||||
%meson \
|
||||
-Dxwayland=true \
|
||||
-Dxwayland_eglstream=true \
|
||||
-D{xorg,xnest,xvfb}=false \
|
||||
-Ddefault_font_path=%{default_font_path} \
|
||||
-Dbuilder_string="Build ID: %{name} %{version}-%{release}" \
|
||||
-Dxkb_output_dir=%{_localstatedir}/lib/xkb \
|
||||
-Dvendor_name="Fedora Project" \
|
||||
-D{xdmcp,udev,udev_kms}=false \
|
||||
-Dxcsecurity=true \
|
||||
-Dglamor=true \
|
||||
-Ddri3=true
|
||||
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
# Remove unwanted files/dirs
|
||||
rm $RPM_BUILD_ROOT%{_mandir}/man1/Xserver.1*
|
||||
rm -Rf $RPM_BUILD_ROOT%{_libdir}/xorg
|
||||
rm -Rf $RPM_BUILD_ROOT%{_includedir}/xorg
|
||||
rm -Rf $RPM_BUILD_ROOT%{_datadir}/aclocal
|
||||
rm -Rf $RPM_BUILD_ROOT%{_localstatedir}/lib/xkb
|
||||
|
||||
%files
|
||||
%{_bindir}/Xwayland
|
||||
%{_mandir}/man1/Xwayland.1*
|
||||
|
||||
%files devel
|
||||
%{_libdir}/pkgconfig/xwayland.pc
|
||||
|
||||
%changelog
|
||||
* Mon Feb 1 2021 Olivier Fourdan <ofourdan@redhat.com> - 1.20.99.1-0.1.20210201git5429791
|
||||
- Initial import (#1912335).
|
Loading…
Reference in New Issue
Block a user