Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-misc/xlockmore: xlockmore-5.34.ebuild ChangeLog
Date: Mon, 01 Aug 2011 23:03:09
Message-Id: 20110801230259.42FA62004C@flycatcher.gentoo.org
1 jer 11/08/01 23:02:59
2
3 Modified: ChangeLog
4 Added: xlockmore-5.34.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha49/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.93 x11-misc/xlockmore/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xlockmore/ChangeLog?rev=1.93&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xlockmore/ChangeLog?rev=1.93&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xlockmore/ChangeLog?r1=1.92&r2=1.93
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-misc/xlockmore/ChangeLog,v
20 retrieving revision 1.92
21 retrieving revision 1.93
22 diff -u -r1.92 -r1.93
23 --- ChangeLog 27 May 2011 11:36:01 -0000 1.92
24 +++ ChangeLog 1 Aug 2011 23:02:59 -0000 1.93
25 @@ -1,6 +1,11 @@
26 # ChangeLog for x11-misc/xlockmore
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xlockmore/ChangeLog,v 1.92 2011/05/27 11:36:01 xmw Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xlockmore/ChangeLog,v 1.93 2011/08/01 23:02:59 jer Exp $
30 +
31 +*xlockmore-5.34 (01 Aug 2011)
32 +
33 + 01 Aug 2011; Jeroen Roovers <jer@g.o> +xlockmore-5.34.ebuild:
34 + Version bump.
35
36 27 May 2011; Michael Weber <xmw@g.o> xlockmore-5.31.ebuild:
37 added ~arm keyword (bug 368715)
38
39
40
41 1.1 x11-misc/xlockmore/xlockmore-5.34.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xlockmore/xlockmore-5.34.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xlockmore/xlockmore-5.34.ebuild?rev=1.1&content-type=text/plain
45
46 Index: xlockmore-5.34.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/x11-misc/xlockmore/xlockmore-5.34.ebuild,v 1.1 2011/08/01 23:02:59 jer Exp $
51
52 EAPI=2
53 inherit autotools eutils flag-o-matic pam
54
55 DESCRIPTION="Just another screensaver application for X"
56 HOMEPAGE="http://www.tux.org/~bagleyd/xlockmore.html"
57 SRC_URI="http://ftp.tux.org/pub/tux/bagleyd/${PN}/${P}/${P}.tar.bz2"
58
59 LICENSE="BSD GPL-2"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
62 IUSE="crypt debug esd gtk motif nas opengl pam truetype xinerama xlockrc"
63
64 RDEPEND="x11-libs/libX11
65 x11-libs/libXext
66 x11-libs/libXpm
67 x11-libs/libXt
68 x11-libs/libXmu
69 opengl? ( media-libs/mesa
70 truetype? ( >=media-libs/ftgl-2.1.3_rc5 ) )
71 truetype? ( media-libs/freetype:2 )
72 pam? ( virtual/pam )
73 nas? ( media-libs/nas )
74 esd? ( media-sound/esound )
75 motif? ( >=x11-libs/openmotif-2.3:0 )
76 gtk? ( x11-libs/gtk+:2 )
77 xinerama? ( x11-libs/libXinerama )"
78 DEPEND="${RDEPEND}
79 dev-util/pkgconfig
80 x11-proto/xineramaproto"
81
82 MAKEOPTS="${MAKEOPTS} -j1"
83
84 src_prepare() {
85 epatch \
86 "${FILESDIR}"/${PN}-5.31-configure.in.patch \
87 "${FILESDIR}"/${PN}-5.31-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 }