Gentoo Archives: gentoo-commits

From: "Markos Chandras (hwoarang)" <hwoarang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/xlockmore: ChangeLog xlockmore-5.31.ebuild
Date: Tue, 29 Jun 2010 19:34:53
Message-Id: 20100629193449.3BCA82C3ED@corvid.gentoo.org
1 hwoarang 10/06/29 19:34:49
2
3 Modified: ChangeLog
4 Added: xlockmore-5.31.ebuild
5 Log:
6 Version bump to 5.31. Use patch to respect ldflags
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.83 x11-misc/xlockmore/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xlockmore/ChangeLog?rev=1.83&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xlockmore/ChangeLog?rev=1.83&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xlockmore/ChangeLog?r1=1.82&r2=1.83
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-misc/xlockmore/ChangeLog,v
19 retrieving revision 1.82
20 retrieving revision 1.83
21 diff -u -r1.82 -r1.83
22 --- ChangeLog 14 Feb 2010 15:43:49 -0000 1.82
23 +++ ChangeLog 29 Jun 2010 19:34:49 -0000 1.83
24 @@ -1,6 +1,13 @@
25 # ChangeLog for x11-misc/xlockmore
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xlockmore/ChangeLog,v 1.82 2010/02/14 15:43:49 ssuominen Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xlockmore/ChangeLog,v 1.83 2010/06/29 19:34:49 hwoarang Exp $
29 +
30 +*xlockmore-5.31 (29 Jun 2010)
31 +
32 + 29 Jun 2010; Markos Chandras <hwoarang@g.o> +xlockmore-5.31.ebuild,
33 + +files/xlockmore-5.31-configure.in.patch,
34 + +files/xlockmore-5.31-ldflags.patch:
35 + Version bump to 5.31. Use patch to respect ldflags
36
37 14 Feb 2010; Samuli Suominen <ssuominen@g.o>
38 xlockmore-5.29.1.ebuild, +files/xlockmore-5.29.1-configure.in.patch:
39
40
41
42 1.1 x11-misc/xlockmore/xlockmore-5.31.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xlockmore/xlockmore-5.31.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xlockmore/xlockmore-5.31.ebuild?rev=1.1&content-type=text/plain
46
47 Index: xlockmore-5.31.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/x11-misc/xlockmore/xlockmore-5.31.ebuild,v 1.1 2010/06/29 19:34:49 hwoarang Exp $
52
53 EAPI=2
54 inherit autotools eutils flag-o-matic pam
55
56 DESCRIPTION="Just another screensaver application for X"
57 HOMEPAGE="http://www.tux.org/~bagleyd/xlockmore.html"
58 SRC_URI="http://ftp.tux.org/pub/tux/bagleyd/${PN}/${P}/${P}.tar.bz2"
59
60 LICENSE="BSD GPL-2"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
63 IUSE="crypt debug esd gtk motif nas opengl pam truetype xinerama xlockrc X"
64
65 RDEPEND="x11-libs/libX11
66 x11-libs/libXext
67 x11-libs/libXpm
68 x11-libs/libXt
69 x11-libs/libXmu
70 opengl? ( media-libs/mesa
71 truetype? ( >=media-libs/ftgl-2.1.3_rc5 ) )
72 truetype? ( media-libs/freetype:2 )
73 pam? ( virtual/pam )
74 nas? ( media-libs/nas )
75 esd? ( media-sound/esound )
76 motif? ( x11-libs/openmotif )
77 gtk? ( x11-libs/gtk+:2 )
78 xinerama? ( x11-libs/libXinerama )"
79 DEPEND="${RDEPEND}
80 dev-util/pkgconfig
81 x11-proto/xineramaproto"
82
83 MAKEOPTS="${MAKEOPTS} -j1"
84
85 src_prepare() {
86 epatch "${FILESDIR}"/${P}-configure.in.patch
87 epatch "${FILESDIR}"/${P}-ldflags.patch
88 eautoreconf
89 }
90
91 src_configure() {
92 local myconf=""
93
94 if use opengl && use truetype; then
95 myconf="${myconf} --with-ftgl"
96 append-flags -DFTGL213
97 else
98 myconf="${myconf} --without-ftgl"
99 fi
100
101 econf \
102 --enable-vtlock \
103 --enable-syslog \
104 $(use_enable xlockrc) \
105 $(use_enable pam) \
106 --disable-use-mb \
107 --enable-appdefaultdir=/usr/share/X11/app-defaults \
108 $(use_with motif) \
109 $(use_with debug editres) \
110 $(use_with truetype ttf) \
111 $(use_with truetype freetype) \
112 $(use_with opengl) \
113 $(use_with opengl mesa) \
114 $(use_with xinerama) \
115 $(use_with esd esound) \
116 $(use_with nas) \
117 $(use_with crypt) \
118 $(use_with gtk gtk2) \
119 --without-gtk \
120 ${myconf}
121 }
122
123 src_install() {
124 einstall xapploaddir="${D}/usr/share/X11/app-defaults" \
125 mandir="${D}/usr/share/man/man1" INSTPGMFLAGS="" \
126 || die "einstall failed"
127
128 pamd_mimic_system xlock auth
129
130 if use pam; then
131 fperms 755 /usr/bin/xlock
132 else
133 fperms 4755 /usr/bin/xlock
134 fi
135
136 dohtml docs/xlock.html
137 dodoc README docs/{3d.howto,cell_automata,HACKERS.GUIDE,Purify,Revisions,TODO}
138 }