Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wolfi323:KDE:Extra
kmplayer
kmplayer.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kmplayer.spec of Package kmplayer
# # spec file for package kmplayer # # 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/ # Name: kmplayer Version: 0.12.0b Release: 0 # The documentation is GFDL. # The files under src/moz-sdk are MPLv1.1 or GPLv2+ or LGPLv2+ # except src/moz-sdk/npruntime.h is BSD. # The other source files carry GPL and LGPL licenses # For instance: # src/kmplayer.h is GPLv2+ # src/kmplayer_asx.cpp is LGPLv2 # src/kmplayer_atom.h is LGPLv2+ # and each of the other source files carry one of the above 3 licenses. So # License: GFDL and (MPLv1.1 or GPLv2+ or LGPLv2+) and BSD and GPLv2+ and LGPLv2 and LGPLv2+ License: GPL-2.0+ Summary: Simple Frontend for MPlayer/FFMpeg/Phonon and Video Player Plugin for Konqueror Url: http://kmplayer.kde.org/ Group: Productivity/Multimedia/Video/Players Source0: %{name}-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM fix-build-with-qt59.patch -- fix build with Qt 5.9 Patch0: fix-build-with-qt59.patch # PATCH-FIX-UPSTREAM fix-build-with-qt55.patch -- fix build with Qt 5.5.1 and lower Patch1: fix-build-with-qt55.patch # PATCH-FIX-UPSTREAM fix-desktop.patch -- fix starting kmplayer from the application menu Patch2: fix-desktop.patch BuildRequires: cmake(KF5Config) BuildRequires: cmake(KF5CoreAddons) BuildRequires: cmake(KF5I18n) BuildRequires: cmake(KF5Init) BuildRequires: cmake(KF5KDELibs4Support) BuildRequires: cmake(KF5KIO) BuildRequires: cmake(KF5MediaPlayer) BuildRequires: cmake(KF5Parts) BuildRequires: cmake(KF5WidgetsAddons) BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5X11Extras) BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(dbus-glib-1) BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(phonon4qt5) BuildRequires: pkgconfig(x11) BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} BuildRequires: update-desktop-files %endif Requires(post): hicolor-icon-theme Requires(post): update-desktop-files Requires(postun): hicolor-icon-theme Requires(postun): update-desktop-files Recommends: MPlayer Recommends: %{name}-lang = %{version} %description KMPlayer, a simple frontend for MPlayer/FFMpeg/Phonon. It can play DVD/VCD movies, from file or url and from a video device. KMPlayer can embed inside konqueror. Which means if you click on a movie file, the movie is played inside konqueror. It can also embed inside khtml, enabling movie playback inside a html page. %lang_package %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %build %cmake_kf5 -d build %make_jobs %install %kf5_makeinstall -C build # Fix permissions chmod 755 %{buildroot}%{_kf5_appsdir}/kmplayer/find-media.sh %if 0%{?suse_version} %suse_update_desktop_file -r %{name} Qt KDE AudioVideo Player %endif %find_lang kmplayer %post %desktop_database_post %icon_theme_cache_post %postun %desktop_database_postun %icon_theme_cache_postun %files %defattr(-,root,root,-) %doc AUTHORS COPYING* ChangeLog README TODO kmplayer.lsm %{_kf5_applicationsdir}/kmplayer.desktop %{_kf5_appsdir}/kmplayer/ %{_kf5_bindir}/kmplayer %{_kf5_bindir}/knpplayer %{_kf5_bindir}/kphononplayer %{_kf5_configdir}/kmplayerrc %{_kf5_iconsdir}/*/*/apps/kmplayer.* %doc %{_kf5_htmldir}/en/kmplayer/ %{_kf5_libdir}/libkdeinit5_kmplayer.so %{_kf5_libdir}/libkmplayercommon.so %{_kf5_plugindir}/kmplayerpart.so %{_kf5_servicesdir}/kmplayer_part.desktop %dir %{_kf5_kxmlguidir}/kmplayer %{_kf5_kxmlguidir}/kmplayer/kmplayerui.rc %{_kf5_kxmlguidir}/kmplayer/kmplayerpartui.rc %config %{_kf5_sysconfdir}/xdg/kmplayerrc %files lang -f %{name}.lang %defattr(-,root,root,-) %exclude %{_kf5_htmldir}/en/kmplayer/ %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