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: Wed, 11 Mar 2020 20:16:24
Message-Id: 1583957778.457fc2cfd10784b983011c8c89ab8358225ede99.jer@gentoo
1 commit: 457fc2cfd10784b983011c8c89ab8358225ede99
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 11 20:15:58 2020 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 11 20:16:18 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=457fc2cf
7
8 x11-misc/xlockmore: Version 5.63_alpha0
9
10 Package-Manager: Portage-2.3.93, 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.63_alpha0.ebuild | 110 ++++++++++++++++++++++++
15 2 files changed, 111 insertions(+)
16
17 diff --git a/x11-misc/xlockmore/Manifest b/x11-misc/xlockmore/Manifest
18 index 3d8a94b7018..01dfbf98989 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.61.tar.xz 1936312 BLAKE2B f4d12f1dbd5da1d8cef16690e393fdd9ba4162722398c8239c0091f2cd46cc3f401c1a62ed1910bf37fc0d98f0bf0723ca9003caf507e3d8a6a83f7b51228f35 SHA512 be64b3dc22f1c0c310ed4a085fcaf9f7ed96c5d2a97f3359966201df54fc5acfc3e5d94cb0616a28a217e0cc6954f9a519198c238e40202263a7c03438771a7d
24 DIST xlockmore-5.62.tar.xz 1943836 BLAKE2B 6ce9b9ad709881a50eba0e32ae1e7524414a5e92e34daeff1ce68b6bb4738117155543d15219723ab514d520064601824a22d438541a699c742ab0c620285c64 SHA512 fc7c63a8ce781ba1a9598b5e3d585cc85051da864dbd59e3232b2fa6b6529743f9244e52bdf588ae438c02a2e1e745eb81b372234189e73ae6698cc962c387c2
25 +DIST xlockmore-5.63ALPHA0.tar.xz 1944780 BLAKE2B 702662a96d3275be45d1a578d35ab7ec209161318ec32a7d6ea1e540dc3722d7fe21aa1681b56e4542e7d0ff870804675dd957a09037c731dd30c358253ca0d3 SHA512 2f5f2cf8b395ac89ab421729a2db2c276d28fc880b95e5166a8280530d50fd44ee809d95be248dfdd18b21f76c664f6410ed0da42e4241094e428280664b4705
26
27 diff --git a/x11-misc/xlockmore/xlockmore-5.63_alpha0.ebuild b/x11-misc/xlockmore/xlockmore-5.63_alpha0.ebuild
28 new file mode 100644
29 index 00000000000..2071d070081
30 --- /dev/null
31 +++ b/x11-misc/xlockmore/xlockmore-5.63_alpha0.ebuild
32 @@ -0,0 +1,110 @@
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 + https://www.sillycycle.com/xlock/recent-releases/${P/_alpha/ALPHA}.tar.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? ( sys-libs/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_prepare() {
89 + default
90 + eautoreconf
91 +}
92 +
93 +src_configure() {
94 + local myconf=()
95 +
96 + if use opengl && use truetype; then
97 + myconf=( --with-ftgl )
98 + append-cppflags -DFTGL213
99 + else
100 + myconf=( --without-ftgl )
101 + fi
102 +
103 + myconf+=(
104 + $(use_enable pam)
105 + $(use_enable xlockrc)
106 + $(use_enable vtlock)
107 + $(use_with crypt)
108 + $(use_with debug editres)
109 + $(use_with gtk gtk2)
110 + $(use_with imagemagick magick)
111 + $(use_with motif)
112 + $(use_with nas)
113 + $(use_with opengl mesa)
114 + $(use_with opengl)
115 + $(use_with truetype freetype)
116 + $(use_with truetype ttf)
117 + $(use_with xinerama)
118 + --disable-mb
119 + --enable-appdefaultdir=/usr/share/X11/app-defaults
120 + --enable-syslog
121 + --enable-vtlock
122 + --without-esound
123 + --without-gtk
124 + )
125 + econf "${myconf[@]}"
126 +}
127 +
128 +src_install() {
129 + local DOCS=( README docs/{3d.howto,cell_automata,HACKERS.GUIDE,Purify,Revisions,TODO} )
130 + default
131 +
132 + pamd_mimic_system xlock auth
133 +
134 + if use pam; then
135 + fperms 755 /usr/bin/xlock
136 + else
137 + fperms 4755 /usr/bin/xlock
138 + fi
139 +
140 + docinto html
141 + dodoc docs/xlock.html
142 +}