summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2015-03-12 08:58:19 +0000
committerJeroen Roovers <jer@gentoo.org>2015-03-12 08:58:19 +0000
commitf3013971743428ca8d22f2f265b13257afe99b7b (patch)
tree0f4ab3373eaed94683f5fb3999391e55c15ba077 /x11-misc/xtrlock
parentVersion BUmp, #541710 (diff)
downloadgentoo-2-f3013971743428ca8d22f2f265b13257afe99b7b.tar.gz
gentoo-2-f3013971743428ca8d22f2f265b13257afe99b7b.tar.bz2
gentoo-2-f3013971743428ca8d22f2f265b13257afe99b7b.zip
Version bump.
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'x11-misc/xtrlock')
-rw-r--r--x11-misc/xtrlock/ChangeLog9
-rw-r--r--x11-misc/xtrlock/xtrlock-2.7.ebuild40
2 files changed, 47 insertions, 2 deletions
diff --git a/x11-misc/xtrlock/ChangeLog b/x11-misc/xtrlock/ChangeLog
index 9c3d9a8846c1..9210cc6fa7fd 100644
--- a/x11-misc/xtrlock/ChangeLog
+++ b/x11-misc/xtrlock/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-misc/xtrlock
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xtrlock/ChangeLog,v 1.28 2014/01/13 15:29:04 jer Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xtrlock/ChangeLog,v 1.29 2015/03/12 08:58:19 jer Exp $
+
+*xtrlock-2.7 (12 Mar 2015)
+
+ 12 Mar 2015; Jeroen Roovers <jer@gentoo.org> +xtrlock-2.7.ebuild:
+ Version bump.
*xtrlock-2.6 (13 Jan 2014)
diff --git a/x11-misc/xtrlock/xtrlock-2.7.ebuild b/x11-misc/xtrlock/xtrlock-2.7.ebuild
new file mode 100644
index 000000000000..96d5ed26d00e
--- /dev/null
+++ b/x11-misc/xtrlock/xtrlock-2.7.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xtrlock/xtrlock-2.7.ebuild,v 1.1 2015/03/12 08:58:19 jer Exp $
+
+EAPI=5
+inherit toolchain-funcs
+
+#Note: there's no difference vs 2.0-12
+MY_P=${P/-/_}
+
+DESCRIPTION="A simplistic screen locking program for X"
+SRC_URI="mirror://debian/pool/main/x/xtrlock/${MY_P}.tar.gz"
+HOMEPAGE="http://ftp.debian.org/debian/pool/main/x/xtrlock/"
+
+SLOT="0"
+LICENSE="GPL-3"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/libX11"
+DEPEND="${RDEPEND}
+ x11-proto/xproto
+ x11-misc/imake"
+
+src_prepare() {
+ sed -i -e 's|".*"|"'"${PV}"'"|g' patchlevel.h || die
+}
+
+src_compile() {
+ xmkmf || die
+ emake CDEBUGFLAGS="${CFLAGS} -DSHADOW_PWD" CC="$(tc-getCC)" \
+ EXTRA_LDOPTIONS="${LDFLAGS}" xtrlock
+}
+
+src_install() {
+ dobin xtrlock
+ chmod u+s "${D}"/usr/bin/xtrlock
+ newman xtrlock.man xtrlock.1
+ dodoc debian/changelog
+}