Hello community,

here is the log from the commit of package alsa-plugins for openSUSE:Factory 
checked in at 2017-05-06 18:25:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/alsa-plugins (Old)
 and      /work/SRC/openSUSE:Factory/.alsa-plugins.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "alsa-plugins"

Sat May  6 18:25:40 2017 rev:93 rq:492646 version:1.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/alsa-plugins/alsa-plugins.changes        
2016-12-11 13:26:31.158527151 +0100
+++ /work/SRC/openSUSE:Factory/.alsa-plugins.new/alsa-plugins.changes   
2017-05-06 18:25:41.680726574 +0200
@@ -1,0 +2,7 @@
+Wed May  3 12:57:48 CEST 2017 - [email protected]
+
+- Fix the detection of libavcodec header files:
+  0001-configure-Fix-detection-of-avcodec.h.patches
+- Enable the build of a52 and lavcrate plugins for openSUSE
+
+-------------------------------------------------------------------

New:
----
  0001-configure-Fix-detection-of-avcodec.h.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ alsa-plugins.spec ++++++
--- /var/tmp/diff_new_pack.uoE3Su/_old  2017-05-06 18:25:42.436619913 +0200
+++ /var/tmp/diff_new_pack.uoE3Su/_new  2017-05-06 18:25:42.440619349 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package alsa-plugins
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,6 +24,12 @@
 %define build_pulse    0
 %define build_speex    0
 %endif
+%if 0%{?is_opensuse} || 0%{?suse_version} > 1315
+%define build_avcodec  1
+%else
+%define build_avcodec  0
+%endif
+
 Name:           alsa-plugins
 Version:        1.1.1
 Release:        0
@@ -35,8 +41,12 @@
 Source1:        asound-pulse.conf
 Source2:        alsa-pulse.conf
 Source3:        baselibs.conf
+Patch1:         0001-configure-Fix-detection-of-avcodec.h.patch
 BuildRequires:  alsa-devel
 BuildRequires:  dbus-1-devel
+%if %build_avcodec
+BuildRequires:  libavcodec-devel
+%endif
 BuildRequires:  libjack-devel
 BuildRequires:  libjack0
 BuildRequires:  libsamplerate-devel
@@ -129,12 +139,32 @@
 
 %endif
 
+%if %build_avcodec
+%package a52
+Summary:        A52 Output Plug-In for the ALSA Library
+License:        LGPL-2.1+
+Group:          System/Libraries
+
+%description a52
+This package contains the A52 (aka AC3) output plug-in for the ALSA library.
+
+%package lavcrate
+Summary:        Rate Converter Plug-In for the ALSA Library using libavcodec
+License:        LGPL-2.1+
+Group:          System/Libraries
+
+%description lavcrate
+This package contains the sample rate converter plugin for the ALSA
+library using libavcodec.
+%endif
+
 %prep
 %setup -q -n %{name}-%{package_version}
+%patch1 -p1
 
 %build
 export AUTOMAKE_JOBS="%{?_smp_mflags}"
-# autoreconf -fi
+autoreconf -fi
 %configure --enable-maemo-plugin --enable-maemo-resource-manager \
     --with-speex=builtin
 make %{?_smp_mflags}
@@ -209,8 +239,8 @@
 %doc COPYING.GPL
 %doc doc/samplerate.txt
 %{_libdir}/alsa-lib/libasound_module_rate_samplerate*.so
-%if %{build_speex}
 
+%if %{build_speex}
 %files speex
 %defattr(-, root, root)
 %doc COPYING
@@ -218,4 +248,22 @@
 %{_libdir}/alsa-lib/libasound_module_pcm_speex.so
 %endif
 
+%if %build_avcodec
+%files a52
+%defattr(-, root, root)
+%doc COPYING
+%doc doc/a52.txt
+%{_libdir}/alsa-lib/libasound_module_pcm_a52.so
+
+%files lavcrate
+%defattr(-, root, root)
+%doc COPYING
+%doc doc/lavcrate.txt
+%{_libdir}/alsa-lib/libasound_module_rate_lavcrate.so
+%{_libdir}/alsa-lib/libasound_module_rate_lavcrate_fast.so
+%{_libdir}/alsa-lib/libasound_module_rate_lavcrate_faster.so
+%{_libdir}/alsa-lib/libasound_module_rate_lavcrate_high.so
+%{_libdir}/alsa-lib/libasound_module_rate_lavcrate_higher.so
+%endif
+
 %changelog

++++++ 0001-configure-Fix-detection-of-avcodec.h.patch ++++++
>From 8299875eded9b9e28fb419269abcf0b425dceab9 Mon Sep 17 00:00:00 2001
From: Takashi Iwai <[email protected]>
Date: Wed, 3 May 2017 12:50:03 +0200
Subject: [PATCH] configure: Fix detection of avcodec.h

Signed-off-by: Takashi Iwai <[email protected]>
---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index 190d935ebda6..8fb27a079c2d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -118,6 +118,8 @@ fi
 
 if test $HAVE_AVCODEC = yes; then
   AVCODEC_HEADER=""
+  CFLAGS_saved="$CFLAGS"
+  CFLAGS="$CFLAGS $AVCODEC_CFLAGS"
   AC_CHECK_HEADER([ffmpeg/avcodec.h], [AVCODEC_HEADER='<ffmpeg/avcodec.h>'])
   if test -z "$AVCODEC_HEADER"; then
     AC_CHECK_HEADER([libavcodec/avcodec.h], 
[AVCODEC_HEADER='<libavcodec/avcodec.h>'])
@@ -125,6 +127,7 @@ if test $HAVE_AVCODEC = yes; then
   if test -z "$AVCODEC_HEADER"; then
     HAVE_AVCODEC=no
   fi
+  CFLAGS="$CFLAGS_saved"
 fi
 
 AM_CONDITIONAL(HAVE_AVCODEC, test x$HAVE_AVCODEC = xyes)
-- 
2.12.2


Reply via email to