From b69350941911d340670fb1f2bc5cb926626ec1db Mon Sep 17 00:00:00 2001 From: Kacper Kowalik Date: Fri, 22 Jul 2011 09:41:18 +0000 Subject: Initial import. Ebuild written by me (Portage version: 2.2.0_alpha45/cvs/Linux x86_64) --- x11-misc/i3lock/i3lock-2.1.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 x11-misc/i3lock/i3lock-2.1.ebuild (limited to 'x11-misc/i3lock/i3lock-2.1.ebuild') diff --git a/x11-misc/i3lock/i3lock-2.1.ebuild b/x11-misc/i3lock/i3lock-2.1.ebuild new file mode 100644 index 000000000000..326f12068be8 --- /dev/null +++ b/x11-misc/i3lock/i3lock-2.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/i3lock/i3lock-2.1.ebuild,v 1.1 2011/07/22 09:41:18 xarthisius Exp $ + +EAPI=4 + +inherit eutils toolchain-funcs + +DESCRIPTION="Simple screen locker" +HOMEPAGE="http://i3wm.org/i3lock/" +SRC_URI="http://i3wm.org/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+cairo" + +RDEPEND="virtual/pam + x11-libs/xcb-util-keysyms + x11-libs/xcb-util-image + cairo? ( x11-libs/cairo[xcb] )" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +pkg_setup() { + tc-export CC +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-makefile.patch + sed -i -e 's:login:system-auth:' ${PN}.pam || die +} + +src_configure() { + use cairo || export NOLIBCAIRO=1 +} -- cgit v1.2.3-65-gdbad