commit 09e0fc11dff77e8c340622bf3dabaca023419b98c860fd3fc6fbc87e109fb948 Author: Jan Engelhardt Date: Wed Jan 26 20:38:32 2022 +0000 Accepting request 949342 from home:Mailaender:branches:X11:Wayland This will come in handy with the upcoming SDL release. OBS-URL: https://build.opensuse.org/request/show/949342 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libdecor?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/libdecor-0.1.0.tar.xz b/libdecor-0.1.0.tar.xz new file mode 100644 index 0000000..93e053e --- /dev/null +++ b/libdecor-0.1.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fdefa11de4bd51cb14223a97e41fdd848f01f5c5ddca9b036a0c4e3e74d9f486 +size 34540 diff --git a/libdecor.changes b/libdecor.changes new file mode 100644 index 0000000..1bd3b89 --- /dev/null +++ b/libdecor.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed Jan 26 20:08:00 UTC 2022 - Matthias Mailänder + +- initial packaging of version 0.1.0 diff --git a/libdecor.spec b/libdecor.spec new file mode 100644 index 0000000..2b89850 --- /dev/null +++ b/libdecor.spec @@ -0,0 +1,84 @@ +# +# spec file for package libdecor +# +# Copyright (c) 2022 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/ +# + +%define commit 81adf91d27620e20bcc5f6b9b312d768 + +Name: libdecor +Version: 0.1.0 +Release: 0 +Summary: Wayland client side decoration library +Group: System/GUI/Other +License: MIT +URL: https://gitlab.gnome.org/jadahl/libdecor +Source: https://gitlab.gnome.org/jadahl/libdecor/uploads/%commit/%{name}-%{version}.tar.xz +BuildRequires: gcc +BuildRequires: meson +BuildRequires: pkgconfig +BuildRequires: pkgconfig(cairo) +BuildRequires: pkgconfig(dbus-1) +BuildRequires: pkgconfig(pangocairo) +BuildRequires: pkgconfig(wayland-client) +BuildRequires: pkgconfig(wayland-cursor) +BuildRequires: pkgconfig(wayland-protocols) +BuildRequires: pkgconfig(xkbcommon) + +%description +A library that can help Wayland clients draw window decorations for them. +It aims to provide multiple backends that implements the decoration drawing. + +%package -n libdecor-0-0 +Summary: Library for client-side Wayland decorations +Requires: %{name} + +%description -n libdecor-0-0 +A client-side decorations library for Wayland client. + +%package devel +Summary: Development files for libdecor +Group: Development/Libraries/C and C++ +Requires: libdecor-0-0 = %{version} + +%description devel +Libraries and header files for developing applications that target libdecor. + +%prep +%autosetup + +%build +%meson -Ddemo=false +%meson_build + +%install +%meson_install + +%post -n libdecor-0-0 -p /sbin/ldconfig +%postun -n libdecor-0-0 -p /sbin/ldconfig + +%files +%license LICENSE +%doc README.md +%{_libdir}/libdecor/ + +%files -n libdecor-0-0 +%{_libdir}/libdecor-0.so.0* + +%files devel +%{_includedir}/libdecor-0/ +%{_libdir}/libdecor-0.so +%{_libdir}/pkgconfig/libdecor-0.pc + +%changelog