Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:hillwood:branches: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 f8a9cba92eedfdf3c701062db5196ec45b4b6da8 %define shortcommit f8a9cba %define sover 0 Name: qwlroots Version: 0.2.0+git20240730.%{shortcommit} Release: 0 Summary: A Qt style development interface License: LGPL-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: fdupes 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 devel Summary: Development tools for qwlroots Group: Development/Libraries/C and C++ Requires: %{name}-devel-static = %{version}-%{release} %description devel The qwlroots-devel package contains the header files qwlroots. %package devel-static Summary: The static library of qwlroots Group: System/Libraries %description devel-static 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 static library of qwlroots. %prep %autosetup -p1 -n %{name}-%{commit} sed -i "/add_compile_options/s|)| -ffat-lto-objects)|" src/CMakeLists.txt %build %if 0%{?suse_version} < 1600 export CXX=g++-13 %endif %cmake %cmake_build %install %cmake_install sed -i "s/\${wlr}/wlroots/" %{buildroot}%{_libdir}/cmake/QWlroots/QWlrootsConfig.cmake %fdupes %{buildroot}%{_includedir} %files devel %doc README.md README.zh_CN.md %license debian/copyright %{_libdir}/pkgconfig/%{name}.pc %{_libdir}/cmake/QWlroots %{_includedir}/%{name} %files devel-static %{_libdir}/lib%{name}.a %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