kpipewire/kpipewire.spec

171 lines
4.7 KiB
RPMSpec
Raw Normal View History

2022-09-23 13:28:53 +00:00
Name: kpipewire
Summary: Set of convenient classes to use PipeWire in Qt projects
2023-11-23 23:58:08 +00:00
Version: 5.27.80
2023-08-01 18:58:44 +00:00
Release: 1%{?dist}
2022-09-23 13:28:53 +00:00
2023-11-23 23:58:08 +00:00
License: LGPL-2.0-or-later
2022-09-23 13:28:53 +00:00
URL: https://invent.kde.org/plasma/%{name}
2023-11-23 23:58:08 +00:00
Source0: https://download.kde.org/%{stable_kf6}/plasma/%{version}/%{name}-%{version}.tar.xz
2022-09-23 13:28:53 +00:00
2023-11-23 23:58:08 +00:00
# Compile Tools
2022-09-23 13:28:53 +00:00
BuildRequires: cmake
BuildRequires: gcc-c++
2023-11-23 23:58:08 +00:00
# Fedora
BuildRequires: kf6-rpm-macros
Requires: kf6-filesystem
# KDE Frameworks
2022-09-23 13:28:53 +00:00
BuildRequires: extra-cmake-modules
2023-11-23 23:58:08 +00:00
BuildRequires: cmake(KF6CoreAddons)
BuildRequires: cmake(KF6I18n)
BuildRequires: cmake(KF6Wayland)
# Misc
2022-09-23 13:28:53 +00:00
BuildRequires: libdrm-devel
2023-11-23 23:58:08 +00:00
BuildRequires: libepoxy-devel
2022-09-23 13:28:53 +00:00
BuildRequires: mesa-libgbm-devel
BuildRequires: pipewire-devel
BuildRequires: wayland-devel
2023-11-23 23:58:08 +00:00
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavfilter)
BuildRequires: pkgconfig(libavformat)
BuildRequires: pkgconfig(libavutil)
BuildRequires: pkgconfig(libswscale)
BuildRequires: pkgconfig(libva)
# Plasma
BuildRequires: plasma-wayland-protocols-devel
2022-09-23 13:28:53 +00:00
2023-11-23 23:58:08 +00:00
# Qt
BuildRequires: qt6-qtbase-devel
BuildRequires: qt6-qtbase-private-devel
BuildRequires: qt6-qtdeclarative-devel
BuildRequires: qt6-qtwayland-devel
2022-09-23 13:28:53 +00:00
%description
It is developed in C++ and it's main use target is QML components.
As it's what's been useful, this framework focuses on graphical PipeWire
features. If it was necessary, these could be included.
At the moment we offer two main components:
- KPipeWire: offers the main components to connect to and render
PipeWire into your app.
- KPipeWireRecord: using FFmpeg, helps to record a PipeWire video stream
into a file.
%package devel
Summary: Development files for %{name}
# This requires pipewire headers to be installed
Requires: pipewire-devel
2022-09-23 13:28:53 +00:00
Requires: %{name}%{?_isa} = %{version}-%{release}
Provides: kpipewire-devel = %{version}-%{release}
Provides: kpipewire-devel%{?_isa} = %{version}-%{release}
Obsoletes: kpipewire-devel <= 1:5.2.0
2022-09-23 13:28:53 +00:00
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup -p1 -n %{name}-%{version}
%build
2023-11-23 23:58:08 +00:00
%cmake_kf6
2022-09-23 13:28:53 +00:00
%cmake_build
%install
%cmake_install
%find_lang %{name} --with-qt --all-name
%files -f %{name}.lang
%license LICENSES/*
%{_libdir}/libKPipeWire.so.*
%{_libdir}/libKPipeWireRecord.so.*
2023-01-20 09:29:40 +00:00
%{_libdir}/libKPipeWireDmaBuf.so.*
2023-11-23 23:58:08 +00:00
%{_qt6_qmldir}/org/kde/pipewire/*
%{_kf6_datadir}/qlogging-categories6/*.categories
2022-09-23 13:28:53 +00:00
%files devel
%{_libdir}/libKPipeWire.so
%{_libdir}/libKPipeWireRecord.so
2023-01-20 09:29:40 +00:00
%{_libdir}/libKPipeWireDmaBuf.so
2022-09-23 13:28:53 +00:00
%dir %{_includedir}/KPipeWire
%{_includedir}/KPipeWire/*
%dir %{_libdir}/cmake/KPipeWire
%{_libdir}/cmake/KPipeWire/*.cmake
%changelog
2023-11-23 23:58:08 +00:00
* Fri Nov 10 2023 Alessandro Astone <ales.astone@gmail.com> - 5.27.80-1
- 5.27.80
2023-10-24 20:41:33 +00:00
* Tue Oct 24 2023 Steve Cossette <farchord@gmail.com> - 5.27.9-1
- 5.27.9
2023-09-13 04:35:39 +00:00
* Tue Sep 12 2023 justin.zobel@gmail.com - 5.27.8-1
- 5.27.8
2023-08-01 18:58:44 +00:00
* Tue Aug 01 2023 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 5.27.7-1
- 5.27.7
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.27.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
2023-06-25 18:57:19 +00:00
* Sun Jun 25 2023 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 5.27.6-1
- 5.27.6
2023-05-10 11:53:42 +00:00
* Wed May 10 2023 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 5.27.5-1
- 5.27.5
2023-04-04 13:02:39 +00:00
* Tue Apr 04 2023 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 5.27.4-1
- 5.27.4
2023-03-14 15:23:50 +00:00
* Tue Mar 14 2023 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 5.27.3-1
- 5.27.3
2023-03-12 16:34:54 +00:00
* Sun Mar 12 2023 Neal Gompa <ngompa@fedoraproject.org> - 5.27.2-2
- Rebuild for ffmpeg 6.0
2023-02-28 14:29:48 +00:00
* Tue Feb 28 2023 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 5.27.2-1
- 5.27.2
2023-02-21 14:30:40 +00:00
* Tue Feb 21 2023 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 5.27.1-1
- 5.27.1
2023-02-09 13:59:37 +00:00
* Thu Feb 09 2023 Marc Deop <marcdeop@fedoraproject.org> - 5.27.0-1
- 5.27.0
* Mon Jan 30 2023 Neal Gompa <ngompa@fedoraproject.org> - 5.26.90-3
- Add patch to use VP8 on WebM for screen recording by default
* Thu Jan 26 2023 Neal Gompa <ngompa@fedoraproject.org> - 5.26.90-2
- Add dependency on pipewire-devel for devel subpackage
2023-01-20 09:29:40 +00:00
* Thu Jan 19 2023 Marc Deop <marcdeop@fedoraproject.org> - 5.26.90-1
- 5.26.90
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.26.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
2023-01-05 22:56:18 +00:00
* Thu Jan 05 2023 Justin Zobel <justin@1707.io> - 5.26.5-1
- Update to 5.26.5
2022-11-29 18:58:11 +00:00
* Tue Nov 29 2022 Marc Deop <marcdeop@fedoraproject.org> - 5.26.4-1
- 5.26.4
2022-11-09 15:48:39 +00:00
* Wed Nov 09 2022 Marc Deop <marcdeop@fedoraproject.org> - 5.26.3-1
- 5.26.3
2022-10-26 12:58:02 +00:00
* Wed Oct 26 2022 Marc Deop <marcdeop@fedoraproject.org> - 5.26.2-1
- 5.26.2
2022-10-06 14:04:05 +00:00
* Thu Oct 06 2022 Marc Deop <marcdeop@fedoraproject.org> - 5.26.0-1
- 5.26.0
2022-09-23 13:28:53 +00:00
* Mon Sep 19 2022 Jan Grulich <jgrulich@redhat.com> - 5.25.90-1
- Initial package