Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:branches:openSUSE:Factory:Rings:1-MinimalX
pulseaudio-qt
pulseaudio-qt.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pulseaudio-qt.spec of Package pulseaudio-qt
# # spec file for package pulseaudio-qt # # Copyright (c) 2023 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/ # %global flavor @BUILD_FLAVOR@%{nil} %if "%flavor" == "qt6" %define pkg_suffix 6 %define qt6 1 %define kf6_version 5.246.0 %define qt6_version 6.6.0 %define library_name libKF6PulseAudioQt5 %else %define kf5_version 5.90 %define qt5_version 5.15.2 %define library_name libKF5PulseAudioQt5 %endif %define rname pulseaudio-qt %bcond_without released Name: pulseaudio-qt%{?pkg_suffix} Version: 1.6.1 Release: 0 Summary: Qt bindings for PulseAudio License: LGPL-2.1-or-later URL: https://www.kde.org Source: https://download.kde.org/stable/pulseaudio-qt/%{rname}-%{version}.tar.xz %if %{with released} Source1: https://download.kde.org/stable/pulseaudio-qt/%{rname}-%{version}.tar.xz.sig Source2: pulseaudio-qt.keyring %endif BuildRequires: pkgconfig %if 0%{?qt6} BuildRequires: doxygen BuildRequires: kf6-extra-cmake-modules >= %{kf6_version} BuildRequires: cmake(Qt6Core) >= %{qt6_version} BuildRequires: cmake(Qt6DBus) >= %{qt6_version} BuildRequires: cmake(Qt6Gui) >= %{qt6_version} BuildRequires: cmake(Qt6ToolsTools) >= %{qt6_version} %else BuildRequires: extra-cmake-modules >= %{kf5_version} BuildRequires: cmake(Qt5Core) >= %{qt5_version} BuildRequires: cmake(Qt5DBus) >= %{qt5_version} BuildRequires: cmake(Qt5Gui) >= %{qt5_version} BuildRequires: cmake(Qt5Qml) >= %{qt5_version} %endif BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(libpulse) %description Pulseaudio-Qt is a library providing Qt bindings to PulseAudio. %package -n %{library_name} Summary: Qt bindings for PulseAudio %description -n %{library_name} Pulseaudio-Qt is a library providing Qt bindings to PulseAudio. %package devel Summary: Development files for pulseaudio-qt, Qt bindings for PulseAudio Requires: %{library_name} = %{version} %if 0%{?qt6} Requires: cmake(Qt6Core) >= %{qt6_version} %else Requires: cmake(Qt5Core) >= %{qt5_version} %endif %description devel Development files for pulseaudio-qt, a library providing Qt bindings to PulseAudio. %prep %autosetup -p1 -n %{rname}-%{version} %build %if 0%{?qt6} %cmake_kf6 -DBUILD_WITH_QT6:BOOL=TRUE -DBUILD_QCH:BOOL=TRUE %kf6_build %else %cmake_kf5 -d build %cmake_build %endif %install %if 0%{?qt6} %kf6_install %else %kf5_makeinstall -C build %endif %ldconfig_scriptlets -n %{library_name} %files -n %{library_name} %license LICENSES/* %if 0%{?qt6} %{_kf6_libdir}/libKF6PulseAudioQt.so.* %else %{_kf5_libdir}/libKF5PulseAudioQt.so.* %endif %files devel %if 0%{?qt6} %doc %{_kf6_qchdir}/KF6PulseAudioQt.* %{_kf6_cmakedir}/KF6PulseAudioQt/ %{_kf6_includedir}/KF6PulseAudioQt/ %{_kf6_includedir}/pulseaudioqt_version.h %{_kf6_libdir}/libKF6PulseAudioQt.so %{_kf6_pkgconfigdir}/KF6PulseAudioQt.pc %else %{_kf5_cmakedir}/KF5PulseAudioQt/ %{_kf5_includedir}/KF5PulseAudioQt/ %{_kf5_includedir}/pulseaudioqt_version.h %{_kf5_libdir}/libKF5PulseAudioQt.so %{_kf5_libdir}/pkgconfig/KF5PulseAudioQt.pc %endif %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