x11-misc/i3lock: Version 2.11
authorJeroen Roovers <jer@gentoo.org>
Thu, 11 Oct 2018 12:49:06 +0000 (14:49 +0200)
committerJeroen Roovers <jer@gentoo.org>
Thu, 11 Oct 2018 12:49:36 +0000 (14:49 +0200)
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
x11-misc/i3lock/Manifest
x11-misc/i3lock/files/i3lock-2.11-version.patch [new file with mode: 0644]
x11-misc/i3lock/i3lock-2.11.ebuild [new file with mode: 0644]

index dc4ef9355f94ff2383e01f296bf3cebe61f2a68a..8f83a8483856426665cbd117a520b1f21a11c546 100644 (file)
@@ -1 +1,2 @@
 DIST i3lock-2.10.tar.bz2 23171 BLAKE2B 1c1d0f8e3a85dcebe4a9ee181e399a4ff447ececfbdf5f9488df849316e47233118b7436c269a986fed4e907e6162f3758c8bdad2d20ac156e95a8be185a744c SHA512 ea865b202668212b58d0b97d0263171847e1bd0c529e2fd3d26c15ef253861b9a8357ff2efaa6a4f342c4d0d1ab03bc00f95f4d4008760ec8e0767ac29195517
+DIST i3lock-2.11.tar.bz2 145308 BLAKE2B adacff63670237b945b54ba9709725013f8cfb5bdaf48e6c2cfbc0b035161e44f30393443f9326e3d0635407d1451267d9be8898582a76b3f989660ddcda2440 SHA512 c00741a66fdb5477a4b7e993d173f98fe95f0254fa74c50f83ddf8078a477d26a9fab126fbe31b509df2dbd35ed5ec64b95475621b8babf6f6c0f6db38160c8a
diff --git a/x11-misc/i3lock/files/i3lock-2.11-version.patch b/x11-misc/i3lock/files/i3lock-2.11-version.patch
new file mode 100644 (file)
index 0000000..df133cb
--- /dev/null
@@ -0,0 +1,12 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -2,7 +2,7 @@
+ # Run autoreconf -fi to generate a configure script from this file.
+ AC_PREREQ([2.69])
+-AC_INIT([i3lock], [2.10], [https://github.com/i3/i3lock/issues])
++AC_INIT([i3lock], [2.11], [https://github.com/i3/i3lock/issues])
+ # For AX_EXTEND_SRCDIR
+ AX_ENABLE_BUILDDIR
+ AM_INIT_AUTOMAKE([foreign subdir-objects -Wall no-dist-gzip dist-bzip2])
+
diff --git a/x11-misc/i3lock/i3lock-2.11.ebuild b/x11-misc/i3lock/i3lock-2.11.ebuild
new file mode 100644 (file)
index 0000000..54d9140
--- /dev/null
@@ -0,0 +1,47 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools toolchain-funcs
+
+DESCRIPTION="Simple screen locker"
+HOMEPAGE="https://i3wm.org/i3lock/"
+SRC_URI="https://i3wm.org/${PN}/${P}.tar.bz2"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+RDEPEND="
+       >=x11-libs/libxkbcommon-0.5.0[X]
+       dev-libs/libev
+       virtual/pam
+       x11-libs/cairo[xcb]
+       x11-libs/libxcb[xkb]
+       x11-libs/xcb-util
+"
+DEPEND="
+       ${RDEPEND}
+       virtual/pkgconfig
+"
+DOCS=( CHANGELOG README.md )
+PATCHES=(
+       "${FILESDIR}"/${PN}-2.11-version.patch
+)
+
+src_prepare() {
+       default
+
+       echo ${PV} > I3LOCK_VERSION
+
+       sed -i -e 's:login:system-auth:' ${PN}.pam || die
+
+       eautoreconf
+
+       tc-export CC
+}
+
+src_install() {
+       default
+       doman ${PN}.1
+}