Blame wayfire.spec

ada7d6e
# Git submodules
81a5967
#   * wf-utils
03a23c4
%global commit1 889fdafa7b09fc6ce70313fd3f067cfc8c21a2ac
ada7d6e
%global shortcommit1 %(c=%{commit1}; echo ${c:0:7})
ada7d6e
81a5967
#   * wf-touch
513ff09
%global commit2 8974eb0f6a65464b63dd03b842795cb441fb6403
bfcb6e5
%global shortcommit2 %(c=%{commit2}; echo ${c:0:7})
bfcb6e5
57ebd4c
Name:           wayfire
0f18438
Version:        0.7.3
0f18438
Release:        1%{?dist}
57ebd4c
Summary:        3D wayland compositor
57ebd4c
57ebd4c
License:        MIT
57ebd4c
URL:            https://github.com/WayfireWM/wayfire
33619c0
Source0:        %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
ada7d6e
Source1:        https://github.com/WayfireWM/wf-utils/archive/%{commit1}/wf-utils-%{shortcommit1}.tar.gz
bfcb6e5
Source2:        https://github.com/WayfireWM/wf-touch/archive/%{commit2}/wf-touch-%{shortcommit2}.tar.gz
57ebd4c
57ebd4c
BuildRequires:  cmake
57ebd4c
BuildRequires:  gcc-c++
57ebd4c
BuildRequires:  inotify-tools-devel
57ebd4c
BuildRequires:  libevdev-devel
33619c0
BuildRequires:  meson >= 0.53.0
81a5967
513ff09
BuildRequires:  cmake(doctest)
0f18438
BuildRequires:  cmake(glm)
81a5967
57ebd4c
BuildRequires:  pkgconfig(cairo)
57ebd4c
BuildRequires:  pkgconfig(egl)
57ebd4c
BuildRequires:  pkgconfig(glesv2)
57ebd4c
BuildRequires:  pkgconfig(libdrm)
57ebd4c
BuildRequires:  pkgconfig(libinput) >= 1.7.0
57ebd4c
BuildRequires:  pkgconfig(libjpeg)
57ebd4c
BuildRequires:  pkgconfig(libpng)
0f18438
BuildRequires:  pkgconfig(pango)
57ebd4c
BuildRequires:  pkgconfig(pixman-1)
57ebd4c
BuildRequires:  pkgconfig(wayland-client)
57ebd4c
BuildRequires:  pkgconfig(wayland-cursor)
57ebd4c
BuildRequires:  pkgconfig(wayland-protocols) >= 1.12
57ebd4c
BuildRequires:  pkgconfig(wayland-server)
81a5967
BuildRequires:  pkgconfig(wf-config) >= 0.7.0
0f18438
BuildRequires:  pkgconfig(wlroots) >= 0.15.0
57ebd4c
BuildRequires:  pkgconfig(xkbcommon)
c023b1b
03a23c4
Recommends:     wayfire-config-manager
03a23c4
Recommends:     wf-shell
57ebd4c
bfcb6e5
Provides:       bundled(wf-touch) = 0.0~git%{commit2}
bfcb6e5
Provides:       bundled(wf-utils) = 0.0~git%{commit1}
bfcb6e5
57ebd4c
%description
57ebd4c
Wayfire is a wayland compositor based on wlroots. It aims to create a
57ebd4c
customizable, extendable and lightweight environment without sacrificing its
57ebd4c
appearance.
57ebd4c
57ebd4c
57ebd4c
%package        devel
57ebd4c
Summary:        Development files for %{name}
57ebd4c
Requires:       %{name}%{?_isa} = %{version}-%{release}
57ebd4c
57ebd4c
%description    devel
57ebd4c
Development files for %{name}.
57ebd4c
57ebd4c
57ebd4c
%prep
c023b1b
%autosetup -p1
ada7d6e
%autosetup -D -T -a1
bfcb6e5
%autosetup -D -T -a2
ada7d6e
mv wf-utils-%{commit1}/* subprojects/wf-utils/
bfcb6e5
mv wf-touch-%{commit2}/* subprojects/wf-touch/
57ebd4c
57ebd4c
57ebd4c
%build
0f18438
%meson                            \
ada7d6e
    -Duse_system_wfconfig=enabled \
0f18438
    -Duse_system_wlroots=enabled  \
513ff09
    %{nil}
57ebd4c
%meson_build
57ebd4c
57ebd4c
57ebd4c
%install
57ebd4c
%meson_install
bfcb6e5
install -Dpm0644 %{name}.desktop %{buildroot}%{_datadir}/wayland-sessions/%{name}.desktop
bfcb6e5
rm -f %{buildroot}%{_libdir}/libwftouch.a
57ebd4c
57ebd4c
57ebd4c
%files
57ebd4c
%license LICENSE
c023b1b
%doc README.md %{name}.ini
57ebd4c
%{_bindir}/%{name}
c023b1b
%{_datadir}/%{name}/
57ebd4c
%{_datadir}/wayland-sessions/*.desktop
c023b1b
%{_libdir}/%{name}/
ada7d6e
%{_libdir}/libwf-utils.so.0*
57ebd4c
57ebd4c
%files devel
ada7d6e
%{_libdir}/libwf-utils.so
57ebd4c
%{_libdir}/pkgconfig/*.pc
c023b1b
%{_includedir}/%{name}/
57ebd4c
57ebd4c
57ebd4c
%changelog
0f18438
* Fri Apr 15 2022 Artem Polishchuk <ego.cordatus@gmail.com> - 0.7.3-1
0f18438
- chore(update): 0.7.3
0f18438
51a5c61
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-3
51a5c61
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
51a5c61
bf55141
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-2
bf55141
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
bf55141
03a23c4
* Sat Jul 03 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 0.7.2-1
03a23c4
- build(update): 0.7.2
03a23c4
513ff09
* Tue May 04 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 0.7.1-2
513ff09
- fix: Build with new glibc https://github.com/WayfireWM/wayfire/issues/1153
513ff09
81a5967
* Wed Apr 21 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 0.7.1-1
81a5967
- build(update): 0.7.1
81a5967
fb07e5d
* Tue Feb 23 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 0.7.0-2
fb07e5d
- build: Add 'wdisplays' weak dep
fb07e5d
33619c0
* Fri Jan 29 2021 Artem Polishchuk <ego.cordatus@gmail.com> - 0.7.0-1
33619c0
- build(update): 0.7.0
33619c0
fd2b88d
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
fd2b88d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
fd2b88d
bfcb6e5
* Wed Nov 18 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 0.6.0-1
bfcb6e5
- build(update): 0.6.0
bfcb6e5
ada7d6e
* Tue Aug 04 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 0.5.0-1
ada7d6e
- Update to 0.5.0
ada7d6e
e705940
* Sat Aug 01 2020 Aleksei Bavshin <alebastr89@gmail.com> - 0.4.0-5
e705940
- Add patch for wlroots 0.11.0 compatibility
e705940
e26543e
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-4
e26543e
- Second attempt - Rebuilt for
e26543e
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
e26543e
376ebb3
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.0-3
376ebb3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
376ebb3
a1a5dc2
* Thu May 28 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 0.4.0-2
a1a5dc2
- Add very weak dep: 'lavalauncher'
a1a5dc2
- Disable LTO
a1a5dc2
c023b1b
* Sun Mar 22 2020 Artem Polishchuk <ego.cordatus@gmail.com> - 0.4.0-1
c023b1b
- Update to 0.4.0
c023b1b
7ba8acc
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-9.20191001gitcec3540
7ba8acc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
7ba8acc
57ebd4c
* Tue Oct 01 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 0.2-8.20191001gitcec3540
57ebd4c
- Update to latest git snapshot
57ebd4c
57ebd4c
* Thu Sep 26 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 0.2-6.20190510git5b91b87
57ebd4c
- Unbundle 'wf-config'
57ebd4c
57ebd4c
* Thu Sep 26 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 0.2-2.20190510git5b91b87
57ebd4c
- Initial package