]> git.pld-linux.org Git - packages/kdenlive.git/blobdiff - kdenlive.spec
- updated to 18.12.0
[packages/kdenlive.git] / kdenlive.spec
index 87f2ce197cdeba68041e16d834ffcf9d1a1d32c5..f5c344173f85edf0f2f4681f8f2c4f36c79880dc 100644 (file)
@@ -1,12 +1,15 @@
+%define                kdeappsver      18.12.0
+%define                qtver           5.9.0
+%define                kaname          kdenlive
 Summary:       KDE movie editor
 Summary(pl.UTF-8):     Edytor filmów dla KDE
 Name:          kdenlive
-Version:       16.08.0
+Version:       18.12.0
 Release:       1
 License:       GPL
 Group:         X11/Applications/Multimedia
-Source0:       https://github.com/KDE/kdenlive/archive/v%{version}.tar.gz
-# Source0-md5: f8f457bedaadbe603911893b6d7a1a62
+Source0:       http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5: 28e8c79216d3393eb50d90dd8d36e019
 URL:           http://kdenlive.org/
 BuildRequires: Qt5Concurrent-devel
 BuildRequires: Qt5Core-devel
@@ -21,6 +24,7 @@ BuildRequires:        Qt5WebKit-devel
 BuildRequires: Qt5Widgets-devel
 BuildRequires: cmake
 BuildRequires: gettext-tools
+BuildRequires: kf5-attica-devel
 BuildRequires: kf5-karchive-devel
 BuildRequires: kf5-kbookmarks-devel
 BuildRequires: kf5-kconfig-devel
@@ -31,6 +35,7 @@ BuildRequires:        kf5-kdbusaddons-devel
 BuildRequires: kf5-kdoctools-devel
 BuildRequires: kf5-kfilemetadata-devel
 BuildRequires: kf5-kguiaddons-devel
+BuildRequires: kf5-ki18n-devel
 BuildRequires: kf5-kiconthemes-devel
 BuildRequires: kf5-kio-devel
 BuildRequires: kf5-knewstuff-devel
@@ -40,6 +45,7 @@ BuildRequires:        kf5-kplotting-devel
 BuildRequires: kf5-ktextwidgets-devel
 BuildRequires: kf5-kwidgetsaddons-devel
 BuildRequires: kf5-kxmlgui-devel
+BuildRequires: kf5-sonnet-devel
 BuildRequires: libv4l-devel
 BuildRequires: mlt-devel >= 6.0.0
 BuildRequires: pkgconfig
@@ -47,6 +53,8 @@ BuildRequires:        qjson-devel >= 0.5
 BuildRequires: rpmbuild(macros) >= 1.129
 BuildRequires: shared-desktop-ontologies-devel
 BuildRequires: soprano-devel
+Requires:      Qt5Gui-platform-xcb-egl
+Requires:      Qt5Gui-platform-xcb-glx
 Requires:      Qt5Quick-controls
 Suggests:      dvdauthor
 Suggests:      dvgrab
@@ -87,35 +95,40 @@ Obsługiwany jest zapis/odczyt pełnego projektu.
 %build
 mkdir build
 cd build
-%cmake ..
+%cmake .. \
+       -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+       -DPLUGIN_INSTALL_DIR=%{_libdir}/qt5/plugins
+
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-cd build
-%{__make} install \
+%{__make} -C build install \
        DESTDIR=$RPM_BUILD_ROOT
 
+%find_lang %{kaname} --all-name --with-kde
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{kaname}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/%{name}*
-%attr(755,root,root) %{_libdir}/plugins/mltpreview.so
-%{_datadir}/appdata/kdenlive.appdata.xml
+%attr(755,root,root) %{_libdir}/qt5/plugins/mltpreview.so
+%{_datadir}/metainfo/org.kde.kdenlive.appdata.xml
 %{_datadir}/config.kcfg/kdenlivesettings.kcfg
 %{_datadir}/knotifications5/kdenlive.notifyrc
 %{_datadir}/kservices5/mltpreview.desktop
+%dir %{_datadir}/kxmlgui5/kdenlive
 %{_datadir}/kxmlgui5/kdenlive/kdenliveui.rc
 %{_datadir}/mime/packages/*.xml
 %{_datadir}/%{name}
 %{_desktopdir}/org.kde.kdenlive.desktop
 %{_docdir}/HTML/en/kdenlive
 /etc/xdg/%{name}*.knsrc
+/etc/xdg/kdenlive.categories
 %{_iconsdir}/*/*/*/*.png
 %{_iconsdir}/*/*/*/*.svg
 %{_iconsdir}/*/*/*/*.svgz
 %{_mandir}/man1/kdenlive*
-%{_pixmapsdir}/*
This page took 0.130018 seconds and 4 git commands to generate.