Author: goetz
Date: Thu Feb  8 12:30:55 2007
New Revision: 117753

Added:
   packages/cooker/alsaplayer/current/SOURCES/alsaplayer-0.99.75-gcc33.patch
   packages/cooker/alsaplayer/current/SOURCES/alsaplayer-0.99.77.tar.bz2   
(contents, props changed)
Removed:
   packages/cooker/alsaplayer/current/SOURCES/alsaplayer-0.99.75-gcc33.patch.bz2
   packages/cooker/alsaplayer/current/SOURCES/alsaplayer-0.99.76.tar.bz2
Modified:
   packages/cooker/alsaplayer/current/SPECS/alsaplayer.spec

Log:
- new version
- disable flac plugin
- switch to gtk2.0 UI


Added: packages/cooker/alsaplayer/current/SOURCES/alsaplayer-0.99.75-gcc33.patch
==============================================================================
--- (empty file)
+++ packages/cooker/alsaplayer/current/SOURCES/alsaplayer-0.99.75-gcc33.patch   
Thu Feb  8 12:30:55 2007
@@ -0,0 +1,20 @@
+--- interface/gtk/PlaylistWindow.cpp~  2003-04-17 13:45:42.000000000 +0200
++++ interface/gtk/PlaylistWindow.cpp   2003-06-08 18:02:57.000000000 +0200
+@@ -21,6 +21,7 @@
+ #include <cstring>
+ #include <unistd.h>
+ #include <pthread.h>
++#include <assert.h>
+ #include <sys/stat.h>
+ #include <gtk/gtk.h>
+ #include <gdk/gdkkeysyms.h>
+--- interface/gtk/gtk_interface.cpp~   2003-04-08 20:30:57.000000000 +0200
++++ interface/gtk/gtk_interface.cpp    2003-06-08 18:03:45.000000000 +0200
+@@ -20,6 +20,7 @@
+ #include "config.h"
+ #include "prefs.h"
+ #include "alsaplayer_error.h"
++#include <assert.h>
+ #include <unistd.h>
+ #include <sys/types.h>
+ //#define NEW_SCALE

Added: packages/cooker/alsaplayer/current/SOURCES/alsaplayer-0.99.77.tar.bz2
==============================================================================
Binary file. No diff available.

Modified: packages/cooker/alsaplayer/current/SPECS/alsaplayer.spec
==============================================================================
--- packages/cooker/alsaplayer/current/SPECS/alsaplayer.spec    (original)
+++ packages/cooker/alsaplayer/current/SPECS/alsaplayer.spec    Thu Feb  8 
12:30:55 2007
@@ -1,26 +1,26 @@
 %define major       0
 %define libname     %mklibname %name %major
+%define build_flac 0
 
 Name:          alsaplayer
 Summary:       Advanced Linux Sound Architecture (ALSA) player
-Version: 0.99.76
-Release: %mkrel 9
+Version: 0.99.77
+Release: %mkrel 1
 Source:                
ftp://ftp.alsa-project.org/pub/people/andy/%name-%version.tar.bz2
 Source1:       %name-icons.tar.bz2
-Patch:         alsaplayer-0.99.75-gcc33.patch.bz2
+Patch:         alsaplayer-0.99.75-gcc33.patch
 URL:           http://www.alsaplayer.org/
 License:       GPL
 BuildRoot:     %_tmppath/%name-%version-root
 Group:         Sound
 BuildRequires: libalsa-devel  
 BuildRequires: esound-devel
-BuildRequires: gtk+-devel
+BuildRequires: gtk+2.0-devel
 BuildRequires: libmikmod-devel 
 BuildRequires: libvorbis-devel
 BuildRequires:  libid3tag-devel
 BuildRequires:  libmad-devel 
 BuildRequires: libjack-devel >= 0.70.4
-BuildRequires:  liboggflac-devel 
 BuildRequires:  libnas-devel
 BuildRequires:  libsndfile-devel
 BuildRequires:  libxosd-devel
@@ -53,10 +53,17 @@
 %description -n %libname-devel
 This is the development part of the AlsaPlayer librairy. 
 
+
+%if %build_flac
 %package plugin-input-flac
 Summary:    AlsaPlayer plugin for playing FLAC audio files
 Group:         Sound
 Requires: alsaplayer => %version-%release
+BuildRequires: liboggflac-devel
+%description plugin-input-flac
+This plugin enables alsaplayer to play files in the lossless audio 
+compression format FLAC.
+%endif
 
 %package plugin-input-mod
 Summary:    AlsaPlayer plugin for playing MOD modules
@@ -104,10 +111,6 @@
 Group:         Sound
 Requires: alsaplayer => %version-%release, alsaplayer-plugin-ui-gtk
 
-%description plugin-input-flac
-This plugin enables alsaplayer to play files in the lossless audio 
-compression format FLAC.
-
 %description plugin-input-mod
 This plugin enables alsaplayer to play module music files.
 Supported file formats include MOD, STM, S3M, MTM, XM, ULT, and IT.
@@ -243,10 +246,12 @@
 %_libdir/libalsaplayer.so
 %_libdir/pkgconfig/alsaplayer.pc
 
+%if %build_flac
 %files plugin-input-flac
 %defattr(-, root, root)
 %doc COPYING
 %_libdir/%name/input/libflac_in.so
+%endif
 
 %files plugin-input-mod
 %defattr(-, root, root)
@@ -286,7 +291,7 @@
 %files plugin-ui-gtk
 %defattr(-, root, root)
 %doc COPYING
-%_libdir/%name/interface/libgtk_interface.so
+%_libdir/%name/interface/libgtk2_interface.so
 
 %files plugin-scopes
 %defattr(-, root, root)

Reply via email to