packages: projectM-pulseaudio/projectM-pulseaudio-include.patch (NEW), proj...

qboosh qboosh at pld-linux.org
Fri Dec 30 16:31:16 CET 2011


Author: qboosh                       Date: Fri Dec 30 15:31:16 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/projectM-pulseaudio:
   projectM-pulseaudio-include.patch (NONE -> 1.1)  (NEW), projectM-pulseaudio-pulse.patch (NONE -> 1.1)  (NEW), projectM-pulseaudio.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/projectM-pulseaudio/projectM-pulseaudio-include.patch
diff -u /dev/null packages/projectM-pulseaudio/projectM-pulseaudio-include.patch:1.1
--- /dev/null	Fri Dec 30 16:31:16 2011
+++ packages/projectM-pulseaudio/projectM-pulseaudio-include.patch	Fri Dec 30 16:31:11 2011
@@ -0,0 +1,11 @@
+mkdir() needs <sys/stat.h>
+--- projectM-pulseaudio-2.0.1-Source/qprojectM-pulseaudio.cpp.orig	2009-12-06 02:20:42.000000000 +0100
++++ projectM-pulseaudio-2.0.1-Source/qprojectM-pulseaudio.cpp	2011-12-30 14:55:42.393904306 +0100
+@@ -68,6 +68,7 @@
+ #include <unistd.h>
+ #include <string.h>
+ #include <errno.h>
++#include <sys/stat.h>
+ 
+ //#include <pulsecore/gccmacro.h>
+ 

================================================================
Index: packages/projectM-pulseaudio/projectM-pulseaudio-pulse.patch
diff -u /dev/null packages/projectM-pulseaudio/projectM-pulseaudio-pulse.patch:1.1
--- /dev/null	Fri Dec 30 16:31:16 2011
+++ packages/projectM-pulseaudio/projectM-pulseaudio-pulse.patch	Fri Dec 30 16:31:11 2011
@@ -0,0 +1,10 @@
+--- projectM-pulseaudio-2.0.1-Source/QPulseAudioThread.hpp.orig	2009-12-06 02:20:42.000000000 +0100
++++ projectM-pulseaudio-2.0.1-Source/QPulseAudioThread.hpp	2011-12-30 14:51:47.957229789 +0100
+@@ -34,7 +34,6 @@
+ {
+ #include <pulse/introspect.h>
+ #include <pulse/pulseaudio.h>
+-#include <pulse/browser.h>
+ }
+ 
+ #include "qprojectm_mainwindow.hpp"

================================================================
Index: packages/projectM-pulseaudio/projectM-pulseaudio.spec
diff -u /dev/null packages/projectM-pulseaudio/projectM-pulseaudio.spec:1.1
--- /dev/null	Fri Dec 30 16:31:16 2011
+++ packages/projectM-pulseaudio/projectM-pulseaudio.spec	Fri Dec 30 16:31:11 2011
@@ -0,0 +1,73 @@
+# $Revision$, $Date$
+Summary:	Pulseaudio visualization
+Summary(pl.UTF-8):	Wizualizacja dla Pulseaudio
+Name:		projectM-pulseaudio
+Version:	2.0.1
+Release:	1
+Epoch:		1
+License:	GPL v2+
+Group:		X11/Applications/Sound
+Source0:	http://downloads.sourceforge.net/projectm/%{name}-%{version}-Source.tar.gz
+# Source0-md5:	3b6cad16f93617cdb073fc61dd48ccec
+Patch0:		%{name}-pulse.patch
+Patch1:		%{name}-include.patch
+URL:		http://projectm.sourceforge.net/
+BuildRequires:	QtCore-devel >= 4
+BuildRequires:	QtGui-devel >= 4
+BuildRequires:	QtOpenGL-devel >= 4
+BuildRequires:	QtXml-devel >= 4
+BuildRequires:	cmake >= 2.4.0
+BuildRequires:	libprojectM-devel >= 1:2.0.1
+BuildRequires:	libstdc++-devel
+BuildRequires:	pkgconfig
+BuildRequires:	projectM-qt-devel >= 1:2.0.1
+BuildRequires:	pulseaudio-devel >= 0.9.8
+BuildRequires:	rpmbuild(macros) >= 1.605
+Requires:	libprojectM >= 1:2.0.1
+Requires:	projectM-qt >= 1:2.0.1
+Requires:	pulseaudio-libs >= 0.9.8
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Pulseaudio visualization using projectM.
+
+%description -l pl.UTF-8
+Wizualizacja dla Pulseaudio wykorzystująca projectM.
+
+%prep
+%setup -q -n %{name}-%{version}-Source
+%patch0 -p1
+%patch1 -p1
+
+%build
+# note: this project doesn't support separate build dir (expects generated include in source dir)
+%cmake .
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog 
+%attr(755,root,root) %{_bindir}/projectM-pulseaudio
+%{_desktopdir}/projectM-pulseaudio.desktop
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/12/30 15:31:11  qboosh
+- new
================================================================


More information about the pld-cvs-commit mailing list