rpms/mixxx/devel 0001-Improve-detection-of-libmp4-libmp4v2.patch, NONE, 1.1 mixxx.spec, 1.16, 1.17

Nicolas Chauvet kwizart at rpmfusion.org
Sun May 3 16:13:57 CEST 2015


Author: kwizart

Update of /cvs/free/rpms/mixxx/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv19273

Modified Files:
	mixxx.spec 
Added Files:
	0001-Improve-detection-of-libmp4-libmp4v2.patch 
Log Message:
Fix build on f22


0001-Improve-detection-of-libmp4-libmp4v2.patch:
 features.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE 0001-Improve-detection-of-libmp4-libmp4v2.patch ---
>From 6b38aa6278cb8e622fbb507407a6706501426be5 Mon Sep 17 00:00:00 2001
From: Uwe Klotz <uwe_klotz at web.de>
Date: Sat, 9 Nov 2013 09:31:44 +0100
Subject: [PATCH] Improve detection of libmp4/libmp4v2

This was needed to compile Mixxx with faad enabled on Fedora 19
---
 build/features.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/build/features.py b/build/features.py
index 72dd7dd..d324e1c 100644
--- a/build/features.py
+++ b/build/features.py
@@ -523,10 +523,11 @@ class FAAD(Feature):
 
         have_mp4v2_h = conf.CheckHeader('mp4v2/mp4v2.h')
         have_mp4v2 = conf.CheckLib(['mp4v2','libmp4v2'], autoadd=False)
+        have_mp4_h = conf.CheckHeader('mp4.h')
         have_mp4 = conf.CheckLib('mp4', autoadd=False)
 
         # Either mp4 or mp4v2 works
-        have_mp4 = (have_mp4v2_h and have_mp4v2) or have_mp4
+        have_mp4 = (have_mp4v2_h or have_mp4_h) and (have_mp4v2 or have_mp4)
 
         if not have_mp4:
             raise Exception('Could not find libmp4, libmp4v2 or the libmp4v2 development headers.')
-- 
2.1.0



Index: mixxx.spec
===================================================================
RCS file: /cvs/free/rpms/mixxx/devel/mixxx.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- mixxx.spec	1 Sep 2014 02:20:23 -0000	1.16
+++ mixxx.spec	3 May 2015 14:13:56 -0000	1.17
@@ -1,6 +1,6 @@
 Name:           mixxx
 Version:        1.11.0
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Mixxx is open source software for DJ'ing
 
 Group:          Applications/Multimedia
@@ -10,11 +10,13 @@
 Patch0:         %{name}-%{version}-20130517bzr.patch
 Patch1:         %{name}-%{version}-installpath.patch
 Patch2:         %{name}-%{version}-wtf.patch
+Patch3:         0001-Improve-detection-of-libmp4-libmp4v2.patch
 # Updated manual...build it yourself with:
 # 1) bzr checkout lp:~mixxxdevelopers/mixxx/manual-1.11.x
 # 2) cd manual-1.11.x; make html; make latexpdf; make latexpdf
 Source1:        %{name}-%{version}-20130517bzr.tar.bz2
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+ExclusiveArch:  i686 x86_64
 
 #Build tools
 BuildRequires:  desktop-file-utils
@@ -22,6 +24,7 @@
 
 #Mandatory Requirements
 BuildRequires:  alsa-lib-devel >= 1.0.10
+BuildRequires:  faad2-devel
 #BuildRequires:  jack-audio-connection-kit-devel >= 0.61.0 #jack seems deprecated to portaudio
 BuildRequires:  qt4-devel >= 4.3
 BuildRequires:  qt4-webkit-devel
@@ -65,6 +68,7 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 %setup -T -D -a 1
 
 # Fix file permissions.  (Already fixed upstream.)
@@ -85,14 +89,13 @@
 scons %{?_smp_mflags} \
   prefix=%{_prefix} \
   qtdir=%{_qt4_prefix} \
+  faad=1 \
   ladspa=0 \
   shoutcast=1 hifieq=1 script=0 optimize=0 \
 
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 export CFLAGS=$RPM_OPT_FLAGS
 export LIBDIR=$RPM_BUILD_ROOT/%{_libdir}
 scons %{?_smp_mflags} \
@@ -109,21 +112,24 @@
 rm -rf $RPM_BUILD_ROOT%{_docdir}
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %doc COPYING LICENSE README README.macro
 %doc Mixxx-Manual.pdf
 %{_bindir}/%{name}
 %{_datadir}/%{name}/
+%dir %{_libdir}/%{name}/plugins/vamp
 %{_libdir}/%{name}/plugins/vamp/libmixxxminimal.so
+%dir %{_libdir}/%{name}/plugins/soundsource
+%{_libdir}/%{name}/plugins/soundsource/libsoundsourcem4a.so
 %{_datadir}/applications/mixxx.desktop
 %{_datadir}/pixmaps/mixxx-icon.png
 
 %changelog
+* Sun May 03 2015 Nicolas Chauvet <kwizart at gmail.com> - 1.11.0-4
+- Add ExclusiveArch - Workaround rfbz#2413
+- Add m4a support - rhbz#3488
+- Spec file clean-up
+
 * Mon Sep 01 2014 Sérgio Basto <sergio at serjux.com> - 1.11.0-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 
@@ -139,7 +145,7 @@
 * Wed Feb 08 2012 Nicolas Chauvet <kwizart at gmail.com> - 1.9.2-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
-* Mon Nov 8 2011 John Brier <johnbrier at gmail.com> - 1.9.2-1
+* Tue Nov 8 2011 John Brier <johnbrier at gmail.com> - 1.9.2-1
 - Update to 1.9.2
 - build with shoutcast support
 - remove -n option to setup since upstream source extracts 


More information about the rpmfusion-commits mailing list