[packages/ka6-audiotube] - real cleanup + dependencies update

qboosh qboosh at pld-linux.org
Sun Oct 20 13:55:59 CEST 2024


commit 60df078c126bcd174f0c00ffaa44adde7c4cc111
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Oct 20 13:09:05 2024 +0200

    - real cleanup + dependencies update

 ka6-audiotube.spec | 77 ++++++++++++++++++++++++++++++++++--------------------
 1 file changed, 49 insertions(+), 28 deletions(-)
---
diff --git a/ka6-audiotube.spec b/ka6-audiotube.spec
index a483e55..01d09c5 100644
--- a/ka6-audiotube.spec
+++ b/ka6-audiotube.spec
@@ -3,8 +3,8 @@
 %bcond_with	tests		# test suite
 
 %define		kdeappsver	24.08.2
-%define		qtver		5.15.2
-%define		kf5ver		5.71.0
+%define		qt_ver		6.4.0
+%define		kf_ver		5.240.0
 %define		kaname		audiotube
 Summary:	A client for YouTube Music
 Summary(pl.UTF-8):	Klient YouTube Music
@@ -12,43 +12,66 @@ Name:		ka6-%{kaname}
 Version:	24.08.2
 Release:	1
 License:	GPL v3
-Group:		X11/Applications
+Group:		X11/Applications/Multimedia
 Source0:	https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
 # Source0-md5:	47ac7979cbc4d77bb8ca5a6ed785758e
 URL:		https://apps.kde.org/audiotube/
-BuildRequires:	Qt6Concurrent-devel
-BuildRequires:	Qt6Core-devel >= 5.15.2
-BuildRequires:	Qt6DBus-devel
-BuildRequires:	Qt6Gui-devel >= 5.15.2
-BuildRequires:	Qt6Network-devel >= 5.15.10
-BuildRequires:	Qt6Qml-devel >= 5.15.10
-BuildRequires:	Qt6Quick-devel >= 5.15.10
-BuildRequires:	Qt6Sql-devel >= 5.15.2
-BuildRequires:	Qt6Svg-devel
-BuildRequires:	Qt6Widgets-devel >= 5.15.2
-BuildRequires:	fontconfig-devel
-BuildRequires:	freetype-devel
+BuildRequires:	Qt6Concurrent-devel >= %{qt_ver}
+BuildRequires:	Qt6Core-devel >= %{qt_ver}
+BuildRequires:	Qt6DBus-devel >= %{qt_ver}
+BuildRequires:	Qt6Gui-devel >= %{qt_ver}
+BuildRequires:	Qt6Multimedia-devel >= %{qt_ver}
+BuildRequires:	Qt6Network-devel >= %{qt_ver}
+BuildRequires:	Qt6Qml-devel >= %{qt_ver}
+BuildRequires:	Qt6Quick-devel >= %{qt_ver}
+BuildRequires:	Qt6Sql-devel >= %{qt_ver}
+BuildRequires:	Qt6Svg-devel >= %{qt_ver}
+BuildRequires:	Qt6Widgets-devel >= %{qt_ver}
+BuildRequires:	cmake >= 3.16.0
 BuildRequires:	futuresql-qt6-devel
-BuildRequires:	gettext-devel
+BuildRequires:	gettext-tools
 BuildRequires:	kf6-extra-cmake-modules >= 5.81
-BuildRequires:	kf6-kcoreaddons-devel >= 5.81
-BuildRequires:	kf6-kcrash-devel >= 5.81
-BuildRequires:	kf6-ki18n-devel >= 5.81
-BuildRequires:	kf6-kirigami-addons-devel >= 0.6.0
-BuildRequires:	kf6-kirigami-devel >= 5.81
-BuildRequires:	kf6-kwindowsystem-devel >= 5.81
+BuildRequires:	kf6-kcoreaddons-devel >= %{kf_ver}
+BuildRequires:	kf6-kcrash-devel >= %{kf_ver}
+BuildRequires:	kf6-ki18n-devel >= %{kf_ver}
+BuildRequires:	kf6-kirigami-addons-devel >= 0.11.0
+BuildRequires:	kf6-kirigami-devel >= %{kf_ver}
+BuildRequires:	kf6-kwindowsystem-devel >= %{kf_ver}
+# C++20
+BuildRequires:	libstdc++-devel >= 6:8
 BuildRequires:	ninja
 BuildRequires:	pkgconfig
 BuildRequires:	python3
 BuildRequires:	python3-pybind11
 BuildRequires:	python3-yt-dlp
 BuildRequires:	python3-ytmusicapi >= 1.0.2
-BuildRequires:	qcoro-qt6-devel >= 0.9.0
-BuildRequires:	qt6-build >= %{qtver}
+BuildRequires:	qcoro-qt6-devel >= 0.10.0
+BuildRequires:	qt6-build >= %{qt_ver}
 BuildRequires:	rpmbuild(macros) >= 1.736
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
-Obsoletes:	ka5-%{kaname} < %{version}
+Requires:	Qt6Concurrent >= %{qt_ver}
+Requires:	Qt6Core >= %{qt_ver}
+Requires:	Qt6DBus >= %{qt_ver}
+Requires:	Qt6Gui >= %{qt_ver}
+Requires:	Qt6Multimedia >= %{qt_ver}
+Requires:	Qt6Multimedia-plugin-gstreamer >= %{qt_ver}
+Requires:	Qt6Network >= %{qt_ver}
+Requires:	Qt6Qml >= %{qt_ver}
+Requires:	Qt6Quick >= %{qt_ver}
+Requires:	Qt6Sql >= %{qt_ver}
+Requires:	Qt6Svg >= %{qt_ver}
+Requires:	Qt6Widgets >= %{qt_ver}
+Requires:	kf6-kcoreaddons >= %{kf_ver}
+Requires:	kf6-kcrash >= %{kf_ver}
+Requires:	kf6-ki18n >= %{kf_ver}
+Requires:	kf6-kirigami-addons >= 0.11.0
+Requires:	kf6-kirigami >= %{kf_ver}
+Requires:	kf6-kwindowsystem >= %{kf_ver}
+Requires:	python3-yt-dlp
+Requires:	python3-ytmusicapi >= 1.0.2
+Requires:	qcoro-qt6 >= 0.10.0
+Obsoletes:	ka5-audiotube < 24
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -80,9 +103,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %ninja_install -C build
 
-#%{__rm} -r $RPM_BUILD_ROOT%{_kdedocdir}/{sr,zh_CN}
-
-%find_lang %{kaname} --all-name --with-kde
+%find_lang %{kaname} --all-name
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka6-audiotube.git/commitdiff/60df078c126bcd174f0c00ffaa44adde7c4cc111



More information about the pld-cvs-commit mailing list