x11-misc/xtrlock: Version 2.12
authorJeroen Roovers <jer@gentoo.org>
Sun, 2 Feb 2020 20:24:13 +0000 (21:24 +0100)
committerJeroen Roovers <jer@gentoo.org>
Sun, 2 Feb 2020 20:24:30 +0000 (21:24 +0100)
Package-Manager: Portage-2.3.87, Repoman-2.3.20
Bug: https://bugs.gentoo.org/707966
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
x11-misc/xtrlock/Manifest
x11-misc/xtrlock/xtrlock-2.12.ebuild [new file with mode: 0644]

index 2ce91731bb1d603cea348b0f9a025240fd832f5b..1afe16efc73b33d99bfb04f2ed1b32fc587f12b6 100644 (file)
@@ -1 +1,2 @@
+DIST xtrlock_2.12.tar.xz 20620 BLAKE2B d40599f5fec67b8e89f1028dafc929a9b21d6ae1f6e094658d07859e7f74e4686d338e1e03393f9981a62030839969b57493a8655e225b963df8dc04cf6b62f6 SHA512 8392a8c254726e99d2324415bfdac6e577f725942d4e7fd39c915637f87814f1737aefa903a1502632272cabbb10182070dc15ec5d3e5268c9c1b53218d00f36
 DIST xtrlock_2.8.tar.gz 21125 BLAKE2B cd5ec919866b074ad7207756a10a0fdd23bf963e9252ff7afa30a1f1d9af4b015e9010036e9920b15d382993870c6909f4689e231e1b29bfe3d48b6271f20354 SHA512 a1388250430f7cb7bfe875aae938c332098f9e88ab7a17d68634b36726acfa7a459bf40f71e6df3c6b1256fb4574a62b2fc72357c6e779c1bc55f10204634068
diff --git a/x11-misc/xtrlock/xtrlock-2.12.ebuild b/x11-misc/xtrlock/xtrlock-2.12.ebuild
new file mode 100644 (file)
index 0000000..87544ef
--- /dev/null
@@ -0,0 +1,35 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit toolchain-funcs
+
+DESCRIPTION="A simplistic screen locking program for X"
+HOMEPAGE="http://ftp.debian.org/debian/pool/main/x/xtrlock/"
+SRC_URI="mirror://debian/pool/main/x/${PN}/${P/-/_}.tar.xz"
+
+SLOT="0"
+LICENSE="GPL-3"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND="
+       x11-libs/libX11
+"
+DEPEND="
+       ${RDEPEND}
+       x11-base/xorg-proto
+       x11-misc/imake
+"
+
+src_compile() {
+       xmkmf || die
+       emake CDEBUGFLAGS="${CFLAGS} -DSHADOW_PWD" CC="$(tc-getCC)" \
+               EXTRA_LDOPTIONS="${LDFLAGS}" xtrlock
+}
+
+src_install() {
+       dobin xtrlock
+       chmod u+s "${D}"/usr/bin/xtrlock
+       newman xtrlock.man xtrlock.1
+       dodoc debian/changelog
+}