]> git.pld-linux.org Git - packages/kodi.git/commitdiff
buildsystem replaced with cmake
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 1 Apr 2018 21:21:02 +0000 (00:21 +0300)
committerElan Ruusamäe <glen@pld-linux.org>
Mon, 2 Apr 2018 16:26:32 +0000 (19:26 +0300)
kodi.spec

index 717e43243ca75fbe99ef6adca3f87a162bd22e5b..4a077a9089cd3513ea8b7a03f8b7787fd62de86c 100644 (file)
--- 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}
This page took 0.128036 seconds and 4 git commands to generate.