File wayfire-plugins-extra.spec of Package wayfire-plugins-extra-with-pix-decoration

#
# spec file for package wayfire-plugins-extra
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#

%define major_ver 0.9
%define minor_ver 0
Name:           wayfire-plugins-extra-with-pix-decoration
Version:        %{major_ver}.%{minor_ver}
Release:        lp160.1.13
Summary:        Additional plugins for Wayfire
License:        MIT
URL:            https://github.com/WayfireWM/wayfire-plugins-extra
Source0:        %{url}/releases/download/v%{version}/wayfire-plugins-extra-%{version}.tar.xz
Source1:        %{url}/releases/download/v%{version}/wayfire-plugins-extra-%{version}.tar.xz.sha256sum
BuildRequires:  Mesa-libGLESv3-devel
BuildRequires:  gcc-c++
BuildRequires:  libboost_system-devel
BuildRequires:  meson
BuildRequires:  wayland-devel
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(xwayland)
BuildRequires:  pkgconfig(giomm-2.4)
BuildRequires:  pkgconfig(gtkmm-3.0)
BuildRequires:  pkgconfig(wayfire) >= %{major_ver}
BuildRequires:  pkgconfig(wf-config)
BuildRequires:  pkgconfig(wlroots) >= 0.16.0
BuildRequires:  pkgconfig(wayland-protocols)
BuildRequires:  pkgconfig(librsvg-2.0)
BuildRequires:  pkgconfig(nlohmann_json)
Requires:       wayfire >= %{major_ver}

%description
Additional plugins for Wayfire
The plugins that come here are plugins that have external dependencies, for ex. giomm.

%prep
echo "`grep wayfire-plugins-extra-%{version}.tar.xz %{SOURCE1} | grep -Eo '^[0-9a-f]+'`  %{SOURCE0}" | sha256sum -c
%autosetup -p1 -n wayfire-plugins-extra-%{version}

%build
%meson \
 -Denable_pixdecor=true \
 -Denable_filters=true \
 -Denable_wayfire_shadows=true \
 -Denable_focus_request=true
 %meson_build

%install
%meson_install

%check
%meson_test

%files
%license LICENSE
%doc README.md
%{_libdir}/wayfire/*.so
%{_datadir}/wayfire/metadata/*.xml

%changelog
* Mon Aug 26 2024 Dead Mozay <dead_mozay@opensuse.org>
- Update to version 0.9.0:
  * No changelog was made available.
* Fri Mar 15 2024 Dead Mozay <dead_mozay@opensuse.org>
- Update to version 0.8.1:
  * Del wayfire-plugins-extra-track-wlroots-0.17-changes.patch.
  * No changelog was made available.
* Thu Mar 14 2024 Dead Mozay <dead_mozay@opensuse.org>
- Add wayfire-plugins-extra-track-wlroots-0.17-changes.patch.
- Enable windecor plugin.
- Enable wayfire shadows plugin.
- Enable wayfire focus-request plugin.
* Mon Oct  9 2023 Dead Mozay <dead_mozay@opensuse.org>
- Update to version 0.8.0:
  * No changelog was made available.
* Fri Dec  2 2022 Dead Mozay <dead_mozay@opensuse.org>
- Update to version 0.7.5:
  * Wayfire extra plugins.
    Compatible with wayfire 0.7.5 and wlroots 0.16.x.
* Wed Feb  3 2021 Dead Mozay <dead_mozay@opensuse.org>
- Update to version 0.7.0:
  * Compatible with Wayfire 0.7.x
* Mon Nov  9 2020 Dead Mozay <dead_mozay@opensuse.org>
- Update to version 0.6.0:
  * No changelog was made available.
* Mon Aug 17 2020 Dead Mozay <dead_mozay@opensuse.org>
- Update to version 0.5.0:
  * No changelog was made available.
* Mon Mar 23 2020 dead_mozay@opensuse.org
- Update to version 0.1.git~20200321.3eed212:
  * make network keyboard optional
  * Add background view plugin
* Tue Mar 17 2020 Dead Mozay <dead_mozay@opensuse.org>
- Initial package
openSUSE Build Service is sponsored by