diff options
author | 2008-01-09 15:25:51 +0000 | |
---|---|---|
committer | 2008-01-09 15:25:51 +0000 | |
commit | b32e4469d052fd38eba54a76c8dfa81db67f9010 (patch) | |
tree | be53c120a7fa1b9121552feb6896db967bd78f0f /x11-misc/alock/alock-60-r3.ebuild | |
parent | Add patch to fix building with gtk-2.12 (diff) | |
download | gentoo-2-b32e4469d052fd38eba54a76c8dfa81db67f9010.tar.gz gentoo-2-b32e4469d052fd38eba54a76c8dfa81db67f9010.tar.bz2 gentoo-2-b32e4469d052fd38eba54a76c8dfa81db67f9010.zip |
make sure that imlib2 is built with X, x86 stable, bug #204934
(Portage version: 2.1.4_rc14)
Diffstat (limited to 'x11-misc/alock/alock-60-r3.ebuild')
-rw-r--r-- | x11-misc/alock/alock-60-r3.ebuild | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/x11-misc/alock/alock-60-r3.ebuild b/x11-misc/alock/alock-60-r3.ebuild index 1c66083cb8c5..c790dd270575 100644 --- a/x11-misc/alock/alock-60-r3.ebuild +++ b/x11-misc/alock/alock-60-r3.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/alock/alock-60-r3.ebuild,v 1.1 2007/07/07 09:15:48 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/alock/alock-60-r3.ebuild,v 1.2 2008/01/09 15:25:51 maekke Exp $ + +inherit eutils DESCRIPTION="alock - locks the local X display until a password is entered" HOMEPAGE=" @@ -11,7 +13,7 @@ SRC_URI="http://alock.googlecode.com/files/alock-svn-${PV}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~ppc ~x86 ~amd64" +KEYWORDS="~amd64 ~ppc x86" IUSE="" DEPEND=" @@ -23,6 +25,13 @@ RDEPEND="" MY_S="${WORKDIR}/alock-svn-${PV}" +pkg_setup() { + if ! built_with_use media-libs/imlib2 X ; then + eerror "media-libs/imlib2 has to be built with X support" + die "emerge media-libs/imlib2 with USE=\"X\"" + fi +} + src_unpack() { unpack "${A}" sed -i 's|\$(DESTDIR)\$(prefix)/man|\$(DESTDIR)\$(prefix)/share/man|g' \ |