Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3
kdenlive
kdenlive.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdenlive.spec of Package kdenlive
# # spec file for package kdenlive # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %bcond_without lang %define mlt_version 6.4.0 %define melt_path %(pkg-config --variable=meltbin mlt-framework) %define mlt_soname %(pkg-config --variable=moduledir mlt-framework | sed 's/.*-\\([0-9]\\+\\)/\\1/') Name: kdenlive Version: 17.04.2 Release: 0 %define kf5_version 5.26.0 # Latest stable Applications (e.g. 16.08 in KA, but 16.11.80 in KUA) %{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} Summary: Non-linear video editor License: GPL-3.0+ Group: Productivity/Multimedia/Video/Editors and Convertors Url: http://www.kdenlive.org/ Source0: %{name}-%{version}.tar.xz # PATCH-FIX-UPSTREAM gcc7-fixes.patch boo#1041232 -- fixes build with gcc7 Patch: gcc7-fixes.patch BuildRequires: desktop-file-utils BuildRequires: extra-cmake-modules BuildRequires: fdupes BuildRequires: hicolor-icon-theme BuildRequires: karchive-devel BuildRequires: kconfig-devel BuildRequires: kconfigwidgets-devel BuildRequires: kcoreaddons-devel BuildRequires: kcrash-devel BuildRequires: kdbusaddons-devel BuildRequires: kdoctools-devel BuildRequires: kguiaddons-devel BuildRequires: kiconthemes-devel BuildRequires: kio-devel BuildRequires: knewstuff-devel BuildRequires: knotifications-devel BuildRequires: knotifyconfig-devel BuildRequires: kplotting-devel BuildRequires: ktextwidgets-devel BuildRequires: kwidgetsaddons-devel BuildRequires: kxmlgui-devel BuildRequires: libmlt-devel BuildRequires: pkgconfig BuildRequires: shared-mime-info BuildRequires: cmake(KF5FileMetaData) BuildRequires: pkgconfig(Qt5Concurrent) BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5OpenGL) BuildRequires: pkgconfig(Qt5Qml) BuildRequires: pkgconfig(Qt5Script) BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5Test) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glew) BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(libv4l2) BuildRequires: pkgconfig(mlt++) >= %{mlt_version} BuildRequires: pkgconfig(mlt-framework) >= %{mlt_version} BuildRequires: pkgconfig(x11) # Waiting for the day all libraries have versioned symbols... Requires: %(rpm -qf $(readlink -qne %{_libdir}/libmlt++.so) --qf '%{NAME}') >= %{mlt_version} Requires: %(rpm -qf $(readlink -qne %{_libdir}/libmlt.so) --qf '%{NAME}') >= %{mlt_version} # It requires the profiles Requires: %(rpm -qf $(readlink -qne %{_libdir}/libmlt.so) --qf '%{NAME}')-data # Without a few of the plugins it crashes on start Requires: %(rpm -qf $(readlink -qne %{_libdir}/libmlt.so) --qf '%{NAME}')-modules Requires: %{melt_path} # It doesn't start without it (boo#994649) Requires: libqt5-qtquickcontrols Recommends: frei0r-plugins Recommends: %{_bindir}/dvdauthor Recommends: %{_bindir}/dvgrab Recommends: %{_bindir}/ffmpeg Recommends: %{_bindir}/ffplay Recommends: %{_bindir}/genisoimage Recommends: libv4l Recommends: mlt(%{mlt_soname})(avformat) Obsoletes: kdenlive5 < %{version} Provides: kdenlive5 = %{version} %description Kdenlive is a non-linear video editor for GNU/Linux and FreeBSD, which supports DV, AVCHD (experimental support) and HDV editing. Kdenlive relies on several other open source projects, such as FFmpeg and the MLT video framework. It was designed to answer all needs, from basic video editing to semi-professional work. %if %{with lang} %lang_package %endif %prep %setup -q %patch -p1 %build %cmake_kf5 -d build %make_jobs %install %kf5_makeinstall -C build %if %{with lang} %find_lang %{name} --with-man --all-name %if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120300 %kf5_find_htmldocs %else # %%kf5_find_htmldocs is only defined since Leap 42.3 CURDIR=`pwd` pushd %{buildroot}%{_kf5_htmldir} for i in *; do if ! [ -d "/usr/share/locale/${i}" ]; then echo "Removing unsupported translation %{_kf5_htmldir}/${i}" rm -rf "$i" elif [ "$i" != "en" ]; then echo "%doc %lang($i) %{_kf5_htmldir}/${i}" >> $CURDIR/%{name}.lang fi done popd %endif %endif %fdupes -s %{buildroot} %post %icon_theme_cache_post %mime_database_post %desktop_database_post %postun %desktop_database_postun %mime_database_postun %icon_theme_cache_postun %files %defattr(0644,root,root,0755) %doc AUTHORS COPYING README %attr(0755,-,-) %{_bindir}/%{name} %attr(0755,-,-) %{_bindir}/%{name}_render %dir %{_kf5_configkcfgdir} %{_kf5_configkcfgdir}/kdenlivesettings.kcfg %{_datadir}/kdenlive/ %{_mandir}/man1/* %{_datadir}/mime/packages/* %{_kf5_applicationsdir}/org.kde.kdenlive.desktop %{_datadir}/kxmlgui5/kdenlive/ %(config) %{_kf5_configdir}/*.knsrc %(config) %{_kf5_configdir}/kdenlive.categories %{_kf5_plugindir}/mltpreview.so %{_datadir}/knotifications5/kdenlive.notifyrc %{_kf5_servicesdir}/mltpreview.desktop %{_kf5_htmldir}/en/kdenlive/ %{_kf5_appstreamdir}/ %{_kf5_iconsdir}/hicolor/*/*/* %if %{with lang} %files lang -f %{name}.lang %doc COPYING* %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor