/[gentoo-x86]/media-sound/mp3splt-gtk/files/mp3splt-gtk-0.7.0.930-gtk.patch
Gentoo

Contents of /media-sound/mp3splt-gtk/files/mp3splt-gtk-0.7.0.930-gtk.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Sep 23 21:26:49 2011 UTC (6 years, 8 months ago) by sping
Branch: MAIN
CVS Tags: HEAD
media-sound/mp3splt-gtk: 0.7.0.930

(Portage version: 2.1.10.19/cvs/Linux x86_64)

1 From bb1c3cb3ffd1081d56e48d87ab05d31ad05d89de Mon Sep 17 00:00:00 2001
2 From: Sebastian Pipping <sebastian@pipping.org>
3 Date: Fri, 23 Sep 2011 23:09:47 +0200
4 Subject: [PATCH] Allow specifying a specific slot of GTK
5
6 ---
7 configure.ac | 18 +++++++++++++-----
8 1 files changed, 13 insertions(+), 5 deletions(-)
9
10 diff --git a/configure.ac b/configure.ac
11 index 2157019..fbcadcf 100644
12 --- a/configure.ac
13 +++ b/configure.ac
14 @@ -150,14 +150,22 @@ fi
15
16 #################################################
17 #Check for GTK
18 -ifdef([AM_PATH_GTK_3_0],
19 -[
20 +AC_ARG_ENABLE(gtk3, [
21 +AC_HELP_STRING([--enable-gtk3], [Compile against GTK 3.x explicitly (default: use GTK 3.x if available)])
22 +AC_HELP_STRING([--disable-gtk3], [Compile against GTK 2.x explicitly (default: use GTK 3.x if available)])],
23 + [enable_gtk3=$enableval],[enable_gtk3="auto"])
24 +
25 +if test "x$enable_gtk3" = xauto; then
26 + AC_MSG_NOTICE([selecting GTK 2.x/3.x automatically])
27 + ifdef([AM_PATH_GTK_3_0],[enable_gtk3=yes],[enable_gtk3=no])
28 +fi
29 +
30 +if test "x$enable_gtk3" = xyes; then
31 CFLAGS="$CFLAGS -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE"
32 AM_PATH_GTK_3_0(3.0.0,,AC_MSG_ERROR(mp3splt-gtk needs GTK+ >= 3.0.0))
33 -],
34 -[
35 +else
36 AM_PATH_GTK_2_0(2.20.0,,AC_MSG_ERROR(mp3splt-gtk needs GTK+ >= 2.20.0))
37 -])
38 +fi
39
40 #################################################
41 #Check for libmp3splt
42 --
43 1.7.6.1
44

  ViewVC Help
Powered by ViewVC 1.1.20