Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:alveus:depository
bento4
bento4.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bento4.spec of Package bento4
# # spec file for package bento4 # # Copyright (c) 2021 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/ # Name: bento4 Version: 1.6.0.641.x Release: 0 Summary: C++ class library and tools designed to read and write ISO-MP4 files License: GPL-3.0-or-later Group: Productivity/Multimedia/Video/Editors and Convertors URL: https://www.bento4.com # https://github.com/xbmc/Bento4/archive/refs/tags/1.6.0-639-6-Nexus.tar.gz Source0: %{name}-%{version}.tar.xz BuildRequires: cmake >= 3.12 %if 0%{?suse_version} <= 1600 BuildRequires: gcc12 BuildRequires: gcc12-c++ %else BuildRequires: gcc-c++ %endif %description Bento4 is a C++ class library and tools designed to read and write ISO-MP4 files. This format is defined in international specifications ISO/IEC 14496-12, 14496-14 and 14496-15. The format is a derivative of the Apple Quicktime file format, so Bento4 can be used to read and write most Quicktime files as well. %package -n libap4 Summary: C++ class library and tools designed to read and write ISO-MP4 files Group: System/Libraries Provides: libap4 = %{version} %description -n libap4 Bento4 is a C++ class library and tools designed to read and write ISO-MP4 files. This format is defined in international specifications ISO/IEC 14496-12, 14496-14 and 14496-15. The format is a derivative of the Apple Quicktime file format, so Bento4 can be used to read and write most Quicktime files as well. %package devel Summary: Development files for %{name} Group: Development/Libraries/C and C++ Requires: libap4 = %{version} %description devel Bento4 is a C++ class library and tools designed to read and write ISO-MP4 files. This format is defined in international specifications ISO/IEC 14496-12, 14496-14 and 14496-15. The format is a derivative of the Apple Quicktime file format, so Bento4 can be used to read and write most Quicktime files as well. This package provides the %{name} headers and development libraries, and tools. %prep %setup -q -n %{name}-%{version} %build sed -i "s/ STATIC / SHARED /" CMakeLists.txt test -x "$(type -p gcc-12)" && export CC="$_" test -x "$(type -p g++-12)" && export CXX="$_" %cmake \ -DCMAKE_C_FLAGS:STRING="%optflags" \ -DCMAKE_C_FLAGS_RELEASE:STRING="%optflags" \ -DCMAKE_CXX_FLAGS:STRING="%optflags" \ -DCMAKE_CXX_FLAGS_RELEASE:STRING="%optflags" \ -DCMAKE_LD_FLAGS:STRING="%optflags -pie" \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_APPS=OFF \ -DCMAKE_INSTALL_PREFIX="/usr" %cmake_build %install %cmake_install %files -n libap4 %{_libdir}/libap4.so %files devel %dir %{_includedir}/%{name} %{_includedir}/%{name}/*.h %dir %{_libdir}/cmake/%{name} %{_libdir}/cmake/%{name}/*.cmake %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