- Initial package (version 0+134/7965e8f) for build.opensuse.org
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libei?expand=0&rev=1
This commit is contained in:
commit
946d32136c
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
14
_service
Normal file
14
_service
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<services>
|
||||||
|
<service name="tar_scm" mode="disabled">
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="url">https://gitlab.freedesktop.org/whot/libei/</param>
|
||||||
|
<param name="revision">master</param>
|
||||||
|
<param name="parent-tag">5e649f682ab3f404919717b8757c9c8ebcfde52f</param>
|
||||||
|
<param name="versionformat">0+git@TAG_OFFSET@</param>
|
||||||
|
</service>
|
||||||
|
<service name="recompress" mode="disabled">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="disabled"/>
|
||||||
|
</services>
|
3
libei-0+git134.tar.xz
Normal file
3
libei-0+git134.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:21029a60757f387fb26e6915992f07da760f56abc952931972a875c56bcd99ae
|
||||||
|
size 57964
|
5
libei.changes
Normal file
5
libei.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 13 09:01:21 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Initial package (version 0+134/7965e8f) for build.opensuse.org
|
||||||
|
- Add system-munit.diff, ver.diff
|
78
libei.spec
Normal file
78
libei.spec
Normal file
@ -0,0 +1,78 @@
|
|||||||
|
#
|
||||||
|
# spec file for package libei
|
||||||
|
#
|
||||||
|
# Copyright (c) 2020 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: libei
|
||||||
|
%define lname libei-suse0
|
||||||
|
Version: 0+git134
|
||||||
|
Release: 0
|
||||||
|
Summary: Library for emulated input in Wayland
|
||||||
|
License: MIT
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
URL: https://gitlab.freedesktop.org/whot/libei/
|
||||||
|
|
||||||
|
Source: %name-%version.tar.xz
|
||||||
|
Patch1: system-munit.diff
|
||||||
|
Patch2: ver.diff
|
||||||
|
BuildRequires: meson
|
||||||
|
BuildRequires: protobuf-c
|
||||||
|
BuildRequires: pkgconfig(libprotobuf-c)
|
||||||
|
BuildRequires: pkgconfig(protobuf-lite)
|
||||||
|
BuildRequires: pkgconfig(munit)
|
||||||
|
BuildRequires: ninja
|
||||||
|
|
||||||
|
%description
|
||||||
|
libei is a library for Emulated Input, targeting the Wayland stack.
|
||||||
|
It provides separation, distinction and control, which, for
|
||||||
|
comparison, are not available with XTEST (X11's emulated input).
|
||||||
|
|
||||||
|
%package -n %lname
|
||||||
|
Summary: OpenGL and OpenGL ES shader front end implementation
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n %lname
|
||||||
|
libei is a library for Emulated Input, targeting the Wayland stack.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: OpenGL and OpenGL ES shader front end and validator
|
||||||
|
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
|
||||||
|
%meson --includedir="%_includedir/%name"
|
||||||
|
|
||||||
|
%install
|
||||||
|
%meson_install
|
||||||
|
|
||||||
|
%post -n %lname -p /sbin/ldconfig
|
||||||
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files -n %lname
|
||||||
|
%_libdir/lib*.so.suse0
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%_includedir/%name/
|
||||||
|
%_libdir/pkgconfig/*.pc
|
||||||
|
%_libdir/*.so
|
||||||
|
|
||||||
|
%changelog
|
17
system-munit.diff
Normal file
17
system-munit.diff
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
From: Jan Engelhardt <jengelh@inai.de>
|
||||||
|
Date: 2020-08-13 11:01:08.470708019 +0200
|
||||||
|
|
||||||
|
Do not fail the build if munit available (only) via /usr.
|
||||||
|
|
||||||
|
diff --git a/meson.build b/meson.build
|
||||||
|
index 11cc511..427fb43 100644
|
||||||
|
--- a/meson.build
|
||||||
|
+++ b/meson.build
|
||||||
|
@@ -114,7 +114,6 @@ executable('ei-socket-client',
|
||||||
|
dependencies: [dep_libei])
|
||||||
|
|
||||||
|
# tests
|
||||||
|
-subproject('munit')
|
||||||
|
|
||||||
|
munit = dependency('munit', fallback: ['munit', 'munit_dep'])
|
||||||
|
|
37
ver.diff
Normal file
37
ver.diff
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
From: Jan Engelhardt <jengelh@inai.de>
|
||||||
|
Date: 2020-08-13 11:07:06.143460258 +0200
|
||||||
|
|
||||||
|
unversioned libraries suck.
|
||||||
|
|
||||||
|
diff --git a/meson.build b/meson.build
|
||||||
|
index 11cc511..41d140f 100644
|
||||||
|
--- a/meson.build
|
||||||
|
+++ b/meson.build
|
||||||
|
@@ -45,7 +45,8 @@ src_libei = [
|
||||||
|
lib_libei = shared_library('ei',
|
||||||
|
src_libei,
|
||||||
|
dependencies: [dep_libutil, dep_protobuf],
|
||||||
|
- install: true
|
||||||
|
+ install: true,
|
||||||
|
+ soversion: 'suse0'
|
||||||
|
)
|
||||||
|
install_headers('src/libei.h')
|
||||||
|
|
||||||
|
@@ -69,7 +70,8 @@ lib_libeis = shared_library('eis',
|
||||||
|
'src/libeis-fd.c',
|
||||||
|
proto_headers,
|
||||||
|
dependencies: [dep_libutil, dep_protobuf],
|
||||||
|
- install: true
|
||||||
|
+ install: true,
|
||||||
|
+ soversion: 'suse0'
|
||||||
|
)
|
||||||
|
install_headers('src/libeis.h')
|
||||||
|
|
||||||
|
@@ -91,6 +93,7 @@ lib_libreis = shared_library('reis',
|
||||||
|
dependencies: [dep_libutil, dep_protobuf],
|
||||||
|
install: true,
|
||||||
|
include_directories: 'src',
|
||||||
|
+ soversion: 'suse0'
|
||||||
|
)
|
||||||
|
install_headers('src/libreis.h')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user