packages: fluidsynth-dssi/fluidsynth-dssi-no_gtk1.patch (NEW), fluidsynth-d...

jajcus jajcus at pld-linux.org
Tue Dec 8 21:26:18 CET 2009


Author: jajcus                       Date: Tue Dec  8 20:26:18 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new package

---- Files affected:
packages/fluidsynth-dssi:
   fluidsynth-dssi-no_gtk1.patch (NONE -> 1.1)  (NEW), fluidsynth-dssi.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/fluidsynth-dssi/fluidsynth-dssi-no_gtk1.patch
diff -u /dev/null packages/fluidsynth-dssi/fluidsynth-dssi-no_gtk1.patch:1.1
--- /dev/null	Tue Dec  8 21:26:18 2009
+++ packages/fluidsynth-dssi/fluidsynth-dssi-no_gtk1.patch	Tue Dec  8 21:26:13 2009
@@ -0,0 +1,14 @@
+diff -dur fluidsynth-dssi-1.0.0.orig/configure.ac fluidsynth-dssi-1.0.0/configure.ac
+--- fluidsynth-dssi-1.0.0.orig/configure.ac	2009-01-05 00:30:16.000000000 +0100
++++ fluidsynth-dssi-1.0.0/configure.ac	2009-12-08 20:26:49.000000000 +0100
+@@ -43,10 +43,6 @@
+ if test "x${try_gtk2}" = 'xyes'; then
+     AM_PATH_GTK_2_0(2.0.0, with_gtk='yes (version 2.0)', with_gtk=no)
+ fi
+-dnl  No GTK+ 2.x found, look for GTK+ 1.2 instead
+-if test "x${with_gtk}" = 'xno'; then
+-    AM_PATH_GTK(1.2.0, with_gtk='yes (version 1.2)', AC_MSG_WARN([GUI will not be built because no version of GTK+ was found]))
+-fi
+ AM_CONDITIONAL(BUILD_GUI, test "x${with_gtk}" != 'xno')
+ echo "GTK support: $with_gtk"
+ 

================================================================
Index: packages/fluidsynth-dssi/fluidsynth-dssi.spec
diff -u /dev/null packages/fluidsynth-dssi/fluidsynth-dssi.spec:1.1
--- /dev/null	Tue Dec  8 21:26:18 2009
+++ packages/fluidsynth-dssi/fluidsynth-dssi.spec	Tue Dec  8 21:26:13 2009
@@ -0,0 +1,81 @@
+# $Revision$, $Date$
+#
+Summary:	Software synthesizer plugin for the DSSI Soft Synth Interface
+Name:		fluidsynth-dssi
+Version:	1.0.0
+Release:	1
+License:	GPL v2
+Group:		Applications/Sound
+Source0:	http://dl.sourceforge.net/dssi/%{name}-%{version}.tar.gz
+# Source0-md5:	6c9f660f0df4d2aad5076de75b2a0a67
+Patch0:		%{name}-no_gtk1.patch
+URL:		http://dssi.sourceforge.net/
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	dssi-devel
+BuildRequires:	fluidsynth-devel >= 1.0.3
+BuildRequires:	gtk+2-devel
+BuildRequires:	liblo-devel >= 0.23
+BuildRequires:	libtool
+BuildRequires:	pkgconfig
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+FluidSynth-DSSI is an implementation of the FluidSynth
+soundfont-playing software synthesizer as a plugin for the DSSI Soft
+Synth Interface. DSSI is a plugin API for software instruments (soft
+synths) with user interfaces, permitting them to be hosted in-process
+by audio applications.
+
+%package gui
+Summary:	Graphical interface for FluidSynth-DSSI
+Group:		X11/Applications/Sound
+Requires:	%{name} = %{version}-%{release}
+
+%description gui
+GTK+ graphical user interface for FluidSynth-DSSI.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT%{_libdir}/dssi/*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README TODO ChangeLog
+%{_libdir}/dssi/%{name}.so
+%dir %{_libdir}/dssi/%{name}
+
+%files gui
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/dssi/%{name}/FluidSynth-DSSI_gtk
+
+%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  2009/12/08 20:26:13  jajcus
+- new package
+
================================================================


More information about the pld-cvs-commit mailing list