]> git.pld-linux.org Git - packages/ZynAddSubFX.git/commitdiff
- initial release
authorfreetz <freetz@pld-linux.org>
Fri, 20 Jun 2003 18:44:28 +0000 (18:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ZynAddSubFX-jack.patch -> 1.1
    ZynAddSubFX-optflags.patch -> 1.1
    ZynAddSubFX.desktop -> 1.1
    ZynAddSubFX.spec -> 1.1

ZynAddSubFX-jack.patch [new file with mode: 0644]
ZynAddSubFX-optflags.patch [new file with mode: 0644]
ZynAddSubFX.desktop [new file with mode: 0644]
ZynAddSubFX.spec [new file with mode: 0644]

diff --git a/ZynAddSubFX-jack.patch b/ZynAddSubFX-jack.patch
new file mode 100644 (file)
index 0000000..4768b0c
--- /dev/null
@@ -0,0 +1,11 @@
+--- ZynAddSubFX-1.2.0/src/Makefile.inc~        2003-03-19 06:25:12.000000000 -0800
++++ ZynAddSubFX-1.2.0/src/Makefile.inc 2003-03-21 11:54:57.000000000 -0800
+@@ -14,7 +14,7 @@
+ #Next line sets the audio output (OSS/JACK/PA)
+ LINUX_AUDIOOUT=OSS
+ #LINUX_AUDIOOUT=NONE
+-#LINUX_AUDIOOUT=JACK
++LINUX_AUDIOOUT=JACK
+ #for PortAudio (PA)
+ #LINUX_AUDIOOUT=PA
diff --git a/ZynAddSubFX-optflags.patch b/ZynAddSubFX-optflags.patch
new file mode 100644 (file)
index 0000000..94597ce
--- /dev/null
@@ -0,0 +1,12 @@
+diff -aurN ZynAddSubFX-1.4.1.orig/src/Makefile ZynAddSubFX-1.4.1/src/Makefile
+--- ZynAddSubFX-1.4.1.orig/src/Makefile        2003-04-11 15:16:49.000000000 +0200
++++ ZynAddSubFX-1.4.1/src/Makefile     2003-06-20 00:00:05.000000000 +0200
+@@ -1,7 +1,7 @@
+ include Makefile.inc
+ ifneq ($(MAKECMDGOALS),debug)
+-  CXXFLAGS= -O6 
++  CXXFLAGS= $(OPTFLAGS)
+ else 
+   CXXFLAGS= -O0 -ggdb 
+ endif
diff --git a/ZynAddSubFX.desktop b/ZynAddSubFX.desktop
new file mode 100644 (file)
index 0000000..9ff354a
--- /dev/null
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=ZynAddSubFX
+Name[pl]=ZynAddSubFX
+Comment=Software synthesizer
+Comment[pl]=Syntezator programowy
+Exec=/usr/bin/zynaddsubfx
+Icon=
+Terminal=0
+Type=Application
+Categories=Application;AudioVideo;
diff --git a/ZynAddSubFX.spec b/ZynAddSubFX.spec
new file mode 100644 (file)
index 0000000..9276b18
--- /dev/null
@@ -0,0 +1,75 @@
+#
+# Conditional build:
+# _with_jack           - build with jack audio connection kit
+#
+%define        doc_ver  1.4.0
+Summary:       Realtime software synthesizer
+Summary(pl):   Syntezator programowy dzia³aj±cy w czasie rzeczywistym
+Name:          ZynAddSubFX
+Version:       1.4.1
+Release:       0.1
+License:       GPL
+Group:         X11/Applications/Sound
+Source0:       http://heanet.dl.sourceforge.net/sourceforge/zynaddsubfx/%{name}-%{version}.tar.gz
+# Source0-md5: 3891e3f5f314e3b975c22a8ba6b2955d
+Source1:       http://heanet.dl.sourceforge.net/sourceforge/zynaddsubfx/%{name}-doc-%{doc_ver}.tar.gz
+# Source1-md5: cec76cfc784fa294695ed00c95962706
+Source2:       %{name}.desktop
+Patch0:                %{name}-jack.patch
+Patch1:                %{name}-optflags.patch
+URL:           http://zynaddsubfx.sourceforge.net
+BuildRequires: XFree86-devel
+BuildRequires: alsa-lib-devel
+BuildRequires: fftw-devel
+BuildRequires: fltk-devel >= 1.1.3
+%{?_with_jack:BuildRequires:   jack-audio-connection-kit-devel >= 0.66.3}
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+ZynAddSubFX is a software synthesizer capable of making a countless
+number of instruments.
+
+%description -l pl
+ZynAddSubFX jest programowym syntezatorem zdolnym do tworzenia
+niezliczonej ilo¶ci instrumentów.
+
+%prep
+%setup -q -a1
+%{?_with_jack:%patch0 -p1}
+%patch1 -p1
+
+%build
+cd src
+%{__make} OPTFLAGS="%{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/{%{_bindir},%{_datadir}/%{name}} \
+       $RPM_BUILD_ROOT%{_desktopdir} \
+       $RPM_BUILD_ROOT%{_datadir}/%{name}/images \
+       $RPM_BUILD_ROOT%{_datadir}/%{name}/examples/Instruments \
+       $RPM_BUILD_ROOT%{_datadir}/%{name}/examples/Scales
+
+install -c src/zynaddsubfx $RPM_BUILD_ROOT%{_bindir}
+cd %{name}-doc-%{doc_ver}
+bzip2 -dc demo_src.tar.bz2 | tar xf - -C ../examples
+cp images/* $RPM_BUILD_ROOT%{_datadir}/%{name}/images
+cp *.ogg $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp *.html $RPM_BUILD_ROOT%{_datadir}/%{name}
+cd ..
+cp examples/*.*zyn $RPM_BUILD_ROOT%{_datadir}/%{name}/examples
+cp examples/demo_src/*.*zyn $RPM_BUILD_ROOT%{_datadir}/%{name}/examples
+cp examples/Instruments/*.*zyn $RPM_BUILD_ROOT%{_datadir}/%{name}/examples/Instruments
+cp examples/Scales/*.*zyn $RPM_BUILD_ROOT%{_datadir}/%{name}/examples/Scales
+
+install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc FAQ.txt HISTORY.txt README.txt
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/%{name}
+%{_desktopdir}/%{name}.desktop
This page took 0.050276 seconds and 5 git commands to generate.