From 428adf00a0bbe686265687bb8869d15abf270592 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 17:18:06 +0100 Subject: [PATCH] update to 1.12.0.20190401git [release 1.12.0.20190401git-1mamba;Mon Apr 01 2019] --- README.md | 2 + qtav.spec | 110 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 112 insertions(+) create mode 100644 qtav.spec diff --git a/README.md b/README.md index 416324f..47bb521 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # qtav +A cross-platform multimedia framework based on Qt and FFmpeg(https://github.com/wang-bin/avbuild). High performance. + diff --git a/qtav.spec b/qtav.spec new file mode 100644 index 0000000..41bb82b --- /dev/null +++ b/qtav.spec @@ -0,0 +1,110 @@ +Name: qtav +Version: 1.12.0.20190401git +Release: 1mamba +Summary: A cross-platform multimedia framework based on Qt and FFmpeg +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/wang-bin +## GITSOURCE https://github.com/wang-bin/QtAV.git v1.12.0 +Source: https://github.com/wang-bin/QtAV.git/master/QtAV-%{version}.tar.bz2 +License: LGPL, GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libX11-devel +BuildRequires: libavcodec-ffmpeg-devel +BuildRequires: libavdevice-ffmpeg-devel +BuildRequires: libavfilter-ffmpeg-devel +BuildRequires: libavformat-ffmpeg-devel +BuildRequires: libavresample-ffmpeg-devel +BuildRequires: libavutil-ffmpeg-devel +BuildRequires: libgcc +BuildRequires: libportaudio-devel +BuildRequires: libpulseaudio-devel +BuildRequires: libqt5-devel +BuildRequires: libstdc++6-devel +BuildRequires: libswresample-ffmpeg-devel +BuildRequires: libswscale-ffmpeg-devel +BuildRequires: libva-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A cross-platform multimedia framework based on Qt and FFmpeg(https://github.com/wang-bin/avbuild). High performance. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + + +%debug_package + +%prep +%setup -q -n QtAV-%{version} + +%build +%cmake_kde5 -d build \ + -DCMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT=TRUE + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/qt5/bin/Player +%{_libdir}/qt5/bin/QMLPlayer + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libQtAV.so.* +%{_libdir}/libQtAVWidgets.so.* +%dir %{_libdir}/qt5/qml/QtAV +%{_libdir}/qt5/qml/QtAV/* + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/qt5/QtAV +%{_includedir}/qt5/QtAV/* +%dir %{_includedir}/qt5/QtAVWidgets +%{_includedir}/qt5/QtAVWidgets/* + +%{_libdir}/cmake/FindQtAV.cmake +%dir %{_libdir}/cmake/QmlAV +%{_libdir}/cmake/QmlAV/QmlAV-config*.cmake +%dir %{_libdir}/cmake/QtAV +%{_libdir}/cmake/QtAV/QtAV-config*.cmake +%dir %{_libdir}/cmake/QtAVWidgets +%{_libdir}/cmake/QtAVWidgets/QtAVWidgets-config*.cmake +%{_libdir}/libQtAV.so +%{_libdir}/libQtAVWidgets.so +%doc README.md + +%changelog +* Mon Apr 01 2019 Silvan Calarco 1.12.0.20190401git-1mamba +- update to 1.12.0.20190401git + +* Mon Apr 01 2019 Silvan Calarco 1.12.0-1mamba +- package created using the webbuild interface