Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
multimedia:libs
libopenshot
libopenshot.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libopenshot.spec of Package libopenshot
# # spec file for package libopenshot # # Copyright (c) 2024 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define sover 26 Name: libopenshot Version: 0.3.3 Release: 0 Summary: The core library for the OpenShot video editor License: LGPL-3.0-or-later Group: Productivity/Multimedia/Other URL: https://openshot.org/ Source0: libopenshot-%{version}.tar.xz BuildRequires: babl-devel BuildRequires: cmake BuildRequires: cppzmq-devel BuildRequires: gcc-c++ BuildRequires: opencv-devel BuildRequires: pkgconfig BuildRequires: protobuf21-devel BuildRequires: python-rpm-macros BuildRequires: ruby-devel BuildRequires: swig BuildRequires: cmake(OpenShotAudio) >= 0.3.0 BuildRequires: pkgconfig(Magick++) BuildRequires: pkgconfig(Qt5Core) >= 5.2.0 BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Multimedia) BuildRequires: pkgconfig(Qt5MultimediaWidgets) BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(UnitTest++) BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(jsoncpp) BuildRequires: pkgconfig(libavcodec) BuildRequires: pkgconfig(libavdevice) BuildRequires: pkgconfig(libavfilter) BuildRequires: pkgconfig(libavformat) BuildRequires: pkgconfig(libavresample) BuildRequires: pkgconfig(libavutil) BuildRequires: pkgconfig(libswscale) BuildRequires: pkgconfig(python3) %description A library for video editing, composition, animation, and playback, which focuses on The library is written in C++ and includes full bindings for Python and Ruby. %package -n %{name}%{sover} Summary: The core library for the OpenShot video editor Group: System/Libraries %description -n %{name}%{sover} A library for video editing, composition, animation, and playback, which focuses on The library is written in C++ and includes full bindings for Python and Ruby. It features: * Multi-layer compositing * Video and audio effects (chroma key, color adjustment, grayscale, etc.) * Animation curves (Bézier, linear, constant) * Time mapping (curve-based slow-down, speed-up, reverse) * Audio mixing & resampling (curve-based) * Audio plug-ins (VST & AU) * Telecine and Inverse Telecine (film to TV, TV to film) * Frame rate conversions * Multi-processor support * Uses ffmpeg for format and codec support This package contains the shared library. %package devel Summary: Development files for %{name} Group: Development/Libraries/C and C++ Requires: %{name}%{sover} = %{version} %description devel A library for video editing, composition, animation, and playback, which focuses on The library is written in C++. This package contains header files and libraries needed to develop application that use %{name}. %package -n python3-openshot Summary: Python bindings for the OpenShot library Group: Development/Languages/Python %description -n python3-openshot This package provides the Python bindings for the OpenShot library. %prep %autosetup -p1 %build # operators of base classes are not supposed to be used here, we can ignore it therefore. sed -i '/^set(CMAKE_CXX_FLAGS/d' CMakeLists.txt export CXXFLAGS="%{optflags} -Wno-return-type" %cmake \ -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed" \ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ -DFFMPEG_INCLUDE_DIR=%{_includedir}/ffmpeg \ -DUSE_SYSTEM_JSONCPP=ON \ %{nil} %cmake_build %install %cmake_install %post -n %{name}%{sover} -p /sbin/ldconfig %postun -n %{name}%{sover} -p /sbin/ldconfig %files -n %{name}%{sover} %license LICENSES/* %doc AUTHORS %{_libdir}/%{name}.so.* %files devel %{_includedir}/%{name}/ %{_libdir}/%{name}.so %{_libdir}/ruby/vendor_ruby/*/*-linux-gnu/openshot.so %files -n python3-openshot %{python3_sitearch}/*openshot* %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