[packages/gerbera] - use cmake 3.13+ invocation style

qboosh qboosh at pld-linux.org
Sun Apr 9 18:02:38 CEST 2023


commit 4488960687c5e10e376a373e4dd2894b4d8fc147
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Apr 9 18:05:09 2023 +0200

    - use cmake 3.13+ invocation style

 gerbera.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/gerbera.spec b/gerbera.spec
index f4e31e0..7f30218 100644
--- a/gerbera.spec
+++ b/gerbera.spec
@@ -59,9 +59,7 @@ urządzeniach zgodnych z UPnP.
 %setup -q
 
 %build
-install -d build
-cd build
-%cmake .. \
+%cmake -B build \
 	-DWITH_AVCODEC:BOOL=OFF \
 	-DWITH_DEBUG:BOOL=OFF \
 	-DWITH_EXIV2:BOOL=OFF \
@@ -69,7 +67,7 @@ cd build
 	-DWITH_WAVPACK:BOOL=ON \
 	%{cmake_on_off js WITH_JS}
 
-%{__make}
+%{__make} -C build
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gerbera.git/commitdiff/4488960687c5e10e376a373e4dd2894b4d8fc147



More information about the pld-cvs-commit mailing list