Hello community, here is the log from the commit of package cmus for openSUSE:Factory checked in at 2017-07-10 11:07:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cmus (Old) and /work/SRC/openSUSE:Factory/.cmus.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cmus" Mon Jul 10 11:07:56 2017 rev:2 rq:509074 version:2.8.0~20170702.g61d4b2b Changes: -------- --- /work/SRC/openSUSE:Factory/cmus/cmus.changes 2017-07-07 10:16:37.745451104 +0200 +++ /work/SRC/openSUSE:Factory/.cmus.new/cmus.changes 2017-07-10 11:08:32.186533509 +0200 @@ -1,0 +2,6 @@ +Mon Jul 10 06:23:26 UTC 2017 - [email protected] + +- Use the detected gccN +- Add bcond for sndio + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cmus.spec ++++++ --- /var/tmp/diff_new_pack.hBHrxc/_old 2017-07-10 11:08:32.826443142 +0200 +++ /var/tmp/diff_new_pack.hBHrxc/_new 2017-07-10 11:08:32.830442578 +0200 @@ -17,6 +17,8 @@ # +%bcond_without sndio + Name: cmus Version: 2.8.0~20170702.g61d4b2b Release: 0 @@ -40,7 +42,10 @@ BuildRequires: git-core BuildRequires: libmpcdec-devel BuildRequires: pkgconfig +%if %{with sndio} BuildRequires: sndio-devel +%endif +BuildRequires: ncurses-devel BuildRequires: update-desktop-files BuildRequires: pkgconfig(alsa) >= 1.0.11 BuildRequires: pkgconfig(ao) @@ -55,7 +60,6 @@ BuildRequires: pkgconfig(libmodplug) BuildRequires: pkgconfig(libpulse) >= 0.9.19 BuildRequires: pkgconfig(libsystemd) -BuildRequires: ncurses-devel # BuildRequires: pkgconfig(ncurses) BuildRequires: pkgconfig(opusfile) BuildRequires: pkgconfig(samplerate) @@ -98,6 +102,7 @@ %description plugin-pulse This package provides PulseAudio output support for the C* Music Player. +%if %{with sndio} %package plugin-sndio Summary: Sndio output plugin for the C* Music Player Group: Productivity/Multimedia/Sound/Players @@ -105,6 +110,7 @@ %description plugin-sndio This package provides sndio output support for the C* Music Player. +%endif %package plugin-cdio Summary: CDIO plugin for the C* Music Player @@ -126,8 +132,8 @@ Summary: FFmpeg input plugin for the C* Music Player Group: Productivity/Multimedia/Sound/Players Requires: %{name} = %{version}-%{release} -Obsoletes: %{name}-plugin-mad Obsoletes: %{name}-plugin-aac +Obsoletes: %{name}-plugin-mad %description plugin-ffmpeg This package provides FFmpeg input support for the C* Music Player. @@ -203,7 +209,9 @@ Requires: %{name}-plugin-mpc = %{version}-%{release} Requires: %{name}-plugin-opus = %{version}-%{release} Requires: %{name}-plugin-pulse = %{version}-%{release} +%if %{with sndio} Requires: %{name}-plugin-sndio = %{version}-%{release} +%endif Requires: %{name}-plugin-vorbis = %{version}-%{release} Requires: %{name}-plugin-wavpack = %{version}-%{release} @@ -226,12 +234,15 @@ libdir="%{_libdir}" \ mandir="%{_mandir}" \ exampledir="%{_docdir}/%{name}.xxx/examples" \ - CONFIG_{ALSA,AO,CDDB,CDIO,CUE,DISCID,FFMPEG,FLAC,JACK,MIKMOD,MODPLUG,MPC,MPRIS,OPUS,OSS,PULSE,SAMPLERATE,SNDIO,VORBIS,WAVPACK,WAV}=y \ +%if %{with sndio} + CONFIG_SNDIO=y \ +%endif + CONFIG_{ALSA,AO,CDDB,CDIO,CUE,DISCID,FFMPEG,FLAC,JACK,MIKMOD,MODPLUG,MPC,MPRIS,OPUS,OSS,PULSE,SAMPLERATE,VORBIS,WAVPACK,WAV}=y \ CONFIG_{AAC,ARTS,COREAUDIO,MAD,BASS,MP4,ROAR,SUN,TREMOR,VTX,WAVEOUT}=n \ USE_FALLBACK_IP=y \ CFLAGS="%{optflags}" -make %{?_smp_mflags} V=1 CC=gcc +make %{?_smp_mflags} V=1 CC=${CC} %install %make_install @@ -273,9 +284,11 @@ %defattr(-,root,root) %{_libdir}/cmus/op/pulse.so +%if %{with sndio} %files plugin-sndio %defattr(-,root,root) %{_libdir}/cmus/op/sndio.so +%endif %files plugin-cdio %defattr(-,root,root)
