]> git.pld-linux.org Git - packages/kf5-kdeclarative.git/blobdiff - kf5-kdeclarative.spec
- bcond_with tests
[packages/kf5-kdeclarative.git] / kf5-kdeclarative.spec
index 94180c552fe42f3c7981efae16f25735ed067c74..b7433cf9b9031d1b558a440d6b6f7555b7964e69 100644 (file)
@@ -1,15 +1,18 @@
-%define                kdeframever     5.83
+#
+# Conditional build:
+%bcond_with    tests           # build with tests
+%define                kdeframever     5.92
 %define                qtver           5.9.0
 %define                kfname          kdeclarative
 
 Summary:       Integration of QML and KDE work spaces
 Name:          kf5-%{kfname}
-Version:       5.83.0
+Version:       5.92.0
 Release:       1
 License:       LGPL v2.1+
 Group:         X11/Libraries
-Source0:       http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
-# Source0-md5: 5b577463ea51e7552f190e7f6aea70f0
+Source0:       https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
+# Source0-md5: 8548b2884b0794f1aec613640d745ce0
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5DBus-devel >= %{qtver}
@@ -81,10 +84,16 @@ Pliki nagłówkowe dla programistów używających %{kfname}.
 install -d build
 cd build
 %cmake -G Ninja \
+       %{!?with_tests:-DBUILD_TESTING=OFF} \
        -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
        ../
 %ninja_build
 
+%if %{with tests}
+ctest
+%endif
+
+
 %install
 rm -rf $RPM_BUILD_ROOT
 %ninja_install -C build
@@ -139,11 +148,17 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/qt5/qml/org/kde/kcm/SettingHighlighter.qml
 %{_libdir}/qt5/qml/org/kde/kcm/SettingStateBinding.qml
 %{_libdir}/qt5/qml/org/kde/kcm/ContextualHelpButton.qml
+%dir %{_libdir}/qt5/qml/org/kde/graphicaleffects
+%{_libdir}/qt5/qml/org/kde/graphicaleffects/Lanczos.qml
+%{_libdir}/qt5/qml/org/kde/graphicaleffects/lanczos2sharp.frag
+%{_libdir}/qt5/qml/org/kde/graphicaleffects/lanczos2sharp_core.frag
+%{_libdir}/qt5/qml/org/kde/graphicaleffects/preserveaspect.vert
+%{_libdir}/qt5/qml/org/kde/graphicaleffects/preserveaspect_core.vert
+%{_libdir}/qt5/qml/org/kde/graphicaleffects/qmldir
 
 %files devel
 %defattr(644,root,root,755)
 %{_includedir}/KF5/KDeclarative
-%{_includedir}/KF5/kdeclarative_version.h
 %{_libdir}/cmake/KF5Declarative
 %{_libdir}/libKF5CalendarEvents.so
 %{_libdir}/libKF5Declarative.so
This page took 0.07642 seconds and 4 git commands to generate.