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