File wayland-vpets.spec of Package wayland-vpets
#
# spec file for package wayland-vpets
#
# Copyright (c) 2025 SUSE LLC and contributors
#
# 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/
#
Name: wayland-vpets
Version: 2.4.0.+git20250911.22f0419
Release: 0
Summary: v-pets for your desktop ₍^. .^₎
License: MIT
URL: https://github.com/furudbat/wayland-vpets
Source: %{name}-%{version}.tar
Patch0: 0001-protocols-includedir.patch
BuildRequires: c++_compiler
BuildRequires: pkgconfig
BuildRequires: make
BuildRequires: cmake >= 3.24
BuildRequires: cmake(PlasmaWaylandProtocols)
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-protocols)
BuildRequires: pkgconfig(wayland-scanner)
%description
A delightful Wayland overlay that displays an animated V-Pet reacting to your
keyboard input! Perfect for streamers, content creators, or anyone who wants to
add some fun to their desktop.
%prep
%autosetup -p1
%build
%cmake \
-DFEATURE_ENABLE_DM_EMBEDDED_ASSETS=ON \
-DFEATURE_DM20_EMBEDDED_ASSETS=ON \
-DFEATURE_DM_EMBEDDED_ASSETS=ON \
-DFEATURE_DMC_EMBEDDED_ASSETS=ON \
-DFEATURE_DMX_EMBEDDED_ASSETS=ON \
-DFEATURE_MS_AGENT_EMBEDDED_ASSETS=ON \
-DFEATURE_MORE_MS_AGENT_EMBEDDED_ASSETS=ON \
-DFEATURE_DISABLE_LOGGER=ON \
%{?nil}
%cmake_build
%install
%cmake_install
%files
%license LICENSE
%doc CHANGELOG.md README.md
%{_bindir}/bongocat
%{_bindir}/bongocat-find-devices
%{_datadir}/bongocat/
%{_datadir}/bongocat/bongocat.conf.example
%changelog