Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 687070 | Differences between
and this patch

Collapse All | Expand All

(-)a/x11-misc/xsecurelock/Manifest (+1 lines)
Line 0 Link Here
1
DIST xsecurelock-1.3.3.tar.gz 207862 BLAKE2B 506642b3a8983cd9421b18bd23cde0c9a5b4fb37d18a9f417cad117e1e94fe04ad92082123f5f4072b6f9b3c91450aaec17ceef66f5998f281e5204ec548f572 SHA512 7d31c6ca4421627caf4a79e7d6b39791a4a2fcd817ff0810dbdcc49d2b5ca138400b3ebae5ea662651e80e78fb110dc85c439749cf47545dce06319ed21df3c3
(-)a/x11-misc/xsecurelock/metadata.xml (+11 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
3
<pkgmetadata>
4
  <maintainer type="project">
5
    <email>desktop-misc@gentoo.org</email>
6
    <name>Gentoo Desktop Miscellaneous Project</name>
7
  </maintainer>
8
  <upstream>
9
    <remote-id type="github">google/xsecurelock</remote-id>
10
  </upstream>
11
</pkgmetadata>
(-)a/x11-misc/xsecurelock/xsecurelock-1.3.3.ebuild (-1 / +59 lines)
Line 0 Link Here
0
- 
1
# Copyright 2019 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
3
4
EAPI=7
5
6
inherit autotools
7
8
DESCRIPTION="X11 screen lock utility with security in mind"
9
HOMEPAGE="https://github.com/google/xsecurelock"
10
SRC_URI="https://github.com/google/${PN}/releases/download/v${PV}/${P}.tar.gz"
11
12
LICENSE="Apache-2.0"
13
SLOT="0"
14
KEYWORDS="~amd64 ~x86"
15
IUSE="xscreensaver"
16
17
RDEPEND="
18
	sys-libs/pam
19
	x11-libs/libX11
20
	x11-libs/libXcomposite
21
	x11-libs/libXext
22
	x11-libs/libXfixes
23
	x11-libs/libXft
24
	x11-libs/libXmu
25
	x11-libs/libXrandr
26
	x11-libs/libXScrnSaver
27
	x11-libs/libXxf86misc
28
	xscreensaver? ( x11-misc/xscreensaver )
29
"
30
DEPEND="${RDEPEND}
31
	x11-base/xorg-proto
32
"
33
BDEPEND="virtual/pkgconfig"
34
35
src_configure() {
36
	local myeconfargs=(
37
		--prefix="${EPREFIX}"/usr
38
		--with-default-auth-module=auth_x11
39
		--with-default-authproto-module=authproto_pam
40
		--without-htpasswd
41
		--without-mplayer
42
		--without-mpv
43
		--without-pamtester
44
		--without-pandoc
45
		--with-pam-service-name=system-auth
46
	)
47
	if use xscreensaver; then
48
		myeconfargs+=(
49
			--with-default-saver-module=saver_xscreensaver
50
			--with-xscreensaver="${EPREFIX}"/usr/$(get_libdir)/misc/xscreensaver
51
		)
52
	else
53
		myeconfargs+=(
54
			--with-default-saver-module=saver_blank
55
			--without-xscreensaver
56
		)
57
	fi
58
	econf "${myeconfargs[@]}"
59
}

Return to bug 687070