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.6.0.tar.gz 211727 BLAKE2B b06bb69832538c3227f7370937390ef8cfffa2e6aca2609e30276237f872fd8ff61406df03c40320578b9659cd7dcd14cb0fc7148b5220ae3b65307d7eed637e SHA512 8b0335f0b15769a898188591114846797715639d360113cd0803fc3052853a013c4811cabd538dc28448ddc20f52e12283cfc23ce3d6ec2ffa2b5a2e36287046
(-)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.6.0.ebuild (-1 / +68 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
	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
	x11-libs/libXxf86misc
32
	xscreensaver? ( x11-misc/xscreensaver )
33
"
34
DEPEND="${RDEPEND}
35
	x11-base/xorg-proto
36
"
37
BDEPEND="virtual/pkgconfig"
38
39
src_prepare() {
40
	default
41
	eautoreconf
42
}
43
44
src_configure() {
45
	local myeconfargs=(
46
		--prefix="${EPREFIX}"/usr
47
		--with-default-auth-module=auth_x11
48
		--with-default-authproto-module=authproto_pam
49
		--without-htpasswd
50
		--without-mplayer
51
		--without-mpv
52
		--without-pamtester
53
		--without-pandoc
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