[packages/vvdec] - package vvdecapp
qboosh
qboosh at pld-linux.org
Sun Sep 15 17:18:58 CEST 2024
commit 7e81b634504479543a9b08278d4130b435075c71
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Sep 15 17:21:51 2024 +0200
- package vvdecapp
vvdec.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/vvdec.spec b/vvdec.spec
index de9e330..ee79e33 100644
--- a/vvdec.spec
+++ b/vvdec.spec
@@ -57,7 +57,7 @@ install -d build
cd build
%cmake .. \
-DCMAKE_SKIP_INSTALL_RPATH=ON \
- %{!?with_sse41:-DVVDEC_ENABLE_X86_SIMD=OFF} \
+ %{!?with_sse4:-DVVDEC_ENABLE_X86_SIMD=OFF} \
-DVVDEC_INSTALL_VVDECAPP=ON
%{__make}
@@ -68,6 +68,8 @@ rm -rf $RPM_BUILD_ROOT
%{__make} -C build install \
DESTDIR=$RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+install -p build/source/App/vvdecapp/vvdecapp $RPM_BUILD_ROOT%{_bindir}
cp -dp build/source/Lib/vvdec/libvvdec.so* $RPM_BUILD_ROOT%{_libdir}
%clean
@@ -79,6 +81,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc AUTHORS.md LICENSE.txt README.md
+%attr(755,root,root) %{_bindir}/vvdecapp
%attr(755,root,root) %{_libdir}/libvvdec.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libvvdec.so.2
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/vvdec.git/commitdiff/7e81b634504479543a9b08278d4130b435075c71
More information about the pld-cvs-commit
mailing list