diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2009-08-16 08:47:55 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2009-08-16 08:47:55 +0000 |
commit | a654925cc0ce2d6c29f4a8b527ee659fd12b1ab9 (patch) | |
tree | 2e8d67d762137653d7203f8b4c0603744510feaa /x11-plugins/wmhdplop | |
parent | Migrate to EAPI 2 in order to get rid of built_with_use for bug #261562. (diff) | |
download | gentoo-2-a654925cc0ce2d6c29f4a8b527ee659fd12b1ab9.tar.gz gentoo-2-a654925cc0ce2d6c29f4a8b527ee659fd12b1ab9.tar.bz2 gentoo-2-a654925cc0ce2d6c29f4a8b527ee659fd12b1ab9.zip |
Migrate to EAPI 2 in order to get rid of built_with_use for bug #261562.
(Portage version: 2.2_rc38/cvs/Linux i686)
Diffstat (limited to 'x11-plugins/wmhdplop')
-rw-r--r-- | x11-plugins/wmhdplop/ChangeLog | 7 | ||||
-rw-r--r-- | x11-plugins/wmhdplop/wmhdplop-0.9.9.ebuild | 25 |
2 files changed, 13 insertions, 19 deletions
diff --git a/x11-plugins/wmhdplop/ChangeLog b/x11-plugins/wmhdplop/ChangeLog index e4957251ed93..f5434ce29070 100644 --- a/x11-plugins/wmhdplop/ChangeLog +++ b/x11-plugins/wmhdplop/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for x11-plugins/wmhdplop -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmhdplop/ChangeLog,v 1.15 2008/08/05 21:12:48 cardoe Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmhdplop/ChangeLog,v 1.16 2009/08/16 08:47:55 betelgeuse Exp $ + + 16 Aug 2009; Petteri Räty <betelgeuse@gentoo.org> wmhdplop-0.9.9.ebuild: + Migrate to EAPI 2 in order to get rid of built_with_use for bug #261562. 05 Aug 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml: add GLEP 56 USE flag desc from use.local.desc diff --git a/x11-plugins/wmhdplop/wmhdplop-0.9.9.ebuild b/x11-plugins/wmhdplop/wmhdplop-0.9.9.ebuild index a5c7a87606ae..c491ba9e94e1 100644 --- a/x11-plugins/wmhdplop/wmhdplop-0.9.9.ebuild +++ b/x11-plugins/wmhdplop/wmhdplop-0.9.9.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmhdplop/wmhdplop-0.9.9.ebuild,v 1.2 2008/06/28 06:59:44 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmhdplop/wmhdplop-0.9.9.ebuild,v 1.3 2009/08/16 08:47:55 betelgeuse Exp $ + +EAPI="2" inherit eutils multilib @@ -13,7 +15,7 @@ SLOT="0" KEYWORDS="~amd64 ~ppc x86" IUSE="gkrellm" -RDEPEND="media-libs/imlib2 +RDEPEND="media-libs/imlib2[X] x11-libs/libX11 x11-libs/libXext media-fonts/corefonts @@ -23,28 +25,17 @@ DEPEND="${RDEPEND} gkrellm? ( dev-util/pkgconfig >=app-admin/gkrellm-2 )" -pkg_setup() { - local fail="Re-emerge media-libs/imlib2 with USE X." - - if ! built_with_use media-libs/imlib2 X; then - eerror "${fail}" - die "${fail}" - fi -} - -src_unpack() { - unpack ${A} +src_prepare() { sed -i -e "s:-O3 -fomit-frame-pointer -ffast-math:${CFLAGS}:" "${S}"/configure } -src_compile() { +src_configure() { econf $(use_enable gkrellm) - emake || die "emake failed." } src_install() { emake DESTDIR="${D}" install || die "emake install failed." - dodoc AUTHORS ChangeLog NEWS README + dodoc AUTHORS ChangeLog NEWS README || die insinto /usr/$(get_libdir)/gkrellm2/plugins use gkrellm && doins gkhdplop.so |