diff options
author | Dominik Kapusta <ayoy@gentoo.org> | 2009-12-20 20:16:37 +0000 |
---|---|---|
committer | Dominik Kapusta <ayoy@gentoo.org> | 2009-12-20 20:16:37 +0000 |
commit | 486aba8cafb8a0672bdf579bf5570eea0e3b06d2 (patch) | |
tree | 25747d72b1508a4c1dbb4983a5ad2a3116f7e639 /net-im/qtwitter | |
parent | Delete older ebuild. (diff) | |
download | gentoo-2-486aba8cafb8a0672bdf579bf5570eea0e3b06d2.tar.gz gentoo-2-486aba8cafb8a0672bdf579bf5570eea0e3b06d2.tar.bz2 gentoo-2-486aba8cafb8a0672bdf579bf5570eea0e3b06d2.zip |
Porting to qt4-r2.eclass
(Portage version: 2.2_rc60/cvs/Linux x86_64)
Diffstat (limited to 'net-im/qtwitter')
-rw-r--r-- | net-im/qtwitter/ChangeLog | 5 | ||||
-rw-r--r-- | net-im/qtwitter/qtwitter-0.10.0.ebuild | 29 |
2 files changed, 13 insertions, 21 deletions
diff --git a/net-im/qtwitter/ChangeLog b/net-im/qtwitter/ChangeLog index 3924bbff23aa..cf2882c78143 100644 --- a/net-im/qtwitter/ChangeLog +++ b/net-im/qtwitter/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-im/qtwitter # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/qtwitter/ChangeLog,v 1.22 2009/12/20 09:50:18 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/qtwitter/ChangeLog,v 1.23 2009/12/20 20:16:37 ayoy Exp $ + + 20 Dec 2009; Dominik Kapusta <ayoy@gentoo.org> qtwitter-0.10.0.ebuild: + Porting to qt4-r2.eclass 20 Dec 2009; Markos Chandras <hwoarang@gentoo.org> qtwitter-0.10.0.ebuild, metadata.xml: diff --git a/net-im/qtwitter/qtwitter-0.10.0.ebuild b/net-im/qtwitter/qtwitter-0.10.0.ebuild index 7ddd9e8d2a04..0992e386fc0e 100644 --- a/net-im/qtwitter/qtwitter-0.10.0.ebuild +++ b/net-im/qtwitter/qtwitter-0.10.0.ebuild @@ -1,10 +1,13 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/qtwitter/qtwitter-0.10.0.ebuild,v 1.2 2009/12/20 09:50:18 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/qtwitter/qtwitter-0.10.0.ebuild,v 1.3 2009/12/20 20:16:37 ayoy Exp $ EAPI="2" -inherit qt4 +LANGS="nb_NO pt_BR" +LANGSLONG="ca_ES cs_CZ de_DE es_ES fr_FR it_IT ja_JP pl_PL" + +inherit qt4-r2 DESCRIPTION="A Qt-based microblogging client" HOMEPAGE="http://www.qt-apps.org/content/show.php/qTwitter?content=99087" @@ -20,26 +23,17 @@ DEPEND=">=x11-libs/qt-gui-4.5:4 >=dev-libs/qoauth-1.0" RDEPEND="${DEPEND}" -QTWITTER_LANGS="nb_NO pt_BR" -QTWITTER_NOLONGLANGS="ca_ES cs_CZ de_DE es_ES fr_FR it_IT ja_JP pl_PL" - -for L in $QTWITTER_LANGS; do - IUSE="$IUSE linguas_$L" -done -for L in $QTWITTER_NOLONGLANGS; do - IUSE="$IUSE linguas_${L%_*}" -done +DOCS="README CHANGELOG" src_prepare() { - qt4_src_prepare echo "CONFIG += nostrip" >> "${S}"/${PN}.pro local langs= for lingua in $LINGUAS; do - if has $lingua $QTWITTER_LANGS; then + if has $lingua $LANGS; then langs="$langs ${lingua}" else - for a in $QTWITTER_NOLONGLANGS; do + for a in $LANGSLONG; do if [[ $lingua == ${a%_*} ]]; then langs="$langs ${a}" fi @@ -57,10 +51,5 @@ src_prepare() { } src_configure() { - eqmake4 ${PN}.pro PREFIX="/usr" -} - -src_install() { - emake INSTALL_ROOT="${D}" install || die "emake install failed" - dodoc README CHANGELOG || die "dodoc failed" + eqmake4 PREFIX="/usr" } |