[packages/ka5-ffmpegthumbs] - updated to 23.08.0; cmake -B build

witekfl witekfl at pld-linux.org
Thu Aug 24 18:18:42 CEST 2023


commit b54c528441dbc94932e08eced6ae6fb0fe432958
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Thu Aug 24 17:48:59 2023 +0200

    - updated to 23.08.0; cmake -B build

 ka5-ffmpegthumbs.spec | 21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)
---
diff --git a/ka5-ffmpegthumbs.spec b/ka5-ffmpegthumbs.spec
index dbbd327..a5e4d24 100644
--- a/ka5-ffmpegthumbs.spec
+++ b/ka5-ffmpegthumbs.spec
@@ -1,21 +1,21 @@
 #
 # Conditional build:
 %bcond_with	tests		# build with tests
-%define		kdeappsver	23.04.3
+%define		kdeappsver	23.08.0
 %define		kframever	5.94.0
 %define		qtver		5.15.2
 %define		kaname		ffmpegthumbs
 Summary:	Ffmpegthumbs
 Name:		ka5-%{kaname}
-Version:	23.04.3
+Version:	23.08.0
 Release:	1
 License:	GPL v2+/LGPL v2.1+
 Group:		X11/Libraries
 Source0:	https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
-# Source0-md5:	60d473009f0c29e41b903fe3b78b99d0
+# Source0-md5:	e256dc2bb6325c70dcb31a79e41e348c
 URL:		http://www.kde.org/
 BuildRequires:	Qt5Core-devel >= %{qtver}
-BuildRequires:	cmake >= 2.8.12
+BuildRequires:	cmake >= 3.20
 BuildRequires:	ffmpeg-devel
 BuildRequires:	gettext-devel
 BuildRequires:	kf5-extra-cmake-modules >= %{kframever}
@@ -40,18 +40,16 @@ Oparty na FFmpeg generator miniaturek plików wideo.
 %setup -q -n %{kaname}-%{version}
 
 %build
-install -d build
-cd build
 %cmake \
+	-B build \
 	-G Ninja \
 	%{!?with_tests:-DBUILD_TESTING=OFF} \
 	-DHTML_INSTALL_DIR=%{_kdedocdir} \
-	-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-	..
-%ninja_build
+	-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+%ninja_build -C build
 
 %if %{with tests}
-ctest
+ctest --test-dir build
 %endif
 
 
@@ -64,8 +62,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/qt5/plugins/ffmpegthumbs.so
-%{_datadir}/kservices5/ffmpegthumbs.desktop
+%attr(755,root,root) %{_libdir}/qt5/plugins/kf5/thumbcreator/ffmpegthumbs.so
 %{_datadir}/config.kcfg/ffmpegthumbnailersettings5.kcfg
 %{_datadir}/metainfo/org.kde.ffmpegthumbs.metainfo.xml
 %{_datadir}/qlogging-categories5/ffmpegthumbs.categories
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka5-ffmpegthumbs.git/commitdiff/b54c528441dbc94932e08eced6ae6fb0fe432958



More information about the pld-cvs-commit mailing list