diff options
author | Markus Meier <maekke@gentoo.org> | 2008-01-09 15:25:51 +0000 |
---|---|---|
committer | Markus Meier <maekke@gentoo.org> | 2008-01-09 15:25:51 +0000 |
commit | b32e4469d052fd38eba54a76c8dfa81db67f9010 (patch) | |
tree | be53c120a7fa1b9121552feb6896db967bd78f0f /x11-misc/alock | |
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')
-rw-r--r-- | x11-misc/alock/ChangeLog | 7 | ||||
-rw-r--r-- | x11-misc/alock/alock-60-r3.ebuild | 15 |
2 files changed, 17 insertions, 5 deletions
diff --git a/x11-misc/alock/ChangeLog b/x11-misc/alock/ChangeLog index 85fe18c7d283..b627483f66c8 100644 --- a/x11-misc/alock/ChangeLog +++ b/x11-misc/alock/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for x11-misc/alock -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/alock/ChangeLog,v 1.7 2007/10/18 21:50:40 hansmi Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/alock/ChangeLog,v 1.8 2008/01/09 15:25:51 maekke Exp $ + + 09 Jan 2008; Markus Meier <maekke@gentoo.org> alock-60-r3.ebuild: + make sure that imlib2 is built with X, x86 stable, bug #204934 18 Oct 2007; Michael Hanselmann <hansmi@gentoo.org> -alock-60-r2.ebuild: Remove old ebuild. 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' \ |