- bcond with gtk1
authorhavner <havner@pld-linux.org>
Mon, 12 Jul 2004 18:28:13 +0000 (18:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- home-etc patch not done (yet)
- rel 0.1
- works

Changed files:
    aumix-gtk.spec -> 1.41

aumix-gtk.spec

index 6f392fe..825c657 100644 (file)
@@ -1,4 +1,6 @@
 # NOTE:                Please keep in sync with aumix.
+%bcond_with    gtk1            # build with gtk1 instead of gtk2
+
 Summary:       curses and X11/Gtk based audio mixer
 Summary(de):   Audio-Mixer auf curses- und X11/Gtk-Basis
 Summary(es):   Mezclador de audio basado en curses y X11/gtk+
@@ -7,7 +9,7 @@ Summary(ru):    
 Summary(uk):   áÕĦϠͦËÛÅÒ, ÂÁÚÏ×ÁÎÉÊ ÎÁ Â¦ÂÌÉÏÔÅæ curses ¦ gtk+
 Name:          aumix-gtk
 Version:       2.8
-Release:       1
+Release:       0.1
 License:       GPL
 Group:         Applications/Sound
 Source0:       http://www.jpj.net/~trevor/aumix/aumix-%{version}.tar.bz2
@@ -22,7 +24,11 @@ BuildRequires:       autoconf
 BuildRequires: automake
 BuildRequires: gettext-devel
 BuildRequires: gpm-devel
+%if %{with gtk1}
+BuildRequires: gtk+-devel >= 1.2.0
+%else
 BuildRequires: gtk+2-devel
+%endif
 BuildRequires: ncurses-devel >= 5.0
 Provides:      aumix
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -67,7 +73,7 @@ poziom sygna
 %prep
 %setup -q -n aumix-%{version}
 #%patch0 -p1
-#%patch1 -p1
+%patch1 -p1
 %patch2 -p1
 
 %build
@@ -80,7 +86,11 @@ rm -f missing
 
 CPPFLAGS="-I/usr/include/ncurses"
 %configure \
+%if %{with gtk1}
+       --without-gtk
+%else
        --without-gtk1
+%endif
 
 %{__make}
 
This page took 0.072936 seconds and 4 git commands to generate.