Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
X11:Deepin:Factory
deepin-tray-loader
deepin-tray-loader.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File deepin-tray-loader.spec of Package deepin-tray-loader
# # spec file for package deepin-tray-loader # # 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 _name dde-tray-loader %define qtver 5 %define libver 0 %if 0%{?suse_version} < 1600 %define _distconfdir %{_prefix}/etc %endif Name: deepin-tray-loader Version: 1.0.5 Release: 0 Summary: A plugin system for dde License: GPL-3.0-or-later Group: System/GUI/Other URL: https://github.com/linuxdeepin/dde-tray-loader Source0: https://github.com/linuxdeepin/dde-tray-loader/archive/%{version}/%{_name}-%{version}.tar.gz # PATCH-FIX-UPSTRAM fix-hardcode-plugin-dir.patch hillwood@opensuse.org - do not hardcode plugin path # https://github.com/linuxdeepin/dde-tray-loader/pull/143 Patch0: fix-hardcode-plugin-dir.patch # PATCH-FIX-UPSTRAM fix-undefined-reference-error.patch hillwood@opensuse.org - Fix issue#10008 # https://github.com/linuxdeepin/dde-tray-loader/pull/143 Patch1: fix-undefined-reference-error.patch # PATCH-FIX-UPSTRAM fix-plugin-position.patch BuildRequires: extra-cmake-modules BuildRequires: libqt5-qtwayland-private-headers-devel BuildRequires: cmake(DdeControlCenter) BuildRequires: cmake(KF%{qtver}NetworkManagerQt) BuildRequires: cmake(Qt%{qtver}LinguistTools) BuildRequires: cmake(Qt%{qtver}XkbCommonSupport) BuildRequires: pkgconfig(dbusmenu-qt5) BuildRequires: pkgconfig(Qt%{qtver}Concurrent) BuildRequires: pkgconfig(Qt%{qtver}Core) BuildRequires: pkgconfig(Qt%{qtver}DBus) BuildRequires: pkgconfig(Qt%{qtver}Gui) BuildRequires: pkgconfig(Qt%{qtver}Quick) BuildRequires: pkgconfig(Qt%{qtver}Svg) BuildRequires: pkgconfig(Qt%{qtver}WaylandClient) BuildRequires: pkgconfig(Qt%{qtver}Widgets) BuildRequires: pkgconfig(Qt%{qtver}Xml) BuildRequires: pkgconfig(dframeworkdbus) BuildRequires: pkgconfig(dtkcore) BuildRequires: pkgconfig(dtkgui) BuildRequires: pkgconfig(dtkwidget) BuildRequires: pkgconfig(gsettings-qt) BuildRequires: pkgconfig(xcb-aux) BuildRequires: pkgconfig(xcb-ewmh) BuildRequires: pkgconfig(xcb-image) BuildRequires: pkgconfig(xcursor) BuildRequires: pkgconfig(xtst) BuildRequires: pkgconfig(xres) BuildRequires: pkgconfig(xkbcommon) Requires: libqt5-qtwayland Provides: deepin-dock = 6.0.37.%{version} Conflicts: deepin-dock < 6.0.37.%{version} Recommends: %{name}-lang = %{version} %description The deepin-tray-loader project provides a set of tray plugins that integrated into task bar and the tool loader which can load the plugins. %package -n libdde-trayplugin-interface%{libver} Summary: The libraries of deepin-tray-loader Group: System/Libraries %description -n libdde-trayplugin-interface%{libver} The deepin-tray-loader project provides a set of tray plugins that integrated into task bar and the tool loader which can load the plugins. This package provides the libraries of deepin-tray-loader %package devel Summary: Development tools for deepin-tray-loader Group: Development/Languages/C and C++ Requires: libdde-trayplugin-interface%{libver} = %{version} Provides: deepin-dock-devel = 6.0.37.%{version} Conflicts: deepin-dock-devel < 6.0.37.%{version} %description devel The deepin-tray-loader-devel package contains the header files and developer docs for deepin-tray-loader. %lang_package %prep %autosetup -p1 -n %{_name}-%{version} sed -i '/DSG_APP_ID/s|dde-dock|org.deepin.dde.dock|' src/loader/main.cpp %build %cmake %cmake_build %install %cmake_install %find_lang dde-dock --with-qt %find_lang trayplugin-loader --with-qt %post -n libdde-trayplugin-interface%{libver} -p /sbin/ldconfig %postun -n libdde-trayplugin-interface%{libver} -p /sbin/ldconfig %files %if 0%{?suse_version} < 1600 %dir %{_distconfdir} %endif %{_libexecdir}/trayplugin-loader %{_libdir}/dde-dock %{_distconfdir}/dde-dock %{_datadir}/dde-dock %exclude %{_datadir}/dde-dock/translations %dir %{_datadir}/dsg %dir %{_datadir}/dsg/configs %dir %{_datadir}/dsg/configs/org.deepin.dde.dock %{_datadir}/dsg/configs/org.deepin.dde.dock/org.deepin.dde.dock.plugin.common.json %{_datadir}/dsg/configs/org.deepin.dde.dock/org.deepin.dde.dock.plugin.power.json %{_datadir}/dsg/configs/org.deepin.dde.dock/org.deepin.dde.dock.plugin.sound.json %dir %{_datadir}/dsg/configs/org.deepin.dde.tray-loader %{_datadir}/dsg/configs/org.deepin.dde.tray-loader/org.deepin.dde.dock.plugin.common.json %{_datadir}/dsg/configs/org.deepin.dde.tray-loader/org.deepin.dde.dock.plugin.power.json %{_datadir}/dsg/configs/org.deepin.dde.tray-loader/org.deepin.dde.dock.plugin.sound.json %{_datadir}/glib-2.0/schemas/com.deepin.dde.control-center.gschema.xml %{_datadir}/glib-2.0/schemas/com.deepin.dde.dock.module.gschema.xml %{_kf5_plugindir}/wayland-shell-integration %files -n libdde-trayplugin-interface%{libver} %{_libdir}/libdde-trayplugin-interface.so.* %files devel %{_includedir}/dde-dock %{_includedir}/dde-tray-loader %{_libdir}/libdde-trayplugin-interface.so %{_libdir}/cmake/DdeDock %{_libdir}/cmake/DdeTrayLoader %{_libdir}/pkgconfig/dde-dock.pc %{_libdir}/pkgconfig/dde-tray-loader.pc %files lang -f dde-dock.lang -f trayplugin-loader.lang %dir %{_datadir}/dde-dock/translations %dir %{_datadir}/trayplugin-loader %dir %{_datadir}/trayplugin-loader/translations %{_datadir}/trayplugin-loader/translations/trayplugin-loader.qm %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