]> git.pld-linux.org Git - packages/kdenlive.git/blame - kdenlive.spec
relup
[packages/kdenlive.git] / kdenlive.spec
CommitLineData
4d94c98e
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
6e013eac 4%define kdeappsver 22.12.3
0df48a28 5%define qtver 5.15.2
4428191a 6%define kaname kdenlive
b4917cad 7Summary: KDE movie editor
af57c8d7 8Summary(pl.UTF-8): Edytor filmów dla KDE
b4917cad 9Name: kdenlive
6e013eac 10Version: 22.12.3
2d55b880 11Release: 3
b4917cad
MK
12License: GPL
13Group: X11/Applications/Multimedia
28374e9c 14Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
6e013eac 15# Source0-md5: f53b6bcbde62123ece8408a3ec0d698b
608f8997 16URL: http://kdenlive.org/
eaf118aa
AM
17BuildRequires: Qt5Concurrent-devel
18BuildRequires: Qt5Core-devel
19BuildRequires: Qt5DBus-devel
20BuildRequires: Qt5Gui-devel
9a44c22b 21BuildRequires: Qt5Multimedia-devel
eaf118aa 22BuildRequires: Qt5Network-devel
48b88d9c 23BuildRequires: Qt5NetworkAuth-devel
eaf118aa 24BuildRequires: Qt5Qml-devel
a1303776 25BuildRequires: Qt5Quick-controls2-devel
6cf6d7d3 26BuildRequires: Qt5Quick-devel
eaf118aa
AM
27BuildRequires: Qt5Script-devel
28BuildRequires: Qt5Svg-devel
29BuildRequires: Qt5WebKit-devel
30BuildRequires: Qt5Widgets-devel
0b02e5bf 31BuildRequires: cmake
811735dd 32BuildRequires: gettext-tools
fe0a30f7 33BuildRequires: kf5-attica-devel
eaf118aa
AM
34BuildRequires: kf5-karchive-devel
35BuildRequires: kf5-kbookmarks-devel
36BuildRequires: kf5-kconfig-devel
37BuildRequires: kf5-kconfigwidgets-devel
38BuildRequires: kf5-kcoreaddons-devel
39BuildRequires: kf5-kcrash-devel
40BuildRequires: kf5-kdbusaddons-devel
62ae05b2 41BuildRequires: kf5-kdeclarative-devel
6cf6d7d3 42BuildRequires: kf5-kdesignerplugin-devel
eaf118aa
AM
43BuildRequires: kf5-kdoctools-devel
44BuildRequires: kf5-kfilemetadata-devel
45BuildRequires: kf5-kguiaddons-devel
fe0a30f7 46BuildRequires: kf5-ki18n-devel
eaf118aa
AM
47BuildRequires: kf5-kiconthemes-devel
48BuildRequires: kf5-kio-devel
49BuildRequires: kf5-knewstuff-devel
50BuildRequires: kf5-knotifications-devel
51BuildRequires: kf5-knotifyconfig-devel
52BuildRequires: kf5-kplotting-devel
53BuildRequires: kf5-ktextwidgets-devel
54BuildRequires: kf5-kwidgetsaddons-devel
55BuildRequires: kf5-kxmlgui-devel
9a44c22b 56BuildRequires: kf5-purpose-devel
fe0a30f7 57BuildRequires: kf5-sonnet-devel
f80aa741 58BuildRequires: libv4l-devel
6cf6d7d3 59BuildRequires: mlt-devel >= 7.12.0
b4e16721 60BuildRequires: ninja
ad54048c 61BuildRequires: pkgconfig
aff1e4d0 62BuildRequires: qjson-devel >= 0.5
17eecb86 63BuildRequires: rpmbuild(macros) >= 1.129
450ed0c7 64BuildRequires: rttr-devel
e0b6d28a 65BuildRequires: shared-desktop-ontologies-devel
66BuildRequires: soprano-devel
6cf6d7d3
WF
67BuildConflicts: gstreamer0.10
68Requires: %{name}-data = %{version}-%{release}
2a5c239c
AM
69Requires: Qt5Gui-platform-xcb-egl
70Requires: Qt5Gui-platform-xcb-glx
1589c789 71Requires: Qt5Quick-controls
55e60162 72Suggests: dvdauthor
f80aa741 73Suggests: dvgrab
e0b6d28a 74Suggests: ffmpeg-ffplay
f80aa741 75Suggests: frei0r-plugins
6cf6d7d3 76Suggests: mlt >= 7.12.0
55e60162 77Suggests: recordmydesktop
e0b6d28a 78BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
79
b4917cad 80%description
a8202cd7
JB
81Kdenlive is a non-linear video editor for KDE. It provides all project
82management and editing tools while relying on a separate rendering
83program (currently PIAVE) to perform the editing operations. Support
84is planned for transitions, effects, multiple file formats, and full
85project and asset management support. The current beta is capable of
86editing raw DV or AVI DV files, with tools such as move, razor, and
87resize, selecting parts of clips using in/outpoints, and exporting the
88result to another raw DV file. You may playback/preview the contents
89of the timeline at any point during the edit. Full project save/load
90is supported.
b4917cad 91
cb54d3d6
JR
92%description -l pl.UTF-8
93Kdenlive to nieliniowy edytor filmów dla KDE. Dostarcza narzędzia do
94zarządzania projektem i edycji polegające na oddzielnym programie
95renderującym (aktualnie PIAVE) do wykonywania operacji edycji.
6cf6d7d3
WF
96Planowana jest obsługa przejść, efektów, wielu formatów plików
97oraz pełnego zarządzania projektem i kapitałem. Aktualna wersja
98beta może modyfikować pliki w formacie surowego DV oraz AVI DV przy
99użyciu narzędzi takich jak przemieszczanie, cięcia, zmiana
100rozmiaru, wybieranie części klatek przy użyciu punktów
101wejściowych/wyjściowych oraz eksportowanie wyniku do innego pliku w
102formacie surowego DV. Można odtwarzać/podglądać zawartość w
103dowolnej chwili edycji. Obsługiwany jest zapis/odczyt pełnego
104projektu.
105
106%package data
107Summary: Data files for %{kaname}
108Summary(pl.UTF-8): Dane dla %{kaname}
109Group: X11/Applications/Multimedia
110BuildArch: noarch
111
112%description data
113Data files for %{kaname}.
114
115%description data -l pl.UTF-8
116Dane dla %{kaname}.
b4917cad
MK
117
118%prep
74368329 119%setup -q
b4917cad
MK
120
121%build
ff68f3ac 122mkdir -p build
9608cbdb 123cd build
ddd77d32 124%cmake .. \
b4e16721 125 -G Ninja \
4d94c98e 126 %{!?with_tests:-DBUILD_TESTING=OFF} \
4428191a 127 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
28374e9c 128 -DHTML_INSTALL_DIR=%{_kdedocdir} \
ddd77d32
JR
129 -DPLUGIN_INSTALL_DIR=%{_libdir}/qt5/plugins
130
b4e16721 131%ninja_build
b4917cad 132
4d94c98e
WF
133%if %{with tests}
134ctest
135%endif
136
137
b4917cad
MK
138%install
139rm -rf $RPM_BUILD_ROOT
140
b4e16721 141%ninja_install -C build
b4917cad 142
4428191a
WF
143%find_lang %{kaname} --all-name --with-kde
144
b4917cad
MK
145%clean
146rm -rf $RPM_BUILD_ROOT
147
6cf6d7d3 148%files
b4917cad 149%defattr(644,root,root,755)
74368329 150%attr(755,root,root) %{_bindir}/%{name}*
6cf6d7d3 151%{_libdir}/qt5/plugins/mltpreview.so
6cf6d7d3
WF
152
153%files data -f %{kaname}.lang
154%defattr(644,root,root,755)
35444307 155%{_datadir}/metainfo/org.kde.kdenlive.appdata.xml
9608cbdb 156%{_datadir}/config.kcfg/kdenlivesettings.kcfg
eaf118aa
AM
157%{_datadir}/knotifications5/kdenlive.notifyrc
158%{_datadir}/kservices5/mltpreview.desktop
ddd77d32 159%dir %{_datadir}/kxmlgui5/kdenlive
eaf118aa
AM
160%{_datadir}/kxmlgui5/kdenlive/kdenliveui.rc
161%{_datadir}/mime/packages/*.xml
162%{_datadir}/%{name}
163%{_desktopdir}/org.kde.kdenlive.desktop
74368329 164%{_iconsdir}/*/*/*/*.png
eaf118aa 165%{_iconsdir}/*/*/*/*.svg
9608cbdb 166%{_iconsdir}/*/*/*/*.svgz
eaf118aa 167%{_mandir}/man1/kdenlive*
28374e9c
WF
168%{_datadir}/knsrcfiles/*.knsrc
169%{_datadir}/qlogging-categories5/kdenlive.categories
This page took 0.27631 seconds and 4 git commands to generate.