]> git.pld-linux.org Git - packages/ka5-k3b.git/blobdiff - ka5-k3b.spec
- updated to 23.08.0; cmake -B build
[packages/ka5-k3b.git] / ka5-k3b.spec
index 9a2783d140c79f175b825964ce847d47ba137f18..929109e7e6c358c8789bff3108bbdf05db0cc0ad 100644 (file)
@@ -1,25 +1,25 @@
 #
 # 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          k3b
 Summary:       K3b - CD Kreator
 Name:          ka5-%{kaname}
-Version:       23.04.3
+Version:       23.08.0
 Release:       1
 License:       GPL v2+/LGPL v2.1+
 Group:         X11/Applications
 Source0:       https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
-# Source0-md5: 5310544bdb7ce7f6b1a319a5d5f02014
+# Source0-md5: c1cf504d389ee4be923c5604fbf21f97
 Patch0:                musepack.patch
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5DBus-devel >= %{qtver}
 BuildRequires: Qt5Gui-devel >= %{qtver}
 BuildRequires: Qt5WebKit-devel
-BuildRequires: cmake >= 2.8.12
+BuildRequires: cmake >= 3.20
 BuildRequires: ffmpeg-devel
 BuildRequires: flac-c++-devel
 BuildRequires: ka5-libkcddb-devel
@@ -123,18 +123,16 @@ Pliki nagłówkowe dla programistów używających %{kaname}.
 %patch0 -p1
 
 %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
 
 
This page took 0.151428 seconds and 4 git commands to generate.