]> git.pld-linux.org Git - packages/mplayer.git/commitdiff
- optional (--with gtk2) GTK+2 support (still not perfect, but working)
authorsaq <saq@pld-linux.org>
Fri, 21 Nov 2003 20:29:16 +0000 (20:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mplayer.spec -> 1.204

mplayer.spec

index 9fdc5b730a5bcc90eaedfe87c6e0676557e92678..0052d573cf351c53f72649bed098141e7f48d476 100644 (file)
@@ -34,6 +34,8 @@
 %bcond_without win32   # without win32 codecs support
 %bcond_without vorbis  # without ogg-vorbis audio support
 
+%bcond_with gtk2       # EXPERIMENTAL support for GTK+ version 2
+
 # set it to 0, or 1
 %define                snapshot        0
 
@@ -78,6 +80,7 @@ Patch4:               %{name}-codec.patch
 Patch5:                %{name}-home_etc.patch
 Patch6:                %{name}-350.patch
 Patch7:                %{name}-configure.patch
+Patch8:                %{name}-gtk+2.patch
 URL:           http://www.mplayerhq.hu/
 %{?with_directfb:BuildRequires:        DirectFB-devel}
 %{?with_divx4linux:BuildRequires:      divx4linux-devel >= 5.01.20020418}
@@ -90,7 +93,7 @@ URL:          http://www.mplayerhq.hu/
 %{?with_alsa:BuildRequires:    alsa-lib-devel}
 %{?with_arts:BuildRequires:    arts-devel}
 %{?with_dshow:BuildRequires:   libstdc++-devel}
-%{?with_gui:BuildRequires:             gtk+-devel}
+%{?with_gui:BuildRequires:             gtk+2-devel}
 %{?with_lirc:BuildRequires:    lirc-devel}
 %{?with_mad:BuildRequires:             libmad-devel}
 %{?with_vorbis:BuildRequires:  libvorbis-devel}
@@ -186,6 +189,9 @@ cp -f etc/codecs.conf etc/codecs.win32.conf
 ##%patch5 -p1  -- old home_etc behavior
 %patch6 -p1
 %patch7 -p1
+%if %{with gtk2}
+%patch8 -p1
+%endif
 
 %build
 CFLAGS="%{rpmcflags}"
This page took 0.181747 seconds and 4 git commands to generate.