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: Tue, 13 Aug 2019 06:55:23
Message-Id: 1565679316.1844c6583fd9c5e39c1c3119238f511f3b453325.jer@gentoo
1 commit: 1844c6583fd9c5e39c1c3119238f511f3b453325
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 13 06:54:59 2019 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 13 06:55:16 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1844c658
7
8 x11-misc/xlockmore: Version 5.58_alpha
9
10 Package-Manager: Portage-2.3.71, Repoman-2.3.17
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 x11-misc/xlockmore/Manifest | 1 +
14 x11-misc/xlockmore/xlockmore-5.58_alpha.ebuild | 115 +++++++++++++++++++++++++
15 2 files changed, 116 insertions(+)
16
17 diff --git a/x11-misc/xlockmore/Manifest b/x11-misc/xlockmore/Manifest
18 index 4f33ee3a57f..f3485e0889d 100644
19 --- a/x11-misc/xlockmore/Manifest
20 +++ b/x11-misc/xlockmore/Manifest
21 @@ -2,3 +2,4 @@ DIST ax_pthread.m4.xz 6356 BLAKE2B 784bfa3fcae2499230acba588cea5591f62229d721cac
22 DIST xlockmore-5.50.tar.xz 1632968 BLAKE2B 2e692d16d70e3186ec1f31c192414b286f8815f2f428a6f7f43b3de0117c51c4ad2fbdfb91debe2ecb75c8683212b5d33bee62d81374552703d578b02d3af036 SHA512 627a905c4641d6083676a766931f23c06e2ac5af9b43447ccf03143d329d24b786aac6b248318929399b5fae98f1ec17e676466b5cbd09f180377c483694c569
23 DIST xlockmore-5.56.tar.xz 1649808 BLAKE2B 82d56a3570bd1be52014503d7c0a36cf27f68aaf31fe4a7ed06159dc796dbd1410711a56fa8e72709499b1ceb3063b2acd9646ba38400669d3671d04e9fb5745 SHA512 1ae5cde5d0167897229e9cb8ebd15e26fdeadc9b0e2d221e6334980f23403385bf1adbd44a955b455e3ecdf8b02b18b0e06273d8dc566b17ac3692ee5ae44f4d
24 DIST xlockmore-5.57.tar.xz 1835880 BLAKE2B b26a9792286ded7647c816b907107b9c524ddbf46afab94c5b6b5dc5d5c918f5715c914ce4246497018bd56fd11329bcd1afe07608e44a70d24dd2c4c3d97e38 SHA512 2107efc7e1e9c811b6f86e9bb048dae3861a4e2f421b3d963856a77746834c08c5d349dc15cb3bc9b9aaf21abdc8f0e4af9463a90359b575604f3393c325400f
25 +DIST xlockmore-5.58ALPHA.tar.xz 1849660 BLAKE2B 9b4be74fb1987bb1c946e63f8cf6ee596c0c0a7af4682cffe78c0341c5d444c111478f9849ff44db3f5d7dba317bcd464e0fc1bd070b5710250da56b392e36df SHA512 0457499376294d3aa295a24e7aa6d40f0da4e2b09aaf85bd0aaa32c9b7a5f52edefab69ec2815994e476f43719ced21f6cde30bcc42f6c0f2ad60884a405c80d
26
27 diff --git a/x11-misc/xlockmore/xlockmore-5.58_alpha.ebuild b/x11-misc/xlockmore/xlockmore-5.58_alpha.ebuild
28 new file mode 100644
29 index 00000000000..360f6c9070f
30 --- /dev/null
31 +++ b/x11-misc/xlockmore/xlockmore-5.58_alpha.ebuild
32 @@ -0,0 +1,115 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +inherit autotools flag-o-matic pam
38 +
39 +DESCRIPTION="Just another screensaver application for X"
40 +HOMEPAGE="http://www.sillycycle.com/xlockmore.html"
41 +SRC_URI="
42 + http://www.sillycycle.com/xlock/${P/_alpha/ALPHA}.tar.xz
43 + https://dev.gentoo.org/~jer/ax_pthread.m4.xz
44 +"
45 +
46 +LICENSE="BSD GPL-2"
47 +SLOT="0"
48 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
49 +IUSE="crypt debug gtk imagemagick motif nas opengl pam truetype xinerama xlockrc vtlock"
50 +
51 +REQUIRED_USE="
52 + || ( crypt pam )
53 + pam? ( !xlockrc )
54 + xlockrc? ( !pam )
55 +"
56 +RDEPEND="
57 + gtk? ( x11-libs/gtk+:2 )
58 + imagemagick? ( media-gfx/imagemagick:= )
59 + motif? ( >=x11-libs/motif-2.3:0 )
60 + nas? ( media-libs/nas )
61 + opengl? (
62 + virtual/opengl
63 + virtual/glu
64 + truetype? ( >=media-libs/ftgl-2.1.3_rc5 )
65 + )
66 + pam? ( virtual/pam )
67 + truetype? ( media-libs/freetype:2 )
68 + x11-libs/libX11
69 + x11-libs/libXext
70 + x11-libs/libXmu
71 + x11-libs/libXpm
72 + x11-libs/libXt
73 + xinerama? ( x11-libs/libXinerama )
74 +"
75 +DEPEND="
76 + ${RDEPEND}
77 + virtual/pkgconfig
78 + x11-base/xorg-proto
79 +"
80 +
81 +PATCHES=(
82 + "${FILESDIR}"/${PN}-5.46-freetype261.patch
83 + "${FILESDIR}"/${PN}-5.47-CXX.patch
84 + "${FILESDIR}"/${PN}-5.47-strip.patch
85 +)
86 +S=${WORKDIR}/${P/_alpha/ALPHA}
87 +
88 +src_unpack() {
89 + unpack ${P/_alpha/ALPHA}.tar.xz
90 + xz -cd ${DISTDIR}/ax_pthread.m4.xz > ${S}/ax_pthread.m4 || die
91 +}
92 +
93 +src_prepare() {
94 + default
95 + eautoreconf
96 +}
97 +
98 +src_configure() {
99 + local myconf=()
100 +
101 + if use opengl && use truetype; then
102 + myconf=( --with-ftgl )
103 + append-flags -DFTGL213
104 + else
105 + myconf=( --without-ftgl )
106 + fi
107 +
108 + myconf+=(
109 + $(use_enable pam)
110 + $(use_enable xlockrc)
111 + $(use_enable vtlock)
112 + $(use_with crypt)
113 + $(use_with debug editres)
114 + $(use_with gtk gtk2)
115 + $(use_with imagemagick magick)
116 + $(use_with motif)
117 + $(use_with nas)
118 + $(use_with opengl mesa)
119 + $(use_with opengl)
120 + $(use_with truetype freetype)
121 + $(use_with truetype ttf)
122 + $(use_with xinerama)
123 + --disable-mb
124 + --enable-appdefaultdir=/usr/share/X11/app-defaults
125 + --enable-syslog
126 + --enable-vtlock
127 + --without-esound
128 + --without-gtk
129 + )
130 + econf "${myconf[@]}"
131 +}
132 +
133 +src_install() {
134 + local DOCS=( README docs/{3d.howto,cell_automata,HACKERS.GUIDE,Purify,Revisions,TODO} )
135 + default
136 +
137 + pamd_mimic_system xlock auth
138 +
139 + if use pam; then
140 + fperms 755 /usr/bin/xlock
141 + else
142 + fperms 4755 /usr/bin/xlock
143 + fi
144 +
145 + docinto html
146 + dodoc docs/xlock.html
147 +}