From: | "Stuart Longland (redhatter)" <redhatter@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-sound/alsaplayer/files: alsaplayer-0.99.80-enable-libid3tag.patch |
Date: | Sun, 01 Mar 2009 09:39:41 |
Message-Id: | E1Ldi95-0008VI-V5@stork.gentoo.org |
1 | redhatter 09/03/01 09:39:39 |
2 | |
3 | Added: alsaplayer-0.99.80-enable-libid3tag.patch |
4 | Log: |
5 | Add id3tag USE flag to alsaplayer (and patch configure.ac accordingly). Resolves bug #210163. |
6 | (Portage version: 2.1.6.7/cvs/Linux mips64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 media-sound/alsaplayer/files/alsaplayer-0.99.80-enable-libid3tag.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsaplayer/files/alsaplayer-0.99.80-enable-libid3tag.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alsaplayer/files/alsaplayer-0.99.80-enable-libid3tag.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: alsaplayer-0.99.80-enable-libid3tag.patch |
15 | =================================================================== |
16 | --- alsaplayer-0.99.80/configure.ac 2007-11-04 06:15:35.000000000 +1000 |
17 | +++ alsaplayer-0.99.80.new/configure.ac 2009-03-01 17:25:22.344483528 +1000 |
18 | @@ -292,6 +292,16 @@ |
19 | |
20 | AC_CHECK_LIB(id3tag, id3_file_open, |
21 | FLC_LDADD="$FLC_LDADD -lid3tag -lz"; use_libid3tag=yes; AC_DEFINE(HAVE_LIBID3TAG, 1, [Define if you have libid3tag library (-lid3tag)]), use_libid3tag=no) |
22 | +AC_ARG_ENABLE(id3tag, |
23 | +[ --enable-id3tag Enable libid3tag support (default=yes)], |
24 | +[if test "$enableval" = "no" |
25 | +then |
26 | + if test "$use_libid3tag" = "yes" |
27 | + then |
28 | + use_libid3tag=no |
29 | + fi |
30 | +fi]) |
31 | + |
32 | |
33 | CFLAGS=$oldcflags |