update to 7.0.0

main
gerd 5 years ago
parent 8e3ba86432
commit a702f8823a
  1. 1
      .gitignore
  2. 2
      sources
  3. 45
      weston.spec

1
.gitignore vendored

@ -47,3 +47,4 @@
/weston-5.0.0.tar.xz /weston-5.0.0.tar.xz
/weston-5.0.91.tar.xz /weston-5.0.91.tar.xz
/weston-6.0.0.tar.xz /weston-6.0.0.tar.xz
/weston-7.0.0.tar.xz

@ -1 +1 @@
SHA512 (weston-6.0.0.tar.xz) = 127ab64b689f202acca4d9461e4decfd42357e4bbb63493af257b3b20b693a8ab4207b3c6b97663cefeed200505aad5f32b6a064db2e53fa1e201877613b394f SHA512 (weston-7.0.0.tar.xz) = fa14467ab89fb12175830d9cf29d89dc04899fd21d801e60e85836e8e52e17e144be78098b3eedfab6c51b7fb055ecfabb456a8a74f4e40485134da59ac58ea3

@ -1,4 +1,4 @@
%global apiver 6 %global apiver 7
# have_simple_dmabuf_drm_client is defined in configure.ac # have_simple_dmabuf_drm_client is defined in configure.ac
%ifarch ppc64le s390x %ifarch ppc64le s390x
@ -8,8 +8,8 @@
%endif %endif
Name: weston Name: weston
Version: 6.0.0 Version: %{apiver}.0.0
Release: 3%{?dist} Release: 1%{?dist}
Summary: Reference compositor for Wayland Summary: Reference compositor for Wayland
License: BSD and CC-BY-SA License: BSD and CC-BY-SA
@ -20,6 +20,8 @@ BuildRequires: gcc
BuildRequires: glib2-devel BuildRequires: glib2-devel
BuildRequires: libjpeg-turbo-devel BuildRequires: libjpeg-turbo-devel
BuildRequires: pam-devel BuildRequires: pam-devel
# ninja-build is a dependency from meson
BuildRequires: meson
BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(cairo) >= 1.10.0 BuildRequires: pkgconfig(cairo) >= 1.10.0
BuildRequires: pkgconfig(cairo-xcb) BuildRequires: pkgconfig(cairo-xcb)
@ -38,7 +40,7 @@ BuildRequires: pkgconfig(libsystemd) >= 209
BuildRequires: pkgconfig(libudev) >= 136 BuildRequires: pkgconfig(libudev) >= 136
# libunwind available only on selected arches # libunwind available only on selected arches
%ifarch %{arm} aarch64 hppa ia64 mips ppc %{power64} %{ix86} x86_64 %ifarch %{arm} aarch64 hppa ia64 mips ppc %{power64} %{ix86} x86_64
BuildRequires: libunwind-devel BuildRequires: libunwind-devel
%endif %endif
BuildRequires: pkgconfig(libva) >= 0.34.0 BuildRequires: pkgconfig(libva) >= 0.34.0
BuildRequires: pkgconfig(libva-drm) >= 0.34.0 BuildRequires: pkgconfig(libva-drm) >= 0.34.0
@ -64,6 +66,9 @@ BuildRequires: pkgconfig(xcursor)
BuildRequires: pkgconfig(xkbcommon) BuildRequires: pkgconfig(xkbcommon)
BuildRequires: poppler-devel BuildRequires: poppler-devel
BuildRequires: poppler-glib-devel BuildRequires: poppler-glib-devel
BuildRequires: gstreamer1-devel
BuildRequires: gstreamer1-plugins-base-devel
BuildRequires: pipewire-devel
Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
@ -96,25 +101,11 @@ Common headers for weston
%setup -q %setup -q
%build %build
%configure \ export MESON=`rpm --eval '%{meson}' | sed 's/--auto-features=enabled//'`
--disable-silent-rules \ eval "$MESON -Dsimple-dmabuf-drm=auto"
--disable-static \
--disable-setuid-install \
--enable-autotools \
--enable-xwayland \
--enable-rdp-compositor \
--enable-demo-clients-install
# https://fedoraproject.org/wiki/Packaging:Guidelines#Beware_of_Rpath
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags}
%install %install
%make_install %meson_install
find %{buildroot} -name \*.la -delete
%files %files
%license COPYING %license COPYING
@ -133,6 +124,8 @@ find %{buildroot} -name \*.la -delete
%{_libdir}/weston/fullscreen-shell.so %{_libdir}/weston/fullscreen-shell.so
%{_libdir}/weston/hmi-controller.so %{_libdir}/weston/hmi-controller.so
%{_libdir}/weston/ivi-shell.so %{_libdir}/weston/ivi-shell.so
%{_libdir}/weston/screen-share.so
%{_libdir}/weston/systemd-notify.so
%{_libexecdir}/weston-* %{_libexecdir}/weston-*
%{_mandir}/man1/*.1* %{_mandir}/man1/*.1*
%{_mandir}/man5/*.5* %{_mandir}/man5/*.5*
@ -149,6 +142,8 @@ find %{buildroot} -name \*.la -delete
%{_libdir}/libweston-%{apiver}/fbdev-backend.so %{_libdir}/libweston-%{apiver}/fbdev-backend.so
%{_libdir}/libweston-%{apiver}/gl-renderer.so %{_libdir}/libweston-%{apiver}/gl-renderer.so
%{_libdir}/libweston-%{apiver}/headless-backend.so %{_libdir}/libweston-%{apiver}/headless-backend.so
%{_libdir}/libweston-%{apiver}/pipewire-plugin.so
%{_libdir}/libweston-%{apiver}/remoting-plugin.so
%{_libdir}/libweston-%{apiver}/rdp-backend.so %{_libdir}/libweston-%{apiver}/rdp-backend.so
%{_libdir}/libweston-%{apiver}/wayland-backend.so %{_libdir}/libweston-%{apiver}/wayland-backend.so
%{_libdir}/libweston-%{apiver}/x11-backend.so %{_libdir}/libweston-%{apiver}/x11-backend.so
@ -173,6 +168,7 @@ find %{buildroot} -name \*.la -delete
%{_bindir}/weston-resizor %{_bindir}/weston-resizor
%{_bindir}/weston-scaler %{_bindir}/weston-scaler
%{_bindir}/weston-simple-damage %{_bindir}/weston-simple-damage
%{_bindir}/weston-content_protection
%if %have_simple_dmabuf_drm_client %if %have_simple_dmabuf_drm_client
%{_bindir}/weston-simple-dmabuf-drm %{_bindir}/weston-simple-dmabuf-drm
%endif %endif
@ -196,9 +192,14 @@ find %{buildroot} -name \*.la -delete
%{_libdir}/libweston-%{apiver}.so %{_libdir}/libweston-%{apiver}.so
%{_libdir}/libweston-desktop-%{apiver}.so %{_libdir}/libweston-desktop-%{apiver}.so
%{_datadir}/pkgconfig/libweston-%{apiver}-protocols.pc %{_datadir}/pkgconfig/libweston-%{apiver}-protocols.pc
%{_datadir}/weston/protocols/ %{_datadir}/libweston-%{apiver}/protocols/
%changelog %changelog
* Thu Sep 12 2019 Gerd Pokorra <gp@zimt.uni-siegen.de> - 7.0.0-1
- Update to 7.0.0
- Use meson as build system
- Use the apivar macro in the version line
* Wed Sep 04 2019 Takao Fujiwara <tfujiwar@redhat.com> - 6.0.0-3 * Wed Sep 04 2019 Takao Fujiwara <tfujiwar@redhat.com> - 6.0.0-3
- Add weston-demo sub package to include weston-editor - Add weston-demo sub package to include weston-editor

Loading…
Cancel
Save