- Add -Denable_wldisplays=false to build.
* wdisplays is already packaged and available in :Factory, added Requires: to package for the already packaged wdisplays - Remove deprecated %suse_update_desktop_file from the %install section OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/wcm?expand=0&rev=9
This commit is contained in:
parent
6593f124b2
commit
177c083f33
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 18:01:56 UTC 2025 - Shawn Dunn <sfalken@opensuse.org>
|
||||
|
||||
- Add -Denable_wldisplays=false to build.
|
||||
* wdisplays is already packaged and available in :Factory, added
|
||||
Requires: to package for the already packaged wdisplays
|
||||
- Remove deprecated %suse_update_desktop_file from the %install
|
||||
section
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 5 17:43:04 UTC 2025 - Shawn Dunn <sfalken@opensuse.org>
|
||||
|
||||
|
7
wcm.spec
7
wcm.spec
@ -40,6 +40,7 @@ BuildRequires: pkgconfig(wlroots) >= 0.17.0
|
||||
BuildRequires: pkgconfig(wayland-client)
|
||||
BuildRequires: pkgconfig(wayland-protocols)
|
||||
Requires: wayfire >= %{major_ver}
|
||||
Requires: wdisplays >= %{major_ver}
|
||||
|
||||
%description
|
||||
Wayfire Config Manager https://wayfire.org/.
|
||||
@ -49,12 +50,12 @@ echo "`grep %{name}-%{version}.tar.xz %{SOURCE1} | grep -Eo '^[0-9a-f]+'` %{SOU
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%meson
|
||||
# Disable including wdisplays. It's already packaged in Factory, added Requires: for the distro package
|
||||
%meson -Denable_wdisplays=false
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
%suse_update_desktop_file -G -r wayfire-config-manager "Wayfire Config Manager" "Settings;DesktopSettings"
|
||||
|
||||
%check
|
||||
%meson_test
|
||||
@ -62,7 +63,7 @@ echo "`grep %{name}-%{version}.tar.xz %{SOURCE1} | grep -Eo '^[0-9a-f]+'` %{SOU
|
||||
%files
|
||||
%license LICENSE
|
||||
%{_bindir}/%{name}
|
||||
%{_bindir}/wdisplays
|
||||
%dnl %{_bindir}/wdisplays
|
||||
%{_datadir}/wayfire/icons
|
||||
%{_datadir}/icons/hicolor/*
|
||||
%{_datadir}/applications/*.desktop
|
||||
|
Loading…
Reference in New Issue
Block a user