Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xlockmore/
Date: Sun, 04 Jun 2017 21:32:39
Message-Id: 1496611754.b9f2a20c36b90e0c9911a0b1f680d92056b1b58d.jer@gentoo
1 commit: b9f2a20c36b90e0c9911a0b1f680d92056b1b58d
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 4 21:29:14 2017 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 4 21:29:14 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9f2a20c
7
8 x11-misc/xlockmore: Version bump.
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 x11-misc/xlockmore/Manifest | 1 +
13 x11-misc/xlockmore/xlockmore-5.54.ebuild | 106 +++++++++++++++++++++++++++++++
14 2 files changed, 107 insertions(+)
15
16 diff --git a/x11-misc/xlockmore/Manifest b/x11-misc/xlockmore/Manifest
17 index ee3c6c193e0..28f419f9846 100644
18 --- a/x11-misc/xlockmore/Manifest
19 +++ b/x11-misc/xlockmore/Manifest
20 @@ -2,3 +2,4 @@ DIST xlockmore-5.47.tar.xz 1610604 SHA256 94e3adee284eec09dc27405bfc24651446e8c6
21 DIST xlockmore-5.50.tar.xz 1632968 SHA256 635f72df44589d028200acf604093959968a7e19f79c4363a76599615f563a29 SHA512 627a905c4641d6083676a766931f23c06e2ac5af9b43447ccf03143d329d24b786aac6b248318929399b5fae98f1ec17e676466b5cbd09f180377c483694c569 WHIRLPOOL 2485b7805632581077554b7f2e460d94c0c094d7470e26550e8f32fb4d794ea4c2a111403542d9c07560cf0a0b2e8076cdc789336d09f3798827546ed68b8451
22 DIST xlockmore-5.52.tar.xz 1621284 SHA256 dd7898829e29525536b146a136aa8bef0cd75706fbc4b60885f5b2e48305944d SHA512 46eb07cf95577059a6c8bfc3ba4d0540fd4e23f84469b1b20ce2926d5c210032d98d8082e780600c5777d875e5875b1d7427947c29a5625dcb4c40b2d9234adc WHIRLPOOL cb73164419147c18bfedee6b3f22cae033f4c2b8d031efad37cf7b4df9dba15912aef77e6e1ad14a396d71582a9bb89ffddca029cc723877c0e260a8d333aec2
23 DIST xlockmore-5.53.tar.xz 1621432 SHA256 4973659c3b1d9747e79e29f3e5a5d04f3a0cb36f35ba88507c69be2e04db4967 SHA512 5a03a6f444e34e1f677c14ae91f77d8cbac3abab9b25278cb00094e79d4ee8e34b593367f828fe3e9687a5dca952ebb14b3d29e3e73279530543f1963b41e5b6 WHIRLPOOL cae78aa0d02b6b449c909dfa56a6ba47469a7af0b07fad2859eb805c542e91b3a2143d09ec771d4a39271063b3f149ddee7f3f4397896089257d280929f806a7
24 +DIST xlockmore-5.54.tar.xz 1647652 SHA256 9f4facb9721cc01450db0c11ffecd26a739b046e425e02628831a66080a0af55 SHA512 027a750d8fb9d17619441a8f76456614e0b91b4963a80810e24d4aff46a8c3217464347b0910c00ce54c25ab6678159dec3c3ea60ee61f7624015950590d7f5d WHIRLPOOL 7640aa4ca3ac1c9e152a0b6d7491a03c404aadbad523199e8a8015359ee86b8185fd522a4809d604195980b804131931734211cb2c7ef748caaa0460dd46faba
25
26 diff --git a/x11-misc/xlockmore/xlockmore-5.54.ebuild b/x11-misc/xlockmore/xlockmore-5.54.ebuild
27 new file mode 100644
28 index 00000000000..c5181b227ac
29 --- /dev/null
30 +++ b/x11-misc/xlockmore/xlockmore-5.54.ebuild
31 @@ -0,0 +1,106 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +inherit autotools eutils flag-o-matic pam
37 +
38 +DESCRIPTION="Just another screensaver application for X"
39 +HOMEPAGE="http://www.sillycycle.com/xlockmore.html"
40 +SRC_URI="http://www.sillycycle.com/xlock/${P}.tar.xz"
41 +
42 +LICENSE="BSD GPL-2"
43 +SLOT="0"
44 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
45 +IUSE="crypt debug gtk imagemagick motif nas opengl pam truetype xinerama xlockrc vtlock"
46 +
47 +REQUIRED_USE="
48 + || ( crypt pam )
49 + pam? ( !xlockrc )
50 + xlockrc? ( !pam )
51 +"
52 +RDEPEND="
53 + gtk? ( x11-libs/gtk+:2 )
54 + imagemagick? ( media-gfx/imagemagick:= )
55 + motif? ( >=x11-libs/motif-2.3:0 )
56 + nas? ( media-libs/nas )
57 + opengl? (
58 + virtual/opengl
59 + virtual/glu
60 + truetype? ( >=media-libs/ftgl-2.1.3_rc5 )
61 + )
62 + pam? ( virtual/pam )
63 + truetype? ( media-libs/freetype:2 )
64 + x11-libs/libX11
65 + x11-libs/libXext
66 + x11-libs/libXmu
67 + x11-libs/libXpm
68 + x11-libs/libXt
69 + xinerama? ( x11-libs/libXinerama )
70 +"
71 +DEPEND="
72 + ${RDEPEND}
73 + virtual/pkgconfig
74 + x11-proto/xineramaproto
75 +"
76 +
77 +PATCHES=(
78 + "${FILESDIR}"/${PN}-5.46-freetype261.patch
79 + "${FILESDIR}"/${PN}-5.47-CXX.patch
80 + "${FILESDIR}"/${PN}-5.47-strip.patch
81 +)
82 +
83 +src_prepare() {
84 + default
85 + eautoreconf
86 +}
87 +
88 +src_configure() {
89 + local myconf=()
90 +
91 + if use opengl && use truetype; then
92 + myconf=( --with-ftgl )
93 + append-flags -DFTGL213
94 + else
95 + myconf=( --without-ftgl )
96 + fi
97 +
98 + myconf+=(
99 + $(use_enable pam)
100 + $(use_enable xlockrc)
101 + $(use_enable vtlock)
102 + $(use_with crypt)
103 + $(use_with debug editres)
104 + $(use_with gtk gtk2)
105 + $(use_with imagemagick magick)
106 + $(use_with motif)
107 + $(use_with nas)
108 + $(use_with opengl mesa)
109 + $(use_with opengl)
110 + $(use_with truetype freetype)
111 + $(use_with truetype ttf)
112 + $(use_with xinerama)
113 + --disable-mb
114 + --enable-appdefaultdir=/usr/share/X11/app-defaults
115 + --enable-syslog
116 + --enable-vtlock
117 + --without-esound
118 + --without-gtk
119 + )
120 + econf "${myconf[@]}"
121 +}
122 +
123 +src_install() {
124 + local DOCS=( README docs/{3d.howto,cell_automata,HACKERS.GUIDE,Purify,Revisions,TODO} )
125 + default
126 +
127 + pamd_mimic_system xlock auth
128 +
129 + if use pam; then
130 + fperms 755 /usr/bin/xlock
131 + else
132 + fperms 4755 /usr/bin/xlock
133 + fi
134 +
135 + docinto html
136 + dodoc docs/xlock.html
137 +}