2020-08-13 11:15:35 +02:00
|
|
|
#
|
|
|
|
# spec file for package libei
|
|
|
|
#
|
2024-02-05 10:34:00 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2020-08-13 11:15:35 +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/
|
|
|
|
#
|
|
|
|
|
2023-05-17 12:09:02 +02:00
|
|
|
%define lname libei1
|
2024-06-05 22:12:01 +02:00
|
|
|
Name: libei
|
2024-02-05 10:34:00 +01:00
|
|
|
Version: 1.2.1
|
2020-08-13 11:15:35 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Library for emulated input in Wayland
|
|
|
|
License: MIT
|
|
|
|
Group: Development/Libraries/C and C++
|
2022-06-07 09:09:53 +02:00
|
|
|
URL: https://gitlab.freedesktop.org/libinput/libei/
|
2024-06-05 22:12:01 +02:00
|
|
|
Source0: https://gitlab.freedesktop.org/libinput/libei/-/archive/%version/%name-%version.tar.gz
|
2024-02-14 17:57:35 +01:00
|
|
|
Source99: baselibs.conf
|
2022-12-19 00:32:36 +01:00
|
|
|
BuildRequires: meson >= 0.57
|
2020-08-26 02:06:26 +02:00
|
|
|
BuildRequires: ninja
|
2020-08-13 11:15:35 +02:00
|
|
|
BuildRequires: protobuf-c
|
2023-04-06 15:19:56 +02:00
|
|
|
BuildRequires: python3-attrs
|
|
|
|
BuildRequires: python3-jinja2
|
2022-03-02 09:04:17 +01:00
|
|
|
BuildRequires: pkgconfig(libevdev)
|
2020-08-13 11:15:35 +02:00
|
|
|
BuildRequires: pkgconfig(libprotobuf-c)
|
2022-03-02 09:04:17 +01:00
|
|
|
BuildRequires: pkgconfig(libsystemd)
|
2020-08-26 02:06:26 +02:00
|
|
|
BuildRequires: pkgconfig(protobuf-lite)
|
2022-03-02 09:04:17 +01:00
|
|
|
BuildRequires: pkgconfig(xkbcommon)
|
2020-08-13 11:15:35 +02:00
|
|
|
|
|
|
|
%description
|
2022-03-02 09:04:17 +01:00
|
|
|
libei is a library to send Emulated Input (EI) to a matching Emulated
|
|
|
|
Input Server (EIS) which can receive those events with libeis.
|
|
|
|
|
|
|
|
It targets Wayland and provides separation, distinction and control,
|
|
|
|
which, for comparison, are not available with XTEST (X11's emulated
|
|
|
|
input).
|
2020-08-13 11:15:35 +02:00
|
|
|
|
|
|
|
%package -n %lname
|
2022-03-02 09:04:17 +01:00
|
|
|
Summary: Library for emulated input in Wayland
|
2020-08-13 11:15:35 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n %lname
|
2022-03-02 09:04:17 +01:00
|
|
|
libei is a library to send Emulated Input (EI) to a matching Emulated
|
|
|
|
Input Server (EIS) which can receive those events with libeis.
|
|
|
|
|
|
|
|
It targets Wayland and provides separation, distinction and control,
|
|
|
|
which, for comparison, are not available with XTEST (X11's emulated
|
|
|
|
input).
|
2020-08-13 11:15:35 +02:00
|
|
|
|
|
|
|
%package devel
|
2022-03-02 09:04:17 +01:00
|
|
|
Summary: Header files for libei, a library for emulated input under Wayland
|
2020-08-13 11:15:35 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %lname = %version
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
libei is a library for Emulated Input, targeting the Wayland stack.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
%build
|
2024-06-05 22:12:01 +02:00
|
|
|
%meson -Dtests=disabled
|
2020-08-26 02:06:26 +02:00
|
|
|
%meson_build
|
2020-08-13 11:15:35 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
%meson_install
|
|
|
|
|
|
|
|
%post -n %lname -p /sbin/ldconfig
|
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n %lname
|
2022-12-15 21:18:44 +01:00
|
|
|
%_libdir/lib*.so.*
|
2020-08-13 11:15:35 +02:00
|
|
|
|
|
|
|
%files devel
|
2022-06-07 09:09:53 +02:00
|
|
|
%_bindir/ei-debug-*
|
2024-06-05 22:12:01 +02:00
|
|
|
%_includedir/%name-1.0
|
2020-08-13 11:15:35 +02:00
|
|
|
%_libdir/pkgconfig/*.pc
|
|
|
|
%_libdir/*.so
|
2020-08-16 17:24:37 +02:00
|
|
|
%license COPYING
|
2020-08-13 11:15:35 +02:00
|
|
|
|
|
|
|
%changelog
|