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/xtrlock/
Date: Sun, 02 Feb 2020 20:24:41
Message-Id: 1580675070.1f5ab1a1689f38303308034fba0c1870b0ba1281.jer@gentoo
1 commit: 1f5ab1a1689f38303308034fba0c1870b0ba1281
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 2 20:24:13 2020 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 2 20:24:30 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f5ab1a1
7
8 x11-misc/xtrlock: Version 2.12
9
10 Package-Manager: Portage-2.3.87, Repoman-2.3.20
11 Bug: https://bugs.gentoo.org/707966
12 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
13
14 x11-misc/xtrlock/Manifest | 1 +
15 x11-misc/xtrlock/xtrlock-2.12.ebuild | 35 +++++++++++++++++++++++++++++++++++
16 2 files changed, 36 insertions(+)
17
18 diff --git a/x11-misc/xtrlock/Manifest b/x11-misc/xtrlock/Manifest
19 index 2ce91731bb1..1afe16efc73 100644
20 --- a/x11-misc/xtrlock/Manifest
21 +++ b/x11-misc/xtrlock/Manifest
22 @@ -1 +1,2 @@
23 +DIST xtrlock_2.12.tar.xz 20620 BLAKE2B d40599f5fec67b8e89f1028dafc929a9b21d6ae1f6e094658d07859e7f74e4686d338e1e03393f9981a62030839969b57493a8655e225b963df8dc04cf6b62f6 SHA512 8392a8c254726e99d2324415bfdac6e577f725942d4e7fd39c915637f87814f1737aefa903a1502632272cabbb10182070dc15ec5d3e5268c9c1b53218d00f36
24 DIST xtrlock_2.8.tar.gz 21125 BLAKE2B cd5ec919866b074ad7207756a10a0fdd23bf963e9252ff7afa30a1f1d9af4b015e9010036e9920b15d382993870c6909f4689e231e1b29bfe3d48b6271f20354 SHA512 a1388250430f7cb7bfe875aae938c332098f9e88ab7a17d68634b36726acfa7a459bf40f71e6df3c6b1256fb4574a62b2fc72357c6e779c1bc55f10204634068
25
26 diff --git a/x11-misc/xtrlock/xtrlock-2.12.ebuild b/x11-misc/xtrlock/xtrlock-2.12.ebuild
27 new file mode 100644
28 index 00000000000..87544effb0d
29 --- /dev/null
30 +++ b/x11-misc/xtrlock/xtrlock-2.12.ebuild
31 @@ -0,0 +1,35 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +inherit toolchain-funcs
37 +
38 +DESCRIPTION="A simplistic screen locking program for X"
39 +HOMEPAGE="http://ftp.debian.org/debian/pool/main/x/xtrlock/"
40 +SRC_URI="mirror://debian/pool/main/x/${PN}/${P/-/_}.tar.xz"
41 +
42 +SLOT="0"
43 +LICENSE="GPL-3"
44 +KEYWORDS="~amd64 ~ppc ~x86"
45 +
46 +RDEPEND="
47 + x11-libs/libX11
48 +"
49 +DEPEND="
50 + ${RDEPEND}
51 + x11-base/xorg-proto
52 + x11-misc/imake
53 +"
54 +
55 +src_compile() {
56 + xmkmf || die
57 + emake CDEBUGFLAGS="${CFLAGS} -DSHADOW_PWD" CC="$(tc-getCC)" \
58 + EXTRA_LDOPTIONS="${LDFLAGS}" xtrlock
59 +}
60 +
61 +src_install() {
62 + dobin xtrlock
63 + chmod u+s "${D}"/usr/bin/xtrlock
64 + newman xtrlock.man xtrlock.1
65 + dodoc debian/changelog
66 +}