[packages/ka5-okular] - ninja - documentation in _kdedocdir
witekfl
witekfl at pld-linux.org
Sun Jan 13 18:19:48 CET 2019
commit 80e5123713b9c6de2a0961ab1bdca00711d27033
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Sun Jan 13 18:18:52 2019 +0100
- ninja
- documentation in _kdedocdir
ka5-okular.spec | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/ka5-okular.spec b/ka5-okular.spec
index f9d8b81..8760462 100644
--- a/ka5-okular.spec
+++ b/ka5-okular.spec
@@ -24,6 +24,7 @@ BuildRequires: kp5-libkscreen-devel
BuildRequires: libjpeg-devel
BuildRequires: libspectre-devel
BuildRequires: libtiff-devel
+BuildRequires: ninja
BuildRequires: poppler-qt5-devel
BuildRequires: qca-devel
BuildRequires: qca-qt5-devel
@@ -63,14 +64,15 @@ Pliki nagłówkowe dla programistów używających %{kaname}.
install -d build
cd build
%cmake \
+ -G Ninja \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ -DKDE_INSTALL_DOCBUNDLEDIR=%{_kdedocdir} \
..
-%{__make}
+%ninja_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} -C build install \
- DESTDIR=$RPM_BUILD_ROOT
+%ninja_install -C build
%find_lang %{kaname} --all-name --with-kde
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka5-okular.git/commitdiff/80e5123713b9c6de2a0961ab1bdca00711d27033
More information about the pld-cvs-commit
mailing list