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: Thu, 20 Jul 2017 06:41:53
Message-Id: 1500532899.233d10576491c3c3bfc1228606715e92ff338707.jer@gentoo
1 commit: 233d10576491c3c3bfc1228606715e92ff338707
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 20 06:39:37 2017 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 20 06:41:39 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=233d1057
7
8 x11-misc/xlockmore: Version bump.
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11
12 x11-misc/xlockmore/Manifest | 1 +
13 x11-misc/xlockmore/xlockmore-5.55_alpha.ebuild | 107 +++++++++++++++++++++++++
14 2 files changed, 108 insertions(+)
15
16 diff --git a/x11-misc/xlockmore/Manifest b/x11-misc/xlockmore/Manifest
17 index 2d9c262c03d..95c44bac062 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.53.tar.xz 1621432 SHA256 4973659c3b1d9747e79e29f3e5a5d04f3a0cb36f35ba88507c69be2e04db4967 SHA512 5a03a6f444e34e1f677c14ae91f77d8cbac3abab9b25278cb00094e79d4ee8e34b593367f828fe3e9687a5dca952ebb14b3d29e3e73279530543f1963b41e5b6 WHIRLPOOL cae78aa0d02b6b449c909dfa56a6ba47469a7af0b07fad2859eb805c542e91b3a2143d09ec771d4a39271063b3f149ddee7f3f4397896089257d280929f806a7
23 DIST xlockmore-5.54.tar.xz 1647652 SHA256 9f4facb9721cc01450db0c11ffecd26a739b046e425e02628831a66080a0af55 SHA512 027a750d8fb9d17619441a8f76456614e0b91b4963a80810e24d4aff46a8c3217464347b0910c00ce54c25ab6678159dec3c3ea60ee61f7624015950590d7f5d WHIRLPOOL 7640aa4ca3ac1c9e152a0b6d7491a03c404aadbad523199e8a8015359ee86b8185fd522a4809d604195980b804131931734211cb2c7ef748caaa0460dd46faba
24 +DIST xlockmore-5.55ALPHA.tar.xz 1647904 SHA256 c7773535b000a0a12245bf5579619e9d29aaea5b9af0aec09a2adeebfb91d8e0 SHA512 ff3c9c1897f9ba5ab6eaf507fab595004cfecf20dd05d4264be0765b8fa78dd4b61add1362e3f509401b6f8e4d6daf13c6aeb1c375060ed14921564a0a819e5e WHIRLPOOL 76ae33b7f6d31968d676082c730d260bfd3c93fdbea3d61209a3944b32ae596d57db445a16c2a0a629645de4c37c95d0259c8af4df23b34164fc55778f9fdc8d
25
26 diff --git a/x11-misc/xlockmore/xlockmore-5.55_alpha.ebuild b/x11-misc/xlockmore/xlockmore-5.55_alpha.ebuild
27 new file mode 100644
28 index 00000000000..1cfdbd5a51e
29 --- /dev/null
30 +++ b/x11-misc/xlockmore/xlockmore-5.55_alpha.ebuild
31 @@ -0,0 +1,107 @@
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/_alpha/ALPHA}.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 +S=${WORKDIR}/${P/_alpha/ALPHA}
83 +
84 +src_prepare() {
85 + default
86 + eautoreconf
87 +}
88 +
89 +src_configure() {
90 + local myconf=()
91 +
92 + if use opengl && use truetype; then
93 + myconf=( --with-ftgl )
94 + append-flags -DFTGL213
95 + else
96 + myconf=( --without-ftgl )
97 + fi
98 +
99 + myconf+=(
100 + $(use_enable pam)
101 + $(use_enable xlockrc)
102 + $(use_enable vtlock)
103 + $(use_with crypt)
104 + $(use_with debug editres)
105 + $(use_with gtk gtk2)
106 + $(use_with imagemagick magick)
107 + $(use_with motif)
108 + $(use_with nas)
109 + $(use_with opengl mesa)
110 + $(use_with opengl)
111 + $(use_with truetype freetype)
112 + $(use_with truetype ttf)
113 + $(use_with xinerama)
114 + --disable-mb
115 + --enable-appdefaultdir=/usr/share/X11/app-defaults
116 + --enable-syslog
117 + --enable-vtlock
118 + --without-esound
119 + --without-gtk
120 + )
121 + econf "${myconf[@]}"
122 +}
123 +
124 +src_install() {
125 + local DOCS=( README docs/{3d.howto,cell_automata,HACKERS.GUIDE,Purify,Revisions,TODO} )
126 + default
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 + docinto html
137 + dodoc docs/xlock.html
138 +}