]> git.pld-linux.org Git - packages/TiMidity++.git/commitdiff
- Ported changes from DEVEL
authoradgor <adgor@pld-linux.org>
Mon, 26 Apr 2004 12:56:38 +0000 (12:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- Added TODO
- Release 3

Changed files:
    TiMidity++.spec -> 1.65

TiMidity++.spec

index 596fe8e99bb7e36b2ed63947b7e2dc50eedb9d17..27ccfba7598bdc617d73eba3df8fd6dff7f91710 100644 (file)
@@ -1,6 +1,14 @@
 #
+# TODO:
+#      - xskin bcond (to avoid libX11 deps)
+#
 # Conditional build:
 %bcond_without alsa    # without ALSA support
+%bcond_with    arts    # enable ARTS support
+%bcond_with    esd     # enable ESD support
+%bcond_with    jack    # enable JACK support
+%bcond_with    nas     # enable NAS support
+%bcond_with    vorbis  # enable Ogg Vorbis support
 #
 Summary:       TiMidity++ - MIDI to WAV converter and player
 Summary(pl):   TiMidity++ - konwerter do WAV oraz odtwarzacz plików MIDI
@@ -9,7 +17,7 @@ Summary(ru):   
 Summary(uk):   ðÒÏÇÒÁ×ÁÞ MIDI-ÆÁÊ̦נÔÁ ËÏÎ×ÅÒÔÏÒ §È × WAV ÆÏÒÍÁÔ
 Name:          TiMidity++
 Version:       2.13.0
-Release:       2
+Release:       3
 License:       GPL
 Vendor:                Masanao Izumo <mo@goice.co.jp>
 Group:         Applications/Sound
@@ -22,15 +30,19 @@ Source2:    britepno.pat.bz2
 Source3:       pistol.pat.bz2
 # Source3-md5: f961325db679de6e0ea402ebe6a268f9
 Source4:       timidity.cfg
-Patch0:                %{name}-config.patch
 URL:           http://timidity.sourceforge.net/
 %{?with_alsa:BuildRequires:    alsa-lib-devel}
+%{?with_arts:BuildRequires:    arts-devel}
 BuildRequires: autoconf
+%{?with_esd:BuildRequires:     esound-devel}
+%{?with_jack:BuildRequires:    jack-audio-connection-kit-devel}
 BuildRequires: gtk+-devel
 BuildRequires: motif-devel
+%{?with_nas:BuildRequires:     nas-devel}
 BuildRequires: ncurses-devel
 BuildRequires: slang-devel
 BuildRequires: tk-devel >= 8.3.2
+%{?with_vorbis:BuildRequires:  libvorbis-devel}
 Obsoletes:     timidity
 Obsoletes:     timidity++
 Obsoletes:     timidity++-X11
@@ -180,7 +192,6 @@ xawmidi - interfejs do TiMidity++ oparty o biblitek
 
 %prep
 %setup -q
-%patch0 -p1
 
 for f in doc/ja_JP.eucJP/README*; do
        mv -f $f ${f}.ja
@@ -189,25 +200,28 @@ done
 %build
 cp -f /usr/share/automake/config.sub autoconf
 %{__autoconf}
+
+AUDIO=oss%{?with_alsa:,alsa}%{?with_arts:,arts}%{?with_esd:,esd}\
+%{?with_jack:,jack}%{?with_nas:,nas}%{?with_vorbis:,vorbis}
+
 %configure \
-       --with-elf \
-       --with-module-dir=%{_libdir}/timidity \
+       %{?with_alsa:--enable-alsaseq=dynamic} \
+       --enable-audio=$AUDIO \
        --enable-dynamic \
+       --enable-gtk=dynamic \
+       --enable-emacs=dynamic \
+       --enable-motif=dynamic \
        --enable-ncurses=dynamic \
+       --enable-network \
+       --enable-server \
        --enable-slang=dynamic \
-       --enable-motif=dynamic \
+       --enable-spectrogram \
        --enable-tcltk=dynamic \
-       --enable-emacs=dynamic \
+       --enable-vt100=dynamic \
        --enable-xaw=dynamic \
        --enable-xskin=dynamic \
-       --enable-gtk=dynamic \
-       --enable-vt100=dynamic \
-       --enable-network \
-       --enable-server \
-       --enable-spectrogram \
-       --enable-audio=default,oss,%{?with_alsa:alsa,}esd \
-       %{?with_alsa:--enable-alsaseq=dynamic} \
-       --enable-default-output=default
+       --with-default-path=%{_sysconfdir} \
+       --with-elf
 
 %{__make}
 
This page took 0.033971 seconds and 4 git commands to generate.