[packages/kp6-kpipewire] - updated to 6.0.0

witekfl witekfl at pld-linux.org
Sun Mar 3 21:08:54 CET 2024


commit e50ca2dfc65361a75d8e44a0873fc88f54b369ef
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Sun Mar 3 20:56:03 2024 +0100

    - updated to 6.0.0

 kp6-kpipewire.spec | 107 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 107 insertions(+)
---
diff --git a/kp6-kpipewire.spec b/kp6-kpipewire.spec
new file mode 100644
index 0000000..12d50d5
--- /dev/null
+++ b/kp6-kpipewire.spec
@@ -0,0 +1,107 @@
+#
+# Conditional build:
+%bcond_with	tests		# build with tests
+%define		kdeplasmaver	6.0.0
+%define		qtver		5.15.2
+%define		kpname		kpipewire
+Summary:	a set of convenient classes to use PipeWire in Qt projects
+Name:		kp6-%{kpname}
+Version:	6.0.0
+Release:	1
+License:	GPL v2+/LGPL v2.1+
+Group:		X11/Libraries
+Source0:	https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
+# Source0-md5:	1ce2e4da8cf65347f6fc5099b418ecc6
+URL:		http://www.kde.org/
+BuildRequires:	Qt6WaylandClient-devel
+BuildRequires:	cmake >= 3.16.0
+BuildRequires:	ffmpeg-devel
+BuildRequires:	kf5-plasma-wayland-protocols-devel
+BuildRequires:	kf6-extra-cmake-modules
+BuildRequires:	kp6-kwayland-devel
+BuildRequires:	ninja
+BuildRequires:	pipewire-devel
+BuildRequires:	qt6-build >= %{qtver}
+BuildRequires:	rpmbuild(macros) >= 1.164
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xz
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+kpipewire offers a set of convenient classes to use PipeWire
+(https://pipewire.org/) in Qt projects.
+
+%package devel
+Summary:	Header files for %{kpname} development
+Summary(pl.UTF-8):	Pliki nagłówkowe dla programistów używających %{kpname}
+Group:		X11/Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	cmake >= 3.16
+
+%description devel
+Header files for %{kpname} development.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla programistów używających %{kpname}.
+
+%prep
+%setup -q -n %{kpname}-%{version}
+
+%build
+%cmake -B build \
+	-G Ninja \
+	%{!?with_tests:-DBUILD_TESTING=OFF} \
+	-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+	-DKDE_INSTALL_DOCBUNDLEDIR=%{_kdedocdir}
+%ninja_build -C build
+
+%if %{with tests}
+ctest
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+%find_lang %{kpname} --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files -f %{kpname}.lang
+%defattr(644,root,root,755)
+%doc README.md
+%ghost %{_libdir}/libKPipeWire.so.6
+%attr(755,root,root) %{_libdir}/libKPipeWire.so.*.*
+%ghost %{_libdir}/libKPipeWireRecord.so.6
+%attr(755,root,root) %{_libdir}/libKPipeWireRecord.so.*.*
+%dir %{_libdir}/qt6/qml/org/kde/pipewire
+%attr(755,root,root) %{_libdir}/qt6/qml/org/kde/pipewire/libKPipeWireDeclarative.so
+%{_libdir}/qt6/qml/org/kde/pipewire/qmldir
+%dir %{_libdir}/qt6/qml/org/kde/pipewire/monitor
+%dir %{_libdir}/qt6/qml/org/kde/pipewire/record
+%attr(755,root,root) %{_libdir}/qt6/qml/org/kde/pipewire/record/libKPipeWireRecordDeclarative.so
+%{_libdir}/qt6/qml/org/kde/pipewire/record/qmldir
+%{_datadir}/qlogging-categories6/kpipewire.categories
+%{_datadir}/qlogging-categories6/kpipewirerecord.categories
+%ghost %{_libdir}/libKPipeWireDmaBuf.so.6
+%attr(755,root,root) %{_libdir}/libKPipeWireDmaBuf.so.*.*.*
+%{_libdir}/qt6/qml/org/kde/pipewire/KPipeWireDeclarative.qmltypes
+%{_libdir}/qt6/qml/org/kde/pipewire/kde-qmlmodule.version
+%{_libdir}/qt6/qml/org/kde/pipewire/monitor/KPipeWireMonitorDeclarative.qmltypes
+%{_libdir}/qt6/qml/org/kde/pipewire/monitor/kde-qmlmodule.version
+%attr(755,root,root) %{_libdir}/qt6/qml/org/kde/pipewire/monitor/libKPipeWireMonitorDeclarative.so
+%{_libdir}/qt6/qml/org/kde/pipewire/monitor/qmldir
+%{_libdir}/qt6/qml/org/kde/pipewire/record/KPipeWireRecordDeclarative.qmltypes
+%{_libdir}/qt6/qml/org/kde/pipewire/record/kde-qmlmodule.version
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/KPipeWire
+%{_libdir}/cmake/KPipeWire
+%{_libdir}/libKPipeWire.so
+%{_libdir}/libKPipeWireRecord.so
+%{_libdir}/libKPipeWireDmaBuf.so
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kp6-kpipewire.git/commitdiff/e50ca2dfc65361a75d8e44a0873fc88f54b369ef



More information about the pld-cvs-commit mailing list