[packages/kodi/dev-18-leia: 2/4] buildsystem replaced with cmake
glen
glen at pld-linux.org
Sun Jul 22 11:54:10 CEST 2018
commit be17bf9f15d58f7a4b7ca3f47c2ed0dea1ec69d5
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Mon Apr 2 00:21:02 2018 +0300
buildsystem replaced with cmake
kodi.spec | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/kodi.spec b/kodi.spec
index 717e432..4a077a9 100644
--- a/kodi.spec
+++ b/kodi.spec
@@ -75,12 +75,10 @@ BuildRequires: OpenGL-GLU-devel
BuildRequires: OpenGL-devel
BuildRequires: SDL2-devel
BuildRequires: alsa-lib-devel
-BuildRequires: autoconf >= 2.59
-BuildRequires: automake
BuildRequires: avahi-devel
BuildRequires: bluez-libs-devel >= 4.99
BuildRequires: bzip2-devel
-BuildRequires: cmake
+BuildRequires: cmake >= 3.4
BuildRequires: crossguid-devel
BuildRequires: curl-devel
BuildRequires: dbus-devel
@@ -206,10 +204,10 @@ all common digital media files from local and network storage media.
%endif
%build
-#%{__make} -C tools/depends/native/libsquish-native \
-# CXX="%{__cxx}"
-
-./bootstrap
+install -d build
+cd build
+%cmake ..
+%if 0
%configure \
ac_cv_type__Bool=yes \
--disable-silent-rules \
@@ -258,12 +256,13 @@ all common digital media files from local and network storage media.
%{__enable_disable x11} \
%{__enable_disable xrandr} \
%{nil}
+%endif
-%{__make} V=1
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install \
+%{__make} -C build install \
DESTDIR=$RPM_BUILD_ROOT
%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kodi.git/commitdiff/feda2953d8bfd1e51799b8de8aa8e16c518f40f8
More information about the pld-cvs-commit
mailing list