]> git.pld-linux.org Git - packages/kdenlive.git/blob - kdenlive.spec
a02902fbf0c81c6d3f991690faec20970a3b6499
[packages/kdenlive.git] / kdenlive.spec
1 %define         kdeappsver      19.04.0
2 %define         qtver           5.9.0
3 %define         kaname          kdenlive
4 Summary:        KDE movie editor
5 Summary(pl.UTF-8):      Edytor filmów dla KDE
6 Name:           kdenlive
7 Version:        19.04.0
8 Release:        1
9 License:        GPL
10 Group:          X11/Applications/Multimedia
11 Source0:        http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
12 # Source0-md5:  1386b04b1aef5832ae21525aaf4fc8b7
13 Patch0:         c11.patch
14 Patch1:         qt-5.15.patch
15 URL:            http://kdenlive.org/
16 BuildRequires:  Qt5Concurrent-devel
17 BuildRequires:  Qt5Core-devel
18 BuildRequires:  Qt5DBus-devel
19 BuildRequires:  Qt5Gui-devel
20 BuildRequires:  Qt5Network-devel
21 BuildRequires:  Qt5Qml-devel
22 BuildRequires:  Qt5Quick-devel
23 BuildRequires:  Qt5Script-devel
24 BuildRequires:  Qt5Svg-devel
25 BuildRequires:  Qt5WebKit-devel
26 BuildRequires:  Qt5Widgets-devel
27 BuildRequires:  cmake
28 BuildRequires:  gettext-tools
29 BuildRequires:  kf5-attica-devel
30 BuildRequires:  kf5-karchive-devel
31 BuildRequires:  kf5-kbookmarks-devel
32 BuildRequires:  kf5-kconfig-devel
33 BuildRequires:  kf5-kconfigwidgets-devel
34 BuildRequires:  kf5-kcoreaddons-devel
35 BuildRequires:  kf5-kcrash-devel
36 BuildRequires:  kf5-kdbusaddons-devel
37 BuildRequires:  kf5-kdoctools-devel
38 BuildRequires:  kf5-kfilemetadata-devel
39 BuildRequires:  kf5-kguiaddons-devel
40 BuildRequires:  kf5-ki18n-devel
41 BuildRequires:  kf5-kiconthemes-devel
42 BuildRequires:  kf5-kio-devel
43 BuildRequires:  kf5-knewstuff-devel
44 BuildRequires:  kf5-knotifications-devel
45 BuildRequires:  kf5-knotifyconfig-devel
46 BuildRequires:  kf5-kplotting-devel
47 BuildRequires:  kf5-ktextwidgets-devel
48 BuildRequires:  kf5-kwidgetsaddons-devel
49 BuildRequires:  kf5-kxmlgui-devel
50 BuildRequires:  kf5-sonnet-devel
51 BuildRequires:  libv4l-devel
52 BuildRequires:  mlt-devel >= 6.12.0
53 BuildRequires:  ninja
54 BuildRequires:  pkgconfig
55 BuildRequires:  qjson-devel >= 0.5
56 BuildRequires:  rpmbuild(macros) >= 1.129
57 BuildRequires:  shared-desktop-ontologies-devel
58 BuildRequires:  soprano-devel
59 Requires:       Qt5Gui-platform-xcb-egl
60 Requires:       Qt5Gui-platform-xcb-glx
61 Requires:       Qt5Quick-controls
62 Suggests:       dvdauthor
63 Suggests:       dvgrab
64 Suggests:       ffmpeg-ffplay
65 Suggests:       frei0r-plugins
66 Suggests:       mlt >= 6.0.0
67 Suggests:       recordmydesktop
68 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
69
70 %description
71 Kdenlive is a non-linear video editor for KDE. It provides all project
72 management and editing tools while relying on a separate rendering
73 program (currently PIAVE) to perform the editing operations. Support
74 is planned for transitions, effects, multiple file formats, and full
75 project and asset management support. The current beta is capable of
76 editing raw DV or AVI DV files, with tools such as move, razor, and
77 resize, selecting parts of clips using in/outpoints, and exporting the
78 result to another raw DV file. You may playback/preview the contents
79 of the timeline at any point during the edit. Full project save/load
80 is supported.
81
82 %description -l pl.UTF-8
83 Kdenlive to nieliniowy edytor filmów dla KDE. Dostarcza narzędzia do
84 zarządzania projektem i edycji polegające na oddzielnym programie
85 renderującym (aktualnie PIAVE) do wykonywania operacji edycji.
86 Planowana jest obsługa przejść, efektów, wielu formatów plików oraz
87 pełnego zarządzania projektem i kapitałem. Aktualna wersja beta może
88 modyfikować pliki w formacie surowego DV oraz AVI DV przy użyciu
89 narzędzi takich jak przemieszczanie, cięcia, zmiana rozmiaru,
90 wybieranie części klatek przy użyciu punktów wejściowych/wyjściowych
91 oraz eksportowanie wyniku do innego pliku w formacie surowego DV.
92 Można odtwarzać/podglądać zawartość w dowolnej chwili edycji.
93 Obsługiwany jest zapis/odczyt pełnego projektu.
94
95 %prep
96 %setup -q
97 %patch0 -p1
98 %patch1 -p1
99
100 %build
101 mkdir -p build
102 cd build
103 %cmake .. \
104         -G Ninja \
105         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
106         -DPLUGIN_INSTALL_DIR=%{_libdir}/qt5/plugins
107
108 %ninja_build
109
110 %install
111 rm -rf $RPM_BUILD_ROOT
112
113 %ninja_install -C build
114
115 %find_lang %{kaname} --all-name --with-kde
116
117 %clean
118 rm -rf $RPM_BUILD_ROOT
119
120 %files -f %{kaname}.lang
121 %defattr(644,root,root,755)
122 %attr(755,root,root) %{_bindir}/%{name}*
123 %attr(755,root,root) %{_libdir}/qt5/plugins/mltpreview.so
124 %{_datadir}/metainfo/org.kde.kdenlive.appdata.xml
125 %{_datadir}/config.kcfg/kdenlivesettings.kcfg
126 %{_datadir}/knotifications5/kdenlive.notifyrc
127 %{_datadir}/kservices5/mltpreview.desktop
128 %dir %{_datadir}/kxmlgui5/kdenlive
129 %{_datadir}/kxmlgui5/kdenlive/kdenliveui.rc
130 %{_datadir}/mime/packages/*.xml
131 %{_datadir}/%{name}
132 %{_desktopdir}/org.kde.kdenlive.desktop
133 %{_docdir}/HTML/en/kdenlive
134 /etc/xdg/%{name}*.knsrc
135 /etc/xdg/kdenlive.categories
136 %{_iconsdir}/*/*/*/*.png
137 %{_iconsdir}/*/*/*/*.svg
138 %{_iconsdir}/*/*/*/*.svgz
139 %{_mandir}/man1/kdenlive*
This page took 0.050151 seconds and 2 git commands to generate.