Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:X0F:PRES
shotcut
shotcut.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File shotcut.spec of Package shotcut
# # spec file for package shotcut # # Copyright (c) 2015 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/ # %if 0%{?BUILD_ORIG} %bcond_without lame %bcond_without libvpx %bcond_without ffmpeg %bcond_without x264 %endif %if !%{with ffmpeg} %if 0%{?suse_version} > 1320 || (0%{?suse_version} >= 1315 && 0%{?is_opensuse}) %bcond_without ffmpeg %endif %endif Name: shotcut Version: 16.06 Release: 0 Summary: A free, open source, cross-platform video editor License: GPL-3.0+ Group: Productivity/Multimedia/Video/Editors and Convertors Url: http://www.shotcut.org/ Source0: https://github.com/mltframework/shotcut/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: fdupes BuildRequires: libqt5-qtdeclarative-private-headers-devel BuildRequires: pkgconfig(Qt5Concurrent) BuildRequires: pkgconfig(Qt5Core) >= 5.5.0 BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Multimedia) BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5UiTools) BuildRequires: pkgconfig(Qt5OpenGL) BuildRequires: pkgconfig(Qt5PrintSupport) BuildRequires: pkgconfig(Qt5Quick) BuildRequires: pkgconfig(Qt5WebKitWidgets) BuildRequires: pkgconfig(Qt5WebSockets) BuildRequires: pkgconfig(Qt5X11Extras) BuildRequires: pkgconfig(Qt5Xml) BuildRequires: pkgconfig(mlt++) BuildRequires: pkgconfig(mlt-framework) BuildRequires: update-desktop-files Requires: frei0r-plugins Requires: ladspa Requires: libmlt6-modules Requires: melt %if %{with lame} Requires: lame %endif %if %{with libvpx} BuildRequires: pkgconfig(vpx) #Requires: %(rpm -qf $(readlink -qne %{_libdir}/libvpx.so) --qf '%{NAME} >= %{VERSION}') %endif %if %{with ffmpeg} Requires: ffmpeg >= 2.7 %endif %if %{with x264} BuildRequires: pkgconfig(x264) #Requires: %(rpm -qf $(readlink -qne %{_libdir}/libx264.so) --qf '%{NAME} >= %{VERSION}') %endif %description These are all currently implemented features: * supports oodles of audio and video formats and codecs; * supports many image formats as image sequences; * no import required - native editing; * frame-accurate seeking for many formats; * multi-format timeline; * screen capture (Linux only) including background capture; * webcam capture (Linux only); * audio capture (Linux only; PulseAudio, JACK, or ALSA); * network stream playback (HTTP, HLS, RTMP, RTSP, MMS, UDP); * frei0r video generator plugins (e.g. color bars and plasma); * Blackmagic Design SDI and HDMI for input and preview monitoring; * JACK transport sync; * deinterlacing; * detailed media properties panel; * recent files panel with search; * drag-n-drop files from file manager; * save and load trimmed clip as MLT XML file; * load and play complex MLT XML file as a clip; * audio signal level meter; * volume control; * scrubbing and transport control; * flexible UI through dock-able panels; * encode/transcode to a variety of formats and codecs; * capture (record); * stream (encode to IP) files and any capture source; * batch encoding with job control; * MLT XML playlists; * unlimited undo and redo for playlist edits; * connect to Melted servers over MVCP TCP protocol; * control the transport playback of Melted units; * edit Melted playlists including support for undo/redo; * OpenGL GPU-based image processing; * multi-core parallel image processing when not using GPU; * video filters; * audio filters; * 3-way color wheels for color correction and grading; * eye dropper tool to pick neutral color for white balancing; * HTML5 (sans audio and video) as video source and filters; * Leap Motion for jog/shuttle control; * DeckLink SDI keyer output - internal or external; * UI themes/skins: native-OS look and custom dark and light; * control video zoom in the player. * more info: http://www.shotcut.org/bin/view/Shotcut/Features %lang_package %prep %setup -q # Search for executable files find . \ \( -name \*.html -o -name \*.js \) -type f -executable -exec chmod 644 {} \; || : %build %qmake5 \ QMAKE_STRIP="" \ PREFIX="%{_prefix}" %make_jobs %install %qmake5_install install -D icons/%{name}-logo-64.png %{buildroot}/%{_datadir}/pixmaps/%{name}.png %{suse_update_desktop_file -c \ %{name} Shotcut "Video editor" %{name} %{name} AudioVideo AudioVideoEditing} # Install language files langlist=$PWD/%{name}.lang langdir="%{_datadir}/%{name}/translations" basedir=$(basename $langdir) pushd $basedir /bin/ls -1 *.ts | while read ts; do [ -e "$ts" ] || continue lupdate-qt5 $ts && lrelease-qt5 $ts done /bin/ls -1 *.qm | while read qm; do [ -e "$qm" ] || continue if ! grep -wqs "%dir\ $langdir" $langlist; then echo "%dir $langdir" >> $langlist fi install -Dm0644 $qm %{buildroot}$langdir/$qm lang="${qm%.qm}" echo "%lang($lang) $langdir/$qm" >> $langlist done popd %fdupes -s %{buildroot}/%{_datadir} %files %defattr(-,root,root) %doc COPYING README.md %{_bindir}/%{name} %{_datadir}/%{name}/ %{_datadir}/pixmaps/%{name}.png %{_datadir}/applications/%{name}.desktop %exclude %{_datadir}/%{name}/translations %files lang -f %{name}.lang %defattr(-,root,root) %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