]> git.pld-linux.org Git - packages/TiMidity++.git/commitdiff
- bcond_off_alsa
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 8 Feb 2001 01:32:36 +0000 (01:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- BuildRequires: tk-devel (removed tcl-devel as tk-devel implies it)

Changed files:
    TiMidity++.spec -> 1.30

TiMidity++.spec

index fca9ac1edea11ba344a017054654d8bee53bbff2..3911f779fc17a816dfccf6111fc758f2d35d015e 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+# bcond_off_alsa - without ALSA support
+#
 Summary:       TiMidity++ - MIDI to WAV converter and player
 Name:          TiMidity++
 Version:       2.10.3a2
@@ -10,13 +14,13 @@ Group(pl):  Aplikacje/D
 Source0:       http://www.goice.co.jp/member/mo/timidity/dist/%{name}-%{version}.tar.bz2
 Patch0:                %{name}-config.patch
 %ifnarch sparc sparc64
-BuildRequires: alsa-lib-devel
+%{!?bcond_off_alsa:BuildRequires:      alsa-lib-devel}
 %endif
 BuildRequires: gtk+-devel
 BuildRequires: motif-devel
 BuildRequires: ncurses-devel
 BuildRequires: slang-devel
-BuildRequires: tcl-devel >= 8.3.2
+BuildRequires: tk-devel >= 8.3.2
 URL:           http://www.goice.co.jp/member/mo/timidity/
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -99,7 +103,7 @@ VT100 interface for TiMidity++.
 %configure \
        --with-elf \
 %ifnarch sparc sparc64
-       --enable-alsa \
+       %{!?bcond_off_alsa:--enable-alsa} \
 %endif
        --enable-dynamic \
        --enable-ncurses=dynamic \
This page took 0.07174 seconds and 4 git commands to generate.