Gentoo Archives: gentoo-dev

From: Donnie Berkholz <dberkholz@g.o>
To: gentoo-dev@l.g.o, beandog@g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in media-video/mplayer: ChangeLog mplayer-1.0_rc1_p20070927.ebuild
Date: Sat, 29 Sep 2007 04:27:51
Message-Id: 20070929041622.GD24088@supernova
1 On 15:35 Thu 27 Sep , Steve Dibb (beandog) wrote:
2 > beandog 07/09/27 15:35:24
3 >
4 > Modified: ChangeLog
5 > Added: mplayer-1.0_rc1_p20070927.ebuild
6 > Log:
7 > Subversion bump, install a52 by default with dvd use flag, switch xvmc linking back to generic lib
8 > (Portage version: 2.1.3.9)
9
10 > 1.1 media-video/mplayer/mplayer-1.0_rc1_p20070927.ebuild
11 >
12 > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/mplayer/mplayer-1.0_rc1_p20070927.ebuild?rev=1.1&view=markup
13 > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/mplayer/mplayer-1.0_rc1_p20070927.ebuild?rev=1.1&content-type=text/plain
14
15 > # DVB / Video4Linux / Radio support
16 > if ( use dvb || use v4l || use v4l2 || use radio ); then
17
18 There's no reason to use a subshell here.
19
20 > if ( use dvb || use v4l || use v4l2 ) && use radio; then
21
22 Same here, although I might switch the logic around so 'use radio' is
23 first.
24
25 > if [ -e /dev/.devfsd ]; then
26
27 Dependence on the build system is bad.
28
29 > echo "${myconf}" > ${T}/configure-options
30
31 Quotes on T.
32
33 > make prefix=${D}/usr \
34 > BINDIR=${D}/usr/bin \
35 > LIBDIR=${D}/usr/$(get_libdir) \
36 > CONFDIR=${D}/etc/mplayer \
37 > DATADIR=${D}/usr/share/mplayer \
38 > MANDIR=${D}/usr/share/man \
39 > install || die "Failed to install MPlayer!"
40
41 emake broken here? Also needs quotes on D.
42
43 > if [ -d ${ROOT}/usr/share/mplayer/Skin/default ]
44
45 This needs quotes or double brackets.
46
47 > if [ -L ${ROOT}/usr/share/mplayer/font -a \
48 > ! -e ${ROOT}/usr/share/mplayer/font ]
49 > then
50 > rm -f ${ROOT}/usr/share/mplayer/font
51 > fi
52 >
53 > if [ -L ${ROOT}/usr/share/mplayer/subfont.ttf -a \
54 > ! -e ${ROOT}/usr/share/mplayer/subfont.ttf ]
55 > then
56 > rm -f ${ROOT}/usr/share/mplayer/subfont.ttf
57
58 Quotes here too.
59
60 Thanks,
61 Donnie
62 --
63 gentoo-dev@g.o mailing list