Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
X11:Deepin:Factory
qwlroots
qwlroots.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qwlroots.spec of Package qwlroots
# # spec file for package qwlroots # # Copyright (c) 2024 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 dd9c126499ed474eb7a7534c945798c4b07ef4b7 %define shortcommit dd9c126 %define sover 0 Name: qwlroots Version: 0.1.0+git20240110.%{shortcommit} Release: 0 Summary: A Qt style development interface License: Apache-2.0 OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only URL: https://github.com/vioken/qwlroots/ Group: System/GUI/Other Source0: https://github.com/vioken/qwlroots/archive/%{commit}/%{name}-%{shortcommit}.tar.gz BuildRequires: pkgconfig(Qt6Core) BuildRequires: pkgconfig(Qt6Gui) BuildRequires: pkgconfig(Qt6Test) BuildRequires: pkgconfig(wlroots) BuildRequires: pkgconfig(wayland-server) BuildRequires: pkgconfig(wayland-protocols) BuildRequires: pkgconfig(wlr-protocols) BuildRequires: pkgconfig(pixman-1) %if 0%{?suse_version} < 1600 BuildRequires: gcc13-c++ %endif %description Qwlroots is a binding of wlroots, which provides a Qt style development interface. It aims to simplify wlroots API calling methods with Qt, and serve the needs of calling wlroots within Qt projects. In qwlroots, each wlroots struct is wrapped as a C++ class with its corresponding functions. At the same time, wl_singals in Wayland are wrapped as Qt signals. %package -n lib%{name}%{sover} Summary: The library of qwlroots Group: System/Libraries %description -n lib%{name}%{sover} Qwlroots is a binding of wlroots, which provides a Qt style development interface. It aims to simplify wlroots API calling methods with Qt, and serve the needs of calling wlroots within Qt projects. In qwlroots, each wlroots struct is wrapped as a C++ class with its corresponding functions. At the same time, wl_singals in Wayland are wrapped as Qt signals. The package provides library of qwlroots. %package devel Summary: Development tools for qwlroots Group: Development/Libraries/C and C++ Requires: lib%{name}%{sover} = %{version} %description devel The qwlroots-devel package contains the header files qwlroots. %prep %autosetup -p1 -n %{name}-%{commit} %build %if 0%{?suse_version} < 1600 export CXX=g++-13 %endif %cmake %cmake_build %install %cmake_install %post -n lib%{name}%{sover} -p /sbin/ldconfig %postun -n lib%{name}%{sover} -p /sbin/ldconfig %files -n lib%{name}%{sover} %{_libdir}/lib%{name}.so.* %files devel %doc README.md README.zh_CN.md %license debian/copyright %{_libdir}/lib%{name}.so %{_libdir}/pkgconfig/%{name}.pc %{_libdir}/cmake/QWlroots %{_includedir}/%{name} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor