]> git.pld-linux.org Git - packages/ncmpc.git/commitdiff
up to 0.28 auto/th/ncmpc-0.28-1
authorJan Palus <atler@pld-linux.org>
Thu, 21 Sep 2017 16:55:54 +0000 (18:55 +0200)
committerJan Palus <atler@pld-linux.org>
Thu, 21 Sep 2017 16:55:54 +0000 (18:55 +0200)
- build switched to meson
- disable lirc (our lirc is broken? either lirc.pc should link against
  lirc_client or there should be lirc_client.pc)

ax_require_defined.m4 [deleted file]
ncmpc.spec

diff --git a/ax_require_defined.m4 b/ax_require_defined.m4
deleted file mode 100644 (file)
index cae1111..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-# ===========================================================================
-#    http://www.gnu.org/software/autoconf-archive/ax_require_defined.html
-# ===========================================================================
-#
-# SYNOPSIS
-#
-#   AX_REQUIRE_DEFINED(MACRO)
-#
-# DESCRIPTION
-#
-#   AX_REQUIRE_DEFINED is a simple helper for making sure other macros have
-#   been defined and thus are available for use.  This avoids random issues
-#   where a macro isn't expanded.  Instead the configure script emits a
-#   non-fatal:
-#
-#     ./configure: line 1673: AX_CFLAGS_WARN_ALL: command not found
-#
-#   It's like AC_REQUIRE except it doesn't expand the required macro.
-#
-#   Here's an example:
-#
-#     AX_REQUIRE_DEFINED([AX_CHECK_LINK_FLAG])
-#
-# LICENSE
-#
-#   Copyright (c) 2014 Mike Frysinger <vapier@gentoo.org>
-#
-#   Copying and distribution of this file, with or without modification, are
-#   permitted in any medium without royalty provided the copyright notice
-#   and this notice are preserved. This file is offered as-is, without any
-#   warranty.
-
-#serial 1
-
-AC_DEFUN([AX_REQUIRE_DEFINED], [dnl
-  m4_ifndef([$1], [m4_fatal([macro ]$1[ is not defined; is a m4 file missing?])])
-])dnl AX_REQUIRE_DEFINED
index 1018e5de0e4afd291b48cabe122c66deacb55f25..d61b55df7f55292c1c6995437c4e103eda8a422d 100644 (file)
@@ -1,21 +1,21 @@
 Summary:       Curses client for Music Player Daemon
 Summary(pl.UTF-8):     Klient curses dla demona MPD
 Name:          ncmpc
-Version:       0.27
+Version:       0.28
 Release:       1
 License:       GPL v2+
 Group:         Applications/Sound
 Source0:       http://www.musicpd.org/download/ncmpc/0/%{name}-%{version}.tar.xz
-# Source0-md5: 121c99645fa2ba6dc86db28a46944ebb
-Source1:       ax_require_defined.m4
+# Source0-md5: 1fdfb8b5d72434fb48ebc4fbc5ac89c7
 URL:           http://mpd.wikia.com/wiki/Client:Ncmpc
-BuildRequires: autoconf >= 2.60
-BuildRequires: automake >= 1:1.11
 BuildRequires: gettext-tools
 BuildRequires: glib2-devel >= 1:2.30
 BuildRequires: libmpdclient-devel >= 2.9
+BuildRequires: meson
 BuildRequires: ncurses-devel
+BuildRequires: ninja
 BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.725
 Requires:      glib2 >= 1:2.30
 Requires:      libmpdclient >= 2.9
 Suggests:      mpd
@@ -37,35 +37,27 @@ playlistami i sterowania MPD za pomocą pilota.
 
 %prep
 %setup -q
-%{__cp} %{SOURCE1} m4
 
 %build
-%{__glib_gettextize}
-%{__aclocal} -I m4
-%{__autoconf}
-%{__autoheader}
-%{__automake}
-
-%configure \
-       --enable-artist-screen \
-       --enable-chat-screen \
-       --enable-colors \
-       --enable-help-screen \
-       --enable-key-screen \
-       --enable-locale \
-       --enable-lyrics-screen \
-       --enable-mouse \
-       --enable-outputs-screen \
-       --enable-search-screen \
-       --enable-song-screen \
-       --with-lyrics-plugin-dir=%{_libdir}/ncmpc/lyrics
-%{__make}
+%meson build \
+       -Dartist_screen=true \
+       -Dchat_screen=true \
+       -Dcolors=auto \
+       -Dhelp_screen=true \
+       -Dkey_screen=true \
+       -Dlocale=true \
+       -Dlyrics_screen=true \
+       -Dmouse=true \
+       -Doutputs_screen=true \
+       -Dsearch_screen=true \
+       -Dsong_screen=true \
+       -Dlirc=false
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+DESTDIR=$RPM_BUILD_ROOT \
+%ninja -C build install
 
 rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
 
@@ -76,7 +68,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f ncmpc.lang
 %defattr(644,root,root,755)
-%doc AUTHORS NEWS README doc/*.sample doc/ncmpc.lirc
+%doc AUTHORS NEWS README.rst doc/*.sample doc/ncmpc.lirc
 %attr(755,root,root) %{_bindir}/*
 %dir %{_libdir}/ncmpc
 %dir %{_libdir}/ncmpc/lyrics
This page took 0.0993810000000001 seconds and 4 git commands to generate.