disable alsa

This commit is contained in:
Tom Callaway 2008-10-22 18:19:46 +00:00
parent 653e74ba66
commit 3aedfa1f44
1 changed files with 7 additions and 3 deletions

View File

@ -9,7 +9,7 @@
Name: tcl-%{realname} Name: tcl-%{realname}
Version: 2.2.10 Version: 2.2.10
Release: 5%{?dist} Release: 6%{?dist}
Summary: Sound toolkit Summary: Sound toolkit
Group: System Environment/Libraries Group: System Environment/Libraries
License: GPLv2+ License: GPLv2+
@ -26,7 +26,8 @@ Patch1: snack2.2.10-extracflags.patch
Patch2: snack2.2.10-shared-stubs.patch Patch2: snack2.2.10-shared-stubs.patch
Patch3: snack2.2.10-newALSA.patch Patch3: snack2.2.10-newALSA.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: tcl-devel, tk-devel, alsa-lib-devel, libogg-devel, libvorbis-devel BuildRequires: tcl-devel, tk-devel, libogg-devel, libvorbis-devel
# BuildRequires: alsa-lib-devel
BuildRequires: python-devel BuildRequires: python-devel
Requires: tcl(abi) = %{tcl_version} Requires: tcl(abi) = %{tcl_version}
Provides: %{realname} = %{version}-%{release} Provides: %{realname} = %{version}-%{release}
@ -68,7 +69,7 @@ sed -i -e 's|\r||g' demos/python/*.txt
%build %build
cd unix/ cd unix/
%configure --disable-static --enable-alsa --with-tcl=%{_libdir} --with-tk=%{_libdir} --with-ogg-include=%{_includedir} --with-ogg-lib=%{_libdir} %configure --disable-static --with-tcl=%{_libdir} --with-tk=%{_libdir} --with-ogg-include=%{_includedir} --with-ogg-lib=%{_libdir}
make %{?_smp_mflags} EXTRACFLAGS="%{optflags}" make %{?_smp_mflags} EXTRACFLAGS="%{optflags}"
cd ../python cd ../python
%{__python} setup.py build %{__python} setup.py build
@ -103,6 +104,9 @@ rm -rf %{buildroot}
%{python_sitelib}/tkSnack* %{python_sitelib}/tkSnack*
%changelog %changelog
* Wed Oct 22 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.2.10-6
- disable alsa (bz 463259)
* Mon Sep 22 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.2.10-5 * Mon Sep 22 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.2.10-5
- fix to work with new alsa (from Jeremiah at Myah OS) - fix to work with new alsa (from Jeremiah at Myah OS)