/[gentoo-x86]/mail-client/trojita/trojita-0.3.92.ebuild
Gentoo

Contents of /mail-client/trojita/trojita-0.3.92.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Tue May 7 08:14:42 2013 UTC (6 years, 5 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Version bump to 0.3.93, update LINGUAS, remove old

(Portage version: 2.1.11.63/cvs/Linux ppc64, signed Manifest commit with key 7194459F)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/mail-client/trojita/trojita-0.3.92.ebuild,v 1.3 2013/04/07 13:59:47 dilfridge Exp $
4
5 EAPI=4
6
7 QT_REQUIRED="4.6.0"
8 EGIT_REPO_URI="git://anongit.kde.org/${PN}.git"
9 [[ ${PV} == "9999" ]] && GIT_ECLASS="git-2"
10 inherit qt4-r2 virtualx ${GIT_ECLASS}
11
12 DESCRIPTION="A Qt IMAP e-mail client"
13 HOMEPAGE="http://trojita.flaska.net/"
14 if [[ ${PV} == "9999" ]]; then
15 SRC_URI=""
16 KEYWORDS=""
17 else
18 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
19 KEYWORDS="~amd64 ~ppc ~x86"
20 MY_LANGS="bs cs de es et ga gl hu ia lt nl pl pt pt_BR sk sv tr uk zh_CN zh_TW"
21 fi
22
23 LICENSE="|| ( GPL-2 GPL-3 )"
24 SLOT="0"
25 IUSE="debug test +zlib"
26 for MY_LANG in ${MY_LANGS} ; do
27 IUSE="${IUSE} linguas_${MY_LANG}"
28 done
29
30 RDEPEND="
31 >=dev-qt/qtgui-${QT_REQUIRED}:4
32 >=dev-qt/qtsql-${QT_REQUIRED}:4[sqlite]
33 >=dev-qt/qtwebkit-${QT_REQUIRED}:4
34 "
35 DEPEND="${RDEPEND}
36 test? ( >=dev-qt/qttest-${QT_REQUIRED}:4 )
37 zlib? (
38 virtual/pkgconfig
39 sys-libs/zlib
40 )
41 "
42
43 src_configure() {
44 local myopts=""
45 use debug && myopts="$myopts CONFIG+=debug"
46 use test || myopts="$myopts CONFIG+=disable_tests"
47 use zlib || myopts="$myopts CONFIG+=disable_zlib"
48 if [[ ${MY_LANGS} ]]; then
49 rm po/trojita_common_x-test.po
50 for x in po/*.po; do
51 mylang=${x#po/trojita_common_}
52 mylang=${mylang%.po}
53 use linguas_$mylang || rm $x
54 done
55 fi
56
57 eqmake4 PREFIX=/usr $myopts
58 }
59
60 src_test() {
61 Xemake test
62 }

  ViewVC Help
Powered by ViewVC 1.1.20