diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2009-09-19 16:24:11 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2009-09-19 16:24:11 +0000 |
commit | 8b3f705d819fafdf5a8284895f80280e4c772022 (patch) | |
tree | 5d431c189c5785d9ff97d3430a80a292334f38eb /app-pda | |
parent | ppc stable #283743 (diff) | |
download | gentoo-2-8b3f705d819fafdf5a8284895f80280e4c772022.tar.gz gentoo-2-8b3f705d819fafdf5a8284895f80280e4c772022.tar.bz2 gentoo-2-8b3f705d819fafdf5a8284895f80280e4c772022.zip |
Migrate to EAPI 2 in order to remove built_with_use usage. Make bluetooth DEPEND satisfied by net-wireless/bluez too. Fixes bug #272737.
(Portage version: 2.2_rc40/cvs/Linux i686)
Diffstat (limited to 'app-pda')
-rw-r--r-- | app-pda/libopensync-plugin-irmc/ChangeLog | 9 | ||||
-rw-r--r-- | app-pda/libopensync-plugin-irmc/libopensync-plugin-irmc-0.36.ebuild | 30 |
2 files changed, 15 insertions, 24 deletions
diff --git a/app-pda/libopensync-plugin-irmc/ChangeLog b/app-pda/libopensync-plugin-irmc/ChangeLog index aaca4db7c0e1..e260a81491e3 100644 --- a/app-pda/libopensync-plugin-irmc/ChangeLog +++ b/app-pda/libopensync-plugin-irmc/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-pda/libopensync-plugin-irmc -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-irmc/ChangeLog,v 1.10 2008/12/04 14:09:03 flameeyes Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-irmc/ChangeLog,v 1.11 2009/09/19 16:24:11 betelgeuse Exp $ + + 19 Sep 2009; Petteri Räty <betelgeuse@gentoo.org> + libopensync-plugin-irmc-0.36.ebuild: + Migrate to EAPI 2 in order to remove built_with_use usage. Make bluetooth + DEPEND satisfied by net-wireless/bluez too. Fixes bug #272737. 04 Dec 2008; Diego E. Pettenò <flameeyes@gentoo.org> libopensync-plugin-irmc-0.21.ebuild, libopensync-plugin-irmc-0.22.ebuild, diff --git a/app-pda/libopensync-plugin-irmc/libopensync-plugin-irmc-0.36.ebuild b/app-pda/libopensync-plugin-irmc/libopensync-plugin-irmc-0.36.ebuild index 1f9c68186a84..6ae605316756 100644 --- a/app-pda/libopensync-plugin-irmc/libopensync-plugin-irmc-0.36.ebuild +++ b/app-pda/libopensync-plugin-irmc/libopensync-plugin-irmc-0.36.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/app-pda/libopensync-plugin-irmc/libopensync-plugin-irmc-0.36.ebuild,v 1.2 2008/12/04 14:09:03 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-pda/libopensync-plugin-irmc/libopensync-plugin-irmc-0.36.ebuild,v 1.3 2009/09/19 16:24:11 betelgeuse Exp $ + +EAPI="2" inherit eutils cmake-utils @@ -14,8 +16,8 @@ LICENSE="GPL-2" IUSE="bluetooth irda" DEPEND="=app-pda/libopensync-${PV}* - >=dev-libs/openobex-1.0 - bluetooth? ( net-wireless/bluez-libs )" + >=dev-libs/openobex-1.0[bluetooth?,irda?] + bluetooth? ( || ( net-wireless/bluez net-wireless/bluez-libs ) )" RDEPEND="${DEPEND}" @@ -25,28 +27,12 @@ pkg_setup() { eerror "Please enable \"bluetooth\" or/and \"irda\" USE flags." die "Please enable \"bluetooth\" or/and \"irda\" USE flags." fi - - if use bluetooth && ! built_with_use dev-libs/openobex bluetooth; then - eerror "You are trying to build ${CATEGORY}/${P} with the \"bluetooth\"" - eerror "USE flag, but dev-libs/openobex was built without" - eerror "the \"bluetooth\" USE flag." - eerror "Please rebuild dev-libs/openobex with \"bluetooth\" USE flag." - die "Please rebuild dev-libs/openobex with \"bluetooth\" USE flag." - fi - - if use irda && ! built_with_use dev-libs/openobex irda; then - eerror "You are trying to build ${CATEGORY}/${P} with the \"irda\"" - eerror "USE flag, but dev-libs/openobex was built without" - eerror "the \"irda\" USE flag." - eerror "Please rebuild dev-libs/openobex with \"irda\" USE flag." - die "Please rebuild dev-libs/openobex with \"irda\" USE flag." - fi } -src_compile() { +src_configure() { local mycmakeargs=" $(cmake-utils_use_enable bluetooth BLUETOOTH) $(cmake-utils_use_enable irda IRDA)" - cmake-utils_src_compile + cmake-utils_src_configure } |