]> git.pld-linux.org Git - packages/kdenlive.git/blobdiff - kdenlive.spec
- updated to 18.12.0
[packages/kdenlive.git] / kdenlive.spec
index 34571345a1d784e7e4e20d6ee3ccc0a0c28a683f..f5c344173f85edf0f2f4681f8f2c4f36c79880dc 100644 (file)
@@ -1,24 +1,67 @@
+%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:       0.4
-Release:       2
+Version:       18.12.0
+Release:       1
 License:       GPL
 Group:         X11/Applications/Multimedia
-Source0:       http://dl.sourceforge.net/kdenlive/%{name}-%{version}.tar.gz
-# Source0-md5: bfa1da2d170e54420492e8fb2cea3681
-Patch0:                %{name}-autoconf26.patch
-URL:           http://kdenlive.sourceforge.net/
-BuildRequires: SDL-devel
-BuildRequires: SDL_image-devel
-BuildRequires: artsc-devel
-BuildRequires: automake
-BuildRequires: ffmpeg-devel
-BuildRequires: kdelibs-devel >= 9:3.4.0
-BuildRequires: libiec61883-devel
-BuildRequires: mlt++-devel >= 0.2.2
-BuildRequires: mlt-devel >= 0.2.2
+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
+BuildRequires: Qt5DBus-devel
+BuildRequires: Qt5Gui-devel
+BuildRequires: Qt5Network-devel
+BuildRequires: Qt5Qml-devel
+BuildRequires: Qt5Quick-devel
+BuildRequires: Qt5Script-devel
+BuildRequires: Qt5Svg-devel
+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
+BuildRequires: kf5-kconfigwidgets-devel
+BuildRequires: kf5-kcoreaddons-devel
+BuildRequires: kf5-kcrash-devel
+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
+BuildRequires: kf5-knotifications-devel
+BuildRequires: kf5-knotifyconfig-devel
+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
+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
+Suggests:      ffmpeg-ffplay
+Suggests:      frei0r-plugins
+Suggests:      mlt >= 6.0.0
+Suggests:      recordmydesktop
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -48,32 +91,44 @@ Obsługiwany jest zapis/odczyt pełnego projektu.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
-cp -f /usr/share/automake/config.* admin
-kde_htmldir="%{_kdedocdir}"; export kde_htmldir
-%{__make} -f Makefile.cvs
-%configure
+mkdir build
+cd build
+%cmake .. \
+       -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+       -DPLUGIN_INSTALL_DIR=%{_libdir}/qt5/plugins
+
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_desktopdir}/kde
 
-%{__make} install \
+%{__make} -C build install \
        DESTDIR=$RPM_BUILD_ROOT
 
-%find_lang %{name} --with-kde
+%find_lang %{kaname} --all-name --with-kde
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files -f %{name}.lang
+%files -f %{kaname}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/%{name}*
-%{_datadir}/apps/%{name}
-%{_desktopdir}/kde/%{name}.desktop
-%{_datadir}/mimelnk/application/*.desktop
-%{_datadir}/config.kcfg/kdenlive.kcfg
+%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*
This page took 0.053961 seconds and 4 git commands to generate.