14 Star 0 Fork 6

ocs-upgrade/qt5-qtmultimedia

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
qt5-qtmultimedia.spec 4.89 KB
一键复制 编辑 原始数据 按行查看 历史
ocs-bot 提交于 2024-09-23 02:51 . Upgrade to version 6.7.2
%global qt_module qtmultimedia
%global gst 1.0
Summary: Qt5 - Multimedia support
Name: qt5-%{qt_module}
Version: 6.7.2
Release: 1%{?dist}
License: LGPLv2 with exceptions or GPLv3 with exceptions
Url: http://www.qt.io
%global majmin %(echo %{version} | cut -d. -f1-2)
Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-opensource-src-%{version}.tar.xz
Patch3000: %{name}-gcc11.patch
%global __provides_exclude_from ^(%{_qt5_archdatadir}/qml/.*\\.so|%{_qt5_plugindir}/.*\\.so)$
BuildRequires: make
BuildRequires: qt5-qtbase-devel >= %{version}
BuildRequires: qt5-qtbase-private-devel
BuildRequires: qt5-qtdeclarative-devel >= %{version}
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(gstreamer-%{gst})
BuildRequires: pkgconfig(gstreamer-app-%{gst})
BuildRequires: pkgconfig(gstreamer-audio-%{gst})
BuildRequires: pkgconfig(gstreamer-base-%{gst})
BuildRequires: pkgconfig(gstreamer-pbutils-%{gst})
BuildRequires: pkgconfig(gstreamer-plugins-bad-%{gst})
BuildRequires: pkgconfig(gstreamer-video-%{gst})
BuildRequires: pkgconfig(libpulse) pkgconfig(libpulse-mainloop-glib)
BuildRequires: pkgconfig(openal)
BuildRequires: pkgconfig(xv)
BuildRequires: wayland-devel
%description
The Qt Multimedia module provides a rich feature set that enables you to
easily take advantage of a platforms multimedia capabilites and hardware.
This ranges from the playback and recording of audio and video content to
the use of available devices like cameras and radios.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
Requires: qt5-qtbase-devel
Requires: qt5-qtdeclarative-devel
Requires: pkgconfig(libpulse-mainloop-glib)
%description devel
%{summary}.
%package examples
Summary: Programming examples for %{name}
Requires: %{name} = %{version}-%{release}
%description examples
%{summary}.
%prep
%autosetup -n %{qt_module}-everywhere-src-%{version} -p1
%build
%{qmake_qt5} \
CONFIG+=git_build \
GST_VERSION=%{gst}
%make_build
%install
%make_install INSTALL_ROOT=%{buildroot}
pushd %{buildroot}%{_qt5_libdir}
for prl_file in *.prl ; do
sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file}
if [ -f "$(basename ${prl_file} .prl).so" ]; then
rm -fv "$(basename ${prl_file} .prl).la"
sed -i -e "/^QMAKE_PRL_LIBS/d" ${prl_file}
fi
done
popd
%files
%license LICENSE.*
%{_qt5_libdir}/libQt5Multimedia.so.5*
%{_qt5_libdir}/libQt5MultimediaQuick.so.5*
%{_qt5_libdir}/libQt5MultimediaWidgets.so.5*
%{_qt5_libdir}/libQt5MultimediaGstTools.so.5*
%{_qt5_archdatadir}/qml/QtAudioEngine/
%{_qt5_archdatadir}/qml/QtMultimedia/
%{_qt5_plugindir}/audio/
%{_qt5_plugindir}/mediaservice/
%{_qt5_plugindir}/playlistformats/
%dir %{_qt5_libdir}/cmake/Qt5Multimedia/
%{_qt5_libdir}/cmake/Qt5Multimedia/Qt5Multimedia_*Plugin.cmake
%dir %{_qt5_libdir}/cmake/Qt5MultimediaWidgets/
%files devel
%{_qt5_headerdir}/QtMultimedia/
%{_qt5_headerdir}/QtMultimediaQuick/
%{_qt5_headerdir}/QtMultimediaWidgets/
%{_qt5_headerdir}/QtMultimediaGstTools/
%{_qt5_libdir}/libQt5Multimedia.so
%{_qt5_libdir}/libQt5Multimedia.prl
%{_qt5_libdir}/libQt5MultimediaQuick.so
%{_qt5_libdir}/libQt5MultimediaQuick.prl
%{_qt5_libdir}/libQt5MultimediaWidgets.so
%{_qt5_libdir}/libQt5MultimediaWidgets.prl
%{_qt5_libdir}/libQt5MultimediaGstTools.so
%{_qt5_libdir}/libQt5MultimediaGstTools.prl
%{_qt5_libdir}/cmake/Qt5Multimedia/Qt5MultimediaConfig*.cmake
%{_qt5_libdir}/cmake/Qt5MultimediaWidgets/Qt5MultimediaWidgetsConfig*.cmake
%{_qt5_libdir}/cmake/Qt5MultimediaGstTools/Qt5MultimediaGstToolsConfig*.cmake
%{_qt5_libdir}/cmake/Qt5MultimediaQuick/Qt5MultimediaQuickConfig*.cmake
%{_qt5_libdir}/pkgconfig/Qt5Multimedia.pc
%{_qt5_libdir}/pkgconfig/Qt5MultimediaWidgets.pc
%{_qt5_archdatadir}/mkspecs/modules/*.pri
%files examples
%license LICENSE.FDL
%{_qt5_examplesdir}/
%changelog
* Mon Sep 23 2024 Upgrade Robot <[email protected]> - 6.7.2-1
- Upgrade to version 6.7.2
* Fri Aug 16 2024 OpenCloudOS Release Engineering <[email protected]> - 5.15.11-3
- Rebuilt for loongarch release
* Tue Apr 23 2024 Rebuild Robot <[email protected]> - 5.15.11-2
- Rebuilt for gstreamer1-plugins-bad-free
* Wed Jan 17 2024 edwardewang <[email protected]> - 5.15.11-1
- Upgrade to 5.15.11
* Thu Sep 21 2023 kianli <[email protected]> - 5.15.10-1
- Upgrade to 5.15.10
* Fri Sep 08 2023 OpenCloudOS Release Engineering <[email protected]> - 5.15.9-3
- Rebuilt for OpenCloudOS Stream 23.09
* Wed Aug 23 2023 Shuo Wang <[email protected]> - 5.15.9-2
- Rebuilt for openal-soft 1.23.1
* Mon Jul 17 2023 Wang Guodong <[email protected]> - 5.15.9-1
- Upgrade to 5.15.9
* Fri Apr 28 2023 OpenCloudOS Release Engineering <[email protected]> - 5.15.7-3
- Rebuilt for OpenCloudOS Stream 23.05
* Fri Mar 31 2023 OpenCloudOS Release Engineering <[email protected]> - 5.15.7-2
- Rebuilt for OpenCloudOS Stream 23
* Tue Mar 07 2023 cunshunxia <[email protected]> - 5.15.7-1
- initial build
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ocs-upgrade/qt5-qtmultimedia.git
[email protected]:ocs-upgrade/qt5-qtmultimedia.git
ocs-upgrade
qt5-qtmultimedia
qt5-qtmultimedia
master

搜索帮助