Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/i3lock/files/, x11-misc/i3lock/
Date: Thu, 11 Oct 2018 12:51:10
Message-Id: 1539262176.52d5b5ba3a2b02abd3014b5108d5d4619e1f6b16.jer@gentoo
1 commit: 52d5b5ba3a2b02abd3014b5108d5d4619e1f6b16
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 11 12:49:06 2018 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 11 12:49:36 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52d5b5ba
7
8 x11-misc/i3lock: Version 2.11
9
10 Package-Manager: Portage-2.3.51, Repoman-2.3.11
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 x11-misc/i3lock/Manifest | 1 +
14 x11-misc/i3lock/files/i3lock-2.11-version.patch | 12 +++++++
15 x11-misc/i3lock/i3lock-2.11.ebuild | 47 +++++++++++++++++++++++++
16 3 files changed, 60 insertions(+)
17
18 diff --git a/x11-misc/i3lock/Manifest b/x11-misc/i3lock/Manifest
19 index dc4ef9355f9..8f83a848385 100644
20 --- a/x11-misc/i3lock/Manifest
21 +++ b/x11-misc/i3lock/Manifest
22 @@ -1 +1,2 @@
23 DIST i3lock-2.10.tar.bz2 23171 BLAKE2B 1c1d0f8e3a85dcebe4a9ee181e399a4ff447ececfbdf5f9488df849316e47233118b7436c269a986fed4e907e6162f3758c8bdad2d20ac156e95a8be185a744c SHA512 ea865b202668212b58d0b97d0263171847e1bd0c529e2fd3d26c15ef253861b9a8357ff2efaa6a4f342c4d0d1ab03bc00f95f4d4008760ec8e0767ac29195517
24 +DIST i3lock-2.11.tar.bz2 145308 BLAKE2B adacff63670237b945b54ba9709725013f8cfb5bdaf48e6c2cfbc0b035161e44f30393443f9326e3d0635407d1451267d9be8898582a76b3f989660ddcda2440 SHA512 c00741a66fdb5477a4b7e993d173f98fe95f0254fa74c50f83ddf8078a477d26a9fab126fbe31b509df2dbd35ed5ec64b95475621b8babf6f6c0f6db38160c8a
25
26 diff --git a/x11-misc/i3lock/files/i3lock-2.11-version.patch b/x11-misc/i3lock/files/i3lock-2.11-version.patch
27 new file mode 100644
28 index 00000000000..df133cb91cd
29 --- /dev/null
30 +++ b/x11-misc/i3lock/files/i3lock-2.11-version.patch
31 @@ -0,0 +1,12 @@
32 +--- a/configure.ac
33 ++++ b/configure.ac
34 +@@ -2,7 +2,7 @@
35 + # Run autoreconf -fi to generate a configure script from this file.
36 +
37 + AC_PREREQ([2.69])
38 +-AC_INIT([i3lock], [2.10], [https://github.com/i3/i3lock/issues])
39 ++AC_INIT([i3lock], [2.11], [https://github.com/i3/i3lock/issues])
40 + # For AX_EXTEND_SRCDIR
41 + AX_ENABLE_BUILDDIR
42 + AM_INIT_AUTOMAKE([foreign subdir-objects -Wall no-dist-gzip dist-bzip2])
43 +
44
45 diff --git a/x11-misc/i3lock/i3lock-2.11.ebuild b/x11-misc/i3lock/i3lock-2.11.ebuild
46 new file mode 100644
47 index 00000000000..54d9140d574
48 --- /dev/null
49 +++ b/x11-misc/i3lock/i3lock-2.11.ebuild
50 @@ -0,0 +1,47 @@
51 +# Copyright 1999-2018 Gentoo Authors
52 +# Distributed under the terms of the GNU General Public License v2
53 +
54 +EAPI=7
55 +inherit autotools toolchain-funcs
56 +
57 +DESCRIPTION="Simple screen locker"
58 +HOMEPAGE="https://i3wm.org/i3lock/"
59 +SRC_URI="https://i3wm.org/${PN}/${P}.tar.bz2"
60 +
61 +LICENSE="BSD"
62 +SLOT="0"
63 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
64 +
65 +RDEPEND="
66 + >=x11-libs/libxkbcommon-0.5.0[X]
67 + dev-libs/libev
68 + virtual/pam
69 + x11-libs/cairo[xcb]
70 + x11-libs/libxcb[xkb]
71 + x11-libs/xcb-util
72 +"
73 +DEPEND="
74 + ${RDEPEND}
75 + virtual/pkgconfig
76 +"
77 +DOCS=( CHANGELOG README.md )
78 +PATCHES=(
79 + "${FILESDIR}"/${PN}-2.11-version.patch
80 +)
81 +
82 +src_prepare() {
83 + default
84 +
85 + echo ${PV} > I3LOCK_VERSION
86 +
87 + sed -i -e 's:login:system-auth:' ${PN}.pam || die
88 +
89 + eautoreconf
90 +
91 + tc-export CC
92 +}
93 +
94 +src_install() {
95 + default
96 + doman ${PN}.1
97 +}