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, 02 Feb 2020 19:37:59
Message-Id: 1580672274.92c79f9b3ca51af2f91c4ac55dadcf757040f67e.jer@gentoo
1 commit: 92c79f9b3ca51af2f91c4ac55dadcf757040f67e
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 2 19:37:17 2020 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 2 19:37:54 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92c79f9b
7
8 x11-misc/xlockmore: Version 5.62_alpha0
9
10 Package-Manager: Portage-2.3.87, Repoman-2.3.20
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 x11-misc/xlockmore/Manifest | 1 +
14 x11-misc/xlockmore/xlockmore-5.62_alpha0.ebuild | 109 ++++++++++++++++++++++++
15 2 files changed, 110 insertions(+)
16
17 diff --git a/x11-misc/xlockmore/Manifest b/x11-misc/xlockmore/Manifest
18 index 6e41fd01637..93fd14a3bd0 100644
19 --- a/x11-misc/xlockmore/Manifest
20 +++ b/x11-misc/xlockmore/Manifest
21 @@ -1,3 +1,4 @@
22 DIST xlockmore-5.50.tar.xz 1632968 BLAKE2B 2e692d16d70e3186ec1f31c192414b286f8815f2f428a6f7f43b3de0117c51c4ad2fbdfb91debe2ecb75c8683212b5d33bee62d81374552703d578b02d3af036 SHA512 627a905c4641d6083676a766931f23c06e2ac5af9b43447ccf03143d329d24b786aac6b248318929399b5fae98f1ec17e676466b5cbd09f180377c483694c569
23 DIST xlockmore-5.59.tar.xz 1935296 BLAKE2B 3a7027dad227179dfe3917108f8960a751cc16481fef541e80c656f99832de6d203cad1815f0f31f66aa2338d06035a99dce18664af2bc0b8e4610ef25339d20 SHA512 02758869ba597ef32ed1e594fa88141644264bbbc8edfe9ae8742a4508fa3e38d059c9ffbb9fa9bcc323b92e1763f96c8b6d054494849df465a08bc6be71bf33
24 DIST xlockmore-5.61.tar.xz 1936312 BLAKE2B f4d12f1dbd5da1d8cef16690e393fdd9ba4162722398c8239c0091f2cd46cc3f401c1a62ed1910bf37fc0d98f0bf0723ca9003caf507e3d8a6a83f7b51228f35 SHA512 be64b3dc22f1c0c310ed4a085fcaf9f7ed96c5d2a97f3359966201df54fc5acfc3e5d94cb0616a28a217e0cc6954f9a519198c238e40202263a7c03438771a7d
25 +DIST xlockmore-5.62ALPHA0.tar.xz 1942228 BLAKE2B 3b40c3d7c29a4e285dca7b6ade8555f0946872c65920be691cff859558abd825709d5adf9b9abc95bede94a6905845910562552734817711a8e3d1dc99bb2f7e SHA512 095a5d9e382ea61f77d5888fe2e38b216991e47cbe9e9739a4ccd06a8e7992284bd2ec85d73ea3a1ed07e57e3fa29938732f813360db2d146efa9e21fecac7d0
26
27 diff --git a/x11-misc/xlockmore/xlockmore-5.62_alpha0.ebuild b/x11-misc/xlockmore/xlockmore-5.62_alpha0.ebuild
28 new file mode 100644
29 index 00000000000..b993e74bcdd
30 --- /dev/null
31 +++ b/x11-misc/xlockmore/xlockmore-5.62_alpha0.ebuild
32 @@ -0,0 +1,109 @@
33 +# Copyright 1999-2020 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="https://www.sillycycle.com/xlockmore.html"
41 +SRC_URI="
42 + https://www.sillycycle.com/xlock/${P/_alpha/ALPHA}.tar.xz
43 +"
44 +
45 +LICENSE="BSD GPL-2"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
48 +IUSE="crypt debug gtk imagemagick motif nas opengl pam truetype xinerama xlockrc vtlock"
49 +
50 +REQUIRED_USE="
51 + || ( crypt pam )
52 + pam? ( !xlockrc )
53 + xlockrc? ( !pam )
54 +"
55 +RDEPEND="
56 + gtk? ( x11-libs/gtk+:2 )
57 + imagemagick? ( media-gfx/imagemagick:= )
58 + motif? ( >=x11-libs/motif-2.3:0 )
59 + nas? ( media-libs/nas )
60 + opengl? (
61 + virtual/opengl
62 + virtual/glu
63 + truetype? ( >=media-libs/ftgl-2.1.3_rc5 )
64 + )
65 + pam? ( sys-libs/pam )
66 + truetype? ( media-libs/freetype:2 )
67 + x11-libs/libX11
68 + x11-libs/libXext
69 + x11-libs/libXmu
70 + x11-libs/libXpm
71 + x11-libs/libXt
72 + xinerama? ( x11-libs/libXinerama )
73 +"
74 +DEPEND="
75 + ${RDEPEND}
76 + virtual/pkgconfig
77 + x11-base/xorg-proto
78 +"
79 +
80 +PATCHES=(
81 + "${FILESDIR}"/${PN}-5.46-freetype261.patch
82 + "${FILESDIR}"/${PN}-5.47-CXX.patch
83 + "${FILESDIR}"/${PN}-5.47-strip.patch
84 +)
85 +S=${WORKDIR}/${P/_alpha/ALPHA}
86 +
87 +src_prepare() {
88 + default
89 + eautoreconf
90 +}
91 +
92 +src_configure() {
93 + local myconf=()
94 +
95 + if use opengl && use truetype; then
96 + myconf=( --with-ftgl )
97 + append-cppflags -DFTGL213
98 + else
99 + myconf=( --without-ftgl )
100 + fi
101 +
102 + myconf+=(
103 + $(use_enable pam)
104 + $(use_enable xlockrc)
105 + $(use_enable vtlock)
106 + $(use_with crypt)
107 + $(use_with debug editres)
108 + $(use_with gtk gtk2)
109 + $(use_with imagemagick magick)
110 + $(use_with motif)
111 + $(use_with nas)
112 + $(use_with opengl mesa)
113 + $(use_with opengl)
114 + $(use_with truetype freetype)
115 + $(use_with truetype ttf)
116 + $(use_with xinerama)
117 + --disable-mb
118 + --enable-appdefaultdir=/usr/share/X11/app-defaults
119 + --enable-syslog
120 + --enable-vtlock
121 + --without-esound
122 + --without-gtk
123 + )
124 + econf "${myconf[@]}"
125 +}
126 +
127 +src_install() {
128 + local DOCS=( README docs/{3d.howto,cell_automata,HACKERS.GUIDE,Purify,Revisions,TODO} )
129 + default
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 + docinto html
140 + dodoc docs/xlock.html
141 +}