diff options
author | Alin Năstac <mrness@gentoo.org> | 2009-05-10 10:18:59 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2009-05-10 10:18:59 +0000 |
commit | da80ec89f01e336700e2a77e8249aa67cd0eba6a (patch) | |
tree | 49a6c02c9ceb94aae8694f234e3faebb5174bcc3 /app-mobilephone/wammu/wammu-0.30.1.ebuild | |
parent | Add upstream fix for sparc bug #260995 (diff) | |
download | gentoo-2-da80ec89f01e336700e2a77e8249aa67cd0eba6a.tar.gz gentoo-2-da80ec89f01e336700e2a77e8249aa67cd0eba6a.tar.bz2 gentoo-2-da80ec89f01e336700e2a77e8249aa67cd0eba6a.zip |
Version bump (#260303). Migrate to EAPI 2.
(Portage version: 2.1.6.7/cvs/Linux x86_64)
Diffstat (limited to 'app-mobilephone/wammu/wammu-0.30.1.ebuild')
-rw-r--r-- | app-mobilephone/wammu/wammu-0.30.1.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/app-mobilephone/wammu/wammu-0.30.1.ebuild b/app-mobilephone/wammu/wammu-0.30.1.ebuild new file mode 100644 index 000000000000..fe5ccf72c09c --- /dev/null +++ b/app-mobilephone/wammu/wammu-0.30.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/wammu/wammu-0.30.1.ebuild,v 1.1 2009/05/10 10:18:59 mrness Exp $ + +EAPI="2" + +inherit distutils + +DESCRIPTION="front-end for gammu (Nokia and other mobiles)" +HOMEPAGE="http://www.cihar.com/gammu/wammu/" +SRC_URI="http://dl.cihar.com/wammu/v0/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="bluetooth" + +RDEPEND=">=app-mobilephone/gammu-1.24.0 + >=dev-python/wxpython-2.8 + bluetooth? ( + || ( + dev-python/pybluez + net-wireless/gnome-bluetooth + ) + )" +DEPEND="${RDEPEND}" + +# Supported languages and translated documentation +# Be sure all languages are prefixed with a single space! +MY_AVAILABLE_LINGUAS=" af bg ca cs da de el es et fi fr gl he hu id it ko nl pl pt_BR ru sk sv zh_CN zh_TW" +IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}" + +src_prepare() { + local lang support_linguas=no + for lang in ${MY_AVAILABLE_LINGUAS} ; do + if use linguas_${lang} ; then + support_linguas=yes + break + fi + done + # install all languages when all selected LINGUAS aren't supported + if [ "${support_linguas}" = "yes" ]; then + for lang in ${MY_AVAILABLE_LINGUAS} ; do + if ! use linguas_${lang} ; then + rm -r locale/${lang} || die + fi + done + fi +} + +src_compile() { + # SKIPWXCHECK: else 'import wx' results in + # Xlib: connection to ":0.0" refused by server + SKIPWXCHECK=yes distutils_src_compile +} + +src_install() { + DOCS="AUTHORS FAQ" + SKIPWXCHECK=yes distutils_src_install +} |