This commit is contained in:
Alessandro Astone 2023-11-24 00:58:08 +01:00
parent e29a612fcc
commit f0dc121ce8
3 changed files with 38 additions and 33 deletions

1
.gitignore vendored
View File

@ -15,3 +15,4 @@
/kpipewire-5.27.7.tar.xz
/kpipewire-5.27.8.tar.xz
/kpipewire-5.27.9.tar.xz
/kpipewire-5.27.80.tar.xz

View File

@ -1,43 +1,47 @@
Name: kpipewire
Summary: Set of convenient classes to use PipeWire in Qt projects
Version: 5.27.9
Version: 5.27.80
Release: 1%{?dist}
License: LGPLv2+
License: LGPL-2.0-or-later
URL: https://invent.kde.org/plasma/%{name}
Source0: https://download.kde.org/%{stable_kf6}/plasma/%{version}/%{name}-%{version}.tar.xz
%global revision %(echo %{version} | cut -d. -f3)
%if %{revision} >= 50
%global stable unstable
%else
%global stable stable
%endif
Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{name}-%{version}.tar.xz
# Compile Tools
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: extra-cmake-modules
BuildRequires: kf5-rpm-macros
BuildRequires: cmake(KF5CoreAddons)
BuildRequires: cmake(KF5I18n)
BuildRequires: cmake(KF5Wayland)
BuildRequires: plasma-wayland-protocols-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtbase-private-devel
BuildRequires: qt5-qtdeclarative-devel
BuildRequires: qt5-qtwayland-devel
BuildRequires: libavcodec-free-devel
BuildRequires: libavutil-free-devel
BuildRequires: libavformat-free-devel
BuildRequires: libepoxy-devel
# Fedora
BuildRequires: kf6-rpm-macros
Requires: kf6-filesystem
# KDE Frameworks
BuildRequires: extra-cmake-modules
BuildRequires: cmake(KF6CoreAddons)
BuildRequires: cmake(KF6I18n)
BuildRequires: cmake(KF6Wayland)
# Misc
BuildRequires: libdrm-devel
BuildRequires: libswscale-free-devel
BuildRequires: libepoxy-devel
BuildRequires: mesa-libgbm-devel
BuildRequires: pipewire-devel
BuildRequires: wayland-devel
BuildRequires: pkgconfig(libavcodec)
BuildRequires: pkgconfig(libavfilter)
BuildRequires: pkgconfig(libavformat)
BuildRequires: pkgconfig(libavutil)
BuildRequires: pkgconfig(libswscale)
BuildRequires: pkgconfig(libva)
Requires: kf5-filesystem
# Plasma
BuildRequires: plasma-wayland-protocols-devel
# Qt
BuildRequires: qt6-qtbase-devel
BuildRequires: qt6-qtbase-private-devel
BuildRequires: qt6-qtdeclarative-devel
BuildRequires: qt6-qtwayland-devel
%description
It is developed in C++ and it's main use target is QML components.
@ -69,8 +73,7 @@ developing applications that use %{name}.
%autosetup -p1 -n %{name}-%{version}
%build
%cmake_kf5
%cmake_kf6
%cmake_build
@ -79,15 +82,13 @@ developing applications that use %{name}.
%find_lang %{name} --with-qt --all-name
%ldconfig_scriptlets
%files -f %{name}.lang
%license LICENSES/*
%{_libdir}/libKPipeWire.so.*
%{_libdir}/libKPipeWireRecord.so.*
%{_libdir}/libKPipeWireDmaBuf.so.*
%{_qt5_qmldir}/org/kde/pipewire/*
%{_kf5_datadir}/qlogging-categories5/*.categories
%{_qt6_qmldir}/org/kde/pipewire/*
%{_kf6_datadir}/qlogging-categories6/*.categories
%files devel
%{_libdir}/libKPipeWire.so
@ -99,6 +100,9 @@ developing applications that use %{name}.
%{_libdir}/cmake/KPipeWire/*.cmake
%changelog
* Fri Nov 10 2023 Alessandro Astone <ales.astone@gmail.com> - 5.27.80-1
- 5.27.80
* Tue Oct 24 2023 Steve Cossette <farchord@gmail.com> - 5.27.9-1
- 5.27.9

View File

@ -1 +1 @@
SHA512 (kpipewire-5.27.9.tar.xz) = 979c7a4e7ea12447353fd66f26e32da5eff5d1c6ccbbd4fda71a2a201c43827e825b7c35c113c93387b6df50c85cfc8d849f735f4fc91c8ed616e081f3fdaf45
SHA512 (kpipewire-5.27.80.tar.xz) = 23ceb15f6acd4c647a6271b8ad1cafbcccef7c92315923a28981173e4bba955cd9e0a4475b357383c7eeb61e08369ab8fd1817afbd2580a792692dac13212b16