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.7.0.tar.gz 219377 BLAKE2B 0f8db60fcb3efab101f026142b72687d61a084b000e9978d159f3d9a9d22be539591ca2a80b01ae3419315cc09dac1cb6d0002884f3c854f02882952e901ff6d SHA512 b3b5404199bed7f0470072c9341227536f8ebe593f288b4ffdb5f4e90e3854952bae150d449cca6628e255c05640b625b56f10266362c119d46d21d51e8880a6
(-)a/x11-misc/xsecurelock/metadata.xml (+16 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="person">
5
    <email>ngg@ngg.hu</email>
6
    <name>Gergely Nagy</name>
7
  </maintainer>
8
  <maintainer type="project">
9
    <email>proxy-maint@gentoo.org</email>
10
    <name>Proxy Maintainers</name>
11
  </maintainer>
12
  <upstream>
13
    <remote-id type="github">google/xsecurelock</remote-id>
14
    <bugs-to>https://github.com/google/xsecurelock/issues</bugs-to>
15
  </upstream>
16
</pkgmetadata>
(-)a/x11-misc/xsecurelock/xsecurelock-1.7.0.ebuild (-1 / +68 lines)
Line 0 Link Here
0
- 
1
# Copyright 1999-2020 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
	dev-libs/libbsd
19
	media-libs/fontconfig
20
	media-libs/freetype
21
	sys-apps/util-linux
22
	sys-libs/pam
23
	x11-libs/libX11
24
	x11-libs/libXcomposite
25
	x11-libs/libXext
26
	x11-libs/libXfixes
27
	x11-libs/libXft
28
	x11-libs/libXmu
29
	x11-libs/libXrandr
30
	x11-libs/libXScrnSaver
31
	xscreensaver? ( x11-misc/xscreensaver )
32
"
33
DEPEND="${RDEPEND}
34
	x11-base/xorg-proto
35
"
36
BDEPEND="virtual/pkgconfig"
37
38
src_prepare() {
39
	default
40
	eautoreconf
41
}
42
43
src_configure() {
44
	local myeconfargs=(
45
		--prefix="${EPREFIX}"/usr
46
		--with-default-auth-module=auth_x11
47
		--with-default-authproto-module=authproto_pam
48
		--without-htpasswd
49
		--without-mplayer
50
		--without-mpv
51
		--without-pamtester
52
		--without-pandoc
53
		--without-xf86misc
54
		--with-pam-service-name=system-auth
55
	)
56
	if use xscreensaver; then
57
		myeconfargs+=(
58
			--with-default-saver-module=saver_xscreensaver
59
			--with-xscreensaver="${EPREFIX}"/usr/$(get_libdir)/misc/xscreensaver
60
		)
61
	else
62
		myeconfargs+=(
63
			--with-default-saver-module=saver_blank
64
			--without-xscreensaver
65
		)
66
	fi
67
	econf "${myeconfargs[@]}"
68
}

Return to bug 687070