From 16a80f989fb1e935944d53c8b554def1b72ba4c2 Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Thu, 2 Jun 2016 19:30:14 -0700 Subject: [PATCH] First draft of xsecurelock --- x11-misc/xsecurelock/Manifest | 1 + x11-misc/xsecurelock/xsecurelock-9999.ebuild | 52 ++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 x11-misc/xsecurelock/Manifest create mode 100644 x11-misc/xsecurelock/xsecurelock-9999.ebuild diff --git a/x11-misc/xsecurelock/Manifest b/x11-misc/xsecurelock/Manifest new file mode 100644 index 0000000..c8d17b6 --- /dev/null +++ b/x11-misc/xsecurelock/Manifest @@ -0,0 +1 @@ +EBUILD xsecurelock-9999.ebuild 896 SHA256 20952e3243c4c40de4d6a800c17b1bd2b395f9ca13b62b87c6caab6a74e7dc31 SHA512 d959256946ed58079a756e0fe8742be37b073cc0173b1e29836c5258fd2a8b5e2585370991c9c2ce1ba3d70a0615b7fa9b502c871ef85bccb65414aa9ce9289f WHIRLPOOL d7c83758373963d116ed9e1ac029f004033fd5b570dca0b07aac8da11fa16598fb9f18aae60e7dbe9d543d30669392532678cc135481fac54b4af9c29b640d6d diff --git a/x11-misc/xsecurelock/xsecurelock-9999.ebuild b/x11-misc/xsecurelock/xsecurelock-9999.ebuild new file mode 100644 index 0000000..fb84422 --- /dev/null +++ b/x11-misc/xsecurelock/xsecurelock-9999.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools autotools-utils + +if [[ ${PV} = 9999 ]]; then + inherit git-2 +fi + +DESCRIPTION="X11 screen lock utility with security in mind" +HOMEPAGE="https://github.com/google/xsecurelock" +if [[ ${PV} = 9999 ]]; then + EGIT_REPO_URI="https://github.com/google/${PN}" + EGIT_BOOTSTRAP="" + KEYWORDS="" +else + SRC_URI="https://github.com/google/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +SLOT="0" +LICENSE="Apache" +RDEPEND="x11-libs/libX11 + x11-libs/libXScrnSaver" +DEPEND="${RDEPEND} + " + +src_prepare() { + eautoreconf +} + + +src_configure() { + local myeconfargs=( + --with-pam-service-name=system-auth + --prefix=/usr + ) + autotools-utils_src_configure +} + + +src_compile() { + autotools-utils_src_compile +} + + +src_install() { + autotools-utils_src_install +}