summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Anderson <gentoofan23@gentoo.org>2009-03-08 20:08:58 +0000
committerThomas Anderson <gentoofan23@gentoo.org>2009-03-08 20:08:58 +0000
commit57f3d1cc34ac49c19c818c4da30ae817974c6914 (patch)
treeb4bfedafc965fdfc72280dd9269359f7efff651b /x11-terms
parentDrop KDE 4.2.0 (diff)
downloadgentoo-2-57f3d1cc34ac49c19c818c4da30ae817974c6914.tar.gz
gentoo-2-57f3d1cc34ac49c19c818c4da30ae817974c6914.tar.bz2
gentoo-2-57f3d1cc34ac49c19c818c4da30ae817974c6914.zip
Transition to EAPI 2 usedeps
(Portage version: 2.1.6.7/cvs/Linux x86_64)
Diffstat (limited to 'x11-terms')
-rw-r--r--x11-terms/eterm/ChangeLog6
-rw-r--r--x11-terms/eterm/eterm-0.9.5.ebuild18
-rw-r--r--x11-terms/eterm/eterm-9999.ebuild18
3 files changed, 15 insertions, 27 deletions
diff --git a/x11-terms/eterm/ChangeLog b/x11-terms/eterm/ChangeLog
index 9491fba08bb6..937ff38a67c0 100644
--- a/x11-terms/eterm/ChangeLog
+++ b/x11-terms/eterm/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-terms/eterm
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/eterm/ChangeLog,v 1.70 2009/01/24 11:33:15 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/eterm/ChangeLog,v 1.71 2009/03/08 20:08:58 gentoofan23 Exp $
+
+ 08 Mar 2009; Thomas Anderson <gentoofan23@gentoo.org> eterm-0.9.5.ebuild,
+ eterm-9999.ebuild:
+ Transition to EAPI 2 usedeps
24 Jan 2009; Alexis Ballier <aballier@gentoo.org> eterm-0.9.5.ebuild:
there is no stable keyword for bsd...
diff --git a/x11-terms/eterm/eterm-0.9.5.ebuild b/x11-terms/eterm/eterm-0.9.5.ebuild
index a5bf3a033c2d..55d43bb5de00 100644
--- a/x11-terms/eterm/eterm-0.9.5.ebuild
+++ b/x11-terms/eterm/eterm-0.9.5.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/eterm/eterm-0.9.5.ebuild,v 1.9 2009/01/24 11:33:15 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/eterm/eterm-0.9.5.ebuild,v 1.10 2009/03/08 20:08:58 gentoofan23 Exp $
+EAPI="2"
inherit eutils autotools
MY_P=Eterm-${PV}
@@ -34,7 +35,7 @@ DEPEND="x11-libs/libX11
x11-proto/xextproto
x11-proto/xproto
>=x11-libs/libast-0.6.1
- media-libs/imlib2
+ media-libs/imlib2[X]
escreen? ( app-misc/screen )"
if [[ ${PV} == "9999" ]] ; then
@@ -43,13 +44,6 @@ else
S=${WORKDIR}/${MY_P}
fi
-pkg_setup() {
- if ! built_with_use media-libs/imlib2 X ; then
- eerror "media-libs/imlib2 was built without X support."
- eerror "Please add emerge it with USE=X."
- die "imlib2 needs USE=X"
- fi
-}
src_unpack() {
if [[ ${PV} == "9999" ]] ; then
cvs_src_unpack
@@ -62,7 +56,7 @@ src_unpack() {
fi
}
-src_compile() {
+src_configure() {
export TIC="true"
econf \
$(use_enable escreen) \
@@ -72,9 +66,7 @@ src_compile() {
$(use_enable sse2) \
$(use_enable unicode multi-charset) \
--with-delete=execute \
- --with-backspace=auto \
- || die "conf failed"
- emake || die "make failed"
+ --with-backspace=auto
}
src_install() {
diff --git a/x11-terms/eterm/eterm-9999.ebuild b/x11-terms/eterm/eterm-9999.ebuild
index 370082a09113..dd9e4d6f6ea7 100644
--- a/x11-terms/eterm/eterm-9999.ebuild
+++ b/x11-terms/eterm/eterm-9999.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-terms/eterm/eterm-9999.ebuild,v 1.14 2009/01/10 13:18:27 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-terms/eterm/eterm-9999.ebuild,v 1.15 2009/03/08 20:08:58 gentoofan23 Exp $
+EAPI="2"
inherit eutils autotools
MY_P=Eterm-${PV}
@@ -34,7 +35,7 @@ DEPEND="x11-libs/libX11
x11-proto/xextproto
x11-proto/xproto
>=x11-libs/libast-0.6.1
- media-libs/imlib2
+ media-libs/imlib2[X]
escreen? ( app-misc/screen )"
if [[ ${PV} == "9999" ]] ; then
@@ -43,13 +44,6 @@ else
S=${WORKDIR}/${MY_P}
fi
-pkg_setup() {
- if ! built_with_use media-libs/imlib2 X ; then
- eerror "media-libs/imlib2 was built without X support."
- eerror "Please add emerge it with USE=X."
- die "imlib2 needs USE=X"
- fi
-}
src_unpack() {
if [[ ${PV} == "9999" ]] ; then
cvs_src_unpack
@@ -62,7 +56,7 @@ src_unpack() {
fi
}
-src_compile() {
+src_configure() {
export TIC="true"
econf \
$(use_enable escreen) \
@@ -72,9 +66,7 @@ src_compile() {
$(use_enable sse2) \
$(use_enable unicode multi-charset) \
--with-delete=execute \
- --with-backspace=auto \
- || die "conf failed"
- emake || die "make failed"
+ --with-backspace=auto
}
src_install() {