2019-09-06 00:01:53 +02:00
|
|
|
#
|
2022-06-28 14:28:07 +02:00
|
|
|
# spec file for package kanshi
|
2019-09-06 00:01:53 +02:00
|
|
|
#
|
2024-01-17 12:49:52 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2019-09-06 00:01:53 +02:00
|
|
|
#
|
|
|
|
# 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: kanshi
|
2024-06-13 13:51:04 +02:00
|
|
|
Version: 1.7.0
|
2019-09-06 00:01:53 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Dynamic display configuration
|
|
|
|
License: MIT
|
|
|
|
Group: System/GUI/Other
|
2022-06-28 14:28:07 +02:00
|
|
|
URL: https://git.sr.ht/~emersion/kanshi
|
2024-02-26 05:59:29 +01:00
|
|
|
Source0: https://git.sr.ht/~emersion/kanshi/refs/download/v%{version}/%{name}-%{version}.tar.gz
|
2024-04-23 02:37:17 +02:00
|
|
|
Source1: https://git.sr.ht/~emersion/kanshi/refs/download/v%{version}/%{name}-%{version}.tar.gz.sig
|
|
|
|
# https://emersion.fr/.well-known/openpgpkey/hu/dj3498u4hyyarh35rkjfnghbjxug6b19
|
|
|
|
Source2: %{name}.keyring
|
2024-05-30 03:17:54 +02:00
|
|
|
Patch1: wayland-include-dirs.patch
|
2019-09-06 00:01:53 +02:00
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: meson
|
|
|
|
BuildRequires: ninja
|
|
|
|
BuildRequires: scdoc
|
2024-05-19 17:14:46 +02:00
|
|
|
BuildRequires: pkgconfig(libvarlink)
|
2024-04-23 02:37:17 +02:00
|
|
|
BuildRequires: pkgconfig(scfg)
|
2022-09-01 15:46:52 +02:00
|
|
|
BuildRequires: pkgconfig(wayland-client)
|
2019-09-06 00:01:53 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
kanshi allows you to define output profiles that are automatically enabled
|
|
|
|
and disabled on hotplug.
|
|
|
|
|
|
|
|
%prep
|
2024-02-27 02:11:10 +01:00
|
|
|
%autosetup -p1
|
2019-09-06 00:01:53 +02:00
|
|
|
|
|
|
|
%build
|
2022-09-01 15:46:52 +02:00
|
|
|
%meson \
|
2024-05-19 17:13:53 +02:00
|
|
|
-Dipc=enabled
|
2019-09-06 00:01:53 +02:00
|
|
|
%meson_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%meson_install
|
|
|
|
|
2024-04-23 02:37:17 +02:00
|
|
|
%check
|
|
|
|
%meson_test
|
|
|
|
|
2019-09-06 00:01:53 +02:00
|
|
|
%files
|
|
|
|
%{_bindir}/kanshi
|
2024-06-06 08:28:14 +02:00
|
|
|
%{_bindir}/kanshictl
|
2019-09-06 00:01:53 +02:00
|
|
|
%{_mandir}/man?/%{name}*
|
|
|
|
|
|
|
|
%changelog
|