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: ChangeLog xlockmore-5.38.ebuild
Date: Tue, 31 Jan 2012 22:47:09
Message-Id: 20120131224700.79BA12004B@flycatcher.gentoo.org
1 jer 12/01/31 22:47:00
2
3 Modified: ChangeLog
4 Added: xlockmore-5.38.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.100 x11-misc/xlockmore/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xlockmore/ChangeLog?rev=1.100&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xlockmore/ChangeLog?rev=1.100&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xlockmore/ChangeLog?r1=1.99&r2=1.100
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-misc/xlockmore/ChangeLog,v
20 retrieving revision 1.99
21 retrieving revision 1.100
22 diff -u -r1.99 -r1.100
23 --- ChangeLog 8 Jan 2012 14:27:55 -0000 1.99
24 +++ ChangeLog 31 Jan 2012 22:47:00 -0000 1.100
25 @@ -1,6 +1,11 @@
26 # ChangeLog for x11-misc/xlockmore
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xlockmore/ChangeLog,v 1.99 2012/01/08 14:27:55 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xlockmore/ChangeLog,v 1.100 2012/01/31 22:47:00 jer Exp $
30 +
31 +*xlockmore-5.38 (31 Jan 2012)
32 +
33 + 31 Jan 2012; Jeroen Roovers <jer@g.o> +xlockmore-5.38.ebuild:
34 + Version bump.
35
36 08 Jan 2012; Samuli Suominen <ssuominen@g.o> xlockmore-5.31.ebuild,
37 xlockmore-5.37.ebuild:
38
39
40
41 1.1 x11-misc/xlockmore/xlockmore-5.38.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xlockmore/xlockmore-5.38.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xlockmore/xlockmore-5.38.ebuild?rev=1.1&content-type=text/plain
45
46 Index: xlockmore-5.38.ebuild
47 ===================================================================
48 # Copyright 1999-2012 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.38.ebuild,v 1.1 2012/01/31 22:47:00 jer Exp $
51
52 EAPI=4
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 gtk imagemagick motif nas opengl pam truetype xinerama xlockrc"
63
64 RDEPEND="x11-libs/libX11
65 x11-libs/libXext
66 x11-libs/libXmu
67 x11-libs/libXpm
68 x11-libs/libXt
69 gtk? ( x11-libs/gtk+:2 )
70 imagemagick? ( media-gfx/imagemagick )
71 motif? ( >=x11-libs/openmotif-2.3:0 )
72 nas? ( media-libs/nas )
73 opengl? (
74 media-libs/mesa
75 truetype? ( >=media-libs/ftgl-2.1.3_rc5 )
76 )
77 pam? ( virtual/pam )
78 truetype? ( media-libs/freetype:2 )
79 xinerama? ( x11-libs/libXinerama )"
80 DEPEND="${RDEPEND}
81 dev-util/pkgconfig
82 x11-proto/xineramaproto"
83
84 MAKEOPTS="${MAKEOPTS} -j1"
85
86 src_prepare() {
87 epatch \
88 "${FILESDIR}"/${PN}-5.31-configure.in.patch \
89 "${FILESDIR}"/${PN}-5.31-ldflags.patch
90
91 eautoreconf
92 }
93
94 src_configure() {
95 local myconf=""
96
97 if use opengl && use truetype; then
98 myconf="${myconf} --with-ftgl"
99 append-flags -DFTGL213
100 else
101 myconf="${myconf} --without-ftgl"
102 fi
103
104 econf \
105 --enable-vtlock \
106 --enable-syslog \
107 $(use_enable xlockrc) \
108 $(use_enable pam) \
109 --disable-use-mb \
110 --enable-appdefaultdir=/usr/share/X11/app-defaults \
111 $(use_with motif) \
112 $(use_with imagemagick magick) \
113 $(use_with debug editres) \
114 $(use_with truetype ttf) \
115 $(use_with truetype freetype) \
116 $(use_with opengl) \
117 $(use_with opengl mesa) \
118 $(use_with xinerama) \
119 --without-esound \
120 $(use_with nas) \
121 $(use_with crypt) \
122 $(use_with gtk gtk2) \
123 --without-gtk \
124 ${myconf}
125 }
126
127 src_install() {
128 einstall xapploaddir="${D}/usr/share/X11/app-defaults" \
129 mandir="${D}/usr/share/man/man1" INSTPGMFLAGS=""
130
131 pamd_mimic_system xlock auth
132
133 if use pam; then
134 fperms 755 /usr/bin/xlock
135 else
136 fperms 4755 /usr/bin/xlock
137 fi
138
139 dohtml docs/xlock.html
140 dodoc README docs/{3d.howto,cell_automata,HACKERS.GUIDE,Purify,Revisions,TODO}
141 }