diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2009-08-15 13:21:02 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2009-08-15 13:21:02 +0000 |
commit | 0eeeafcdbdff392e29bb0e244e9ff05f2a948568 (patch) | |
tree | 560689f5ae1642dc8d45419f8bd549d609af9797 /app-i18n/scim-qtimm | |
parent | Migrate to EAPI 2 to get rid of built_with_use for bug #261562. (diff) | |
download | gentoo-2-0eeeafcdbdff392e29bb0e244e9ff05f2a948568.tar.gz gentoo-2-0eeeafcdbdff392e29bb0e244e9ff05f2a948568.tar.bz2 gentoo-2-0eeeafcdbdff392e29bb0e244e9ff05f2a948568.zip |
Migrate to EAPI 2 to get rid of built_with_use for bug #261562.
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'app-i18n/scim-qtimm')
-rw-r--r-- | app-i18n/scim-qtimm/ChangeLog | 8 | ||||
-rw-r--r-- | app-i18n/scim-qtimm/scim-qtimm-0.9.4-r1.ebuild | 27 |
2 files changed, 16 insertions, 19 deletions
diff --git a/app-i18n/scim-qtimm/ChangeLog b/app-i18n/scim-qtimm/ChangeLog index 6d4900c5f9f8..691b04084e0a 100644 --- a/app-i18n/scim-qtimm/ChangeLog +++ b/app-i18n/scim-qtimm/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-i18n/scim-qtimm -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-qtimm/ChangeLog,v 1.48 2008/07/27 19:54:45 carlo Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-qtimm/ChangeLog,v 1.49 2009/08/15 13:21:02 betelgeuse Exp $ + + 15 Aug 2009; Petteri Räty <betelgeuse@gentoo.org> + scim-qtimm-0.9.4-r1.ebuild: + Migrate to EAPI 2 to get rid of built_with_use for bug #261562. 27 Jul 2008; Carsten Lohrke <carlo@gentoo.org> scim-qtimm-0.9.4.ebuild, scim-qtimm-0.9.4-r1.ebuild: diff --git a/app-i18n/scim-qtimm/scim-qtimm-0.9.4-r1.ebuild b/app-i18n/scim-qtimm/scim-qtimm-0.9.4-r1.ebuild index d1d10f0b2551..45f316104fa9 100644 --- a/app-i18n/scim-qtimm/scim-qtimm-0.9.4-r1.ebuild +++ b/app-i18n/scim-qtimm/scim-qtimm-0.9.4-r1.ebuild @@ -1,8 +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/app-i18n/scim-qtimm/scim-qtimm-0.9.4-r1.ebuild,v 1.2 2008/07/27 19:54:45 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-qtimm/scim-qtimm-0.9.4-r1.ebuild,v 1.3 2009/08/15 13:21:02 betelgeuse Exp $ -EAPI=1 +EAPI="2" WANT_AUTOMAKE="1.9" WANT_AUTOCONF="latest" @@ -22,22 +22,16 @@ IUSE="debug" RDEPEND=">=app-i18n/scim-1.4.2 virtual/libintl - x11-libs/qt:3" + || ( + x11-libs/qt:3[immqt-bc] + x11-libs/qt:3[immqt] + )" DEPEND="${RDEPEND} sys-devel/gettext dev-util/pkgconfig" -pkg_setup() { - if ! built_with_use =x11-libs/qt-3* immqt-bc && ! built_with_use =x11-libs/qt-3* immqt; then - die "You need to rebuild >=x11-libs/qt-3.3.4 with immqt-bc(recommended) or immqt USE flag enabled." - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - +src_prepare() { rm -rf "${S}/admin" ln -sf "${WORKDIR}/admin" "${S}/admin" @@ -57,7 +51,7 @@ src_unpack() { emake -j1 -f admin/Makefile.common || die "reautotooling failed" } -src_compile() { +src_configure() { local myconf if use debug; then @@ -70,13 +64,12 @@ src_compile() { --disable-static \ --disable-dependency-tracking \ ${myconf} || die "econf failed" - emake || die "make failed." } src_install() { emake DESTDIR="${D}" install || die "make install failed" - dodoc AUTHORS ChangeLog README NEWS TODO + dodoc AUTHORS ChangeLog README NEWS TODO || die } pkg_postinst() { |