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

Contents of /mail-client/trojita/trojita-0.3.96-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Mar 6 12:13:48 2014 UTC (5 years, 7 months ago) by scarabeus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Version bump to 0.4 and update linguas. Proxy commit for jkt. Wrt bug#503518

(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 8EEE3BE8)

1 # Copyright 1999-2014 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.96-r1.ebuild,v 1.2 2014/01/14 08:20:46 ago Exp $
4
5 EAPI=5
6
7 QT_REQUIRED="4.8.0"
8 EGIT_REPO_URI="git://anongit.kde.org/${PN}.git"
9 [[ ${PV} == "9999" ]] && GIT_ECLASS="git-2"
10
11 inherit cmake-utils virtualx ${GIT_ECLASS}
12
13 DESCRIPTION="A Qt IMAP e-mail client"
14 HOMEPAGE="http://trojita.flaska.net/"
15 if [[ ${PV} == "9999" ]]; then
16 SRC_URI=""
17 KEYWORDS=""
18 else
19 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
20 KEYWORDS="~amd64 ~ppc ~x86"
21 MY_LANGS="bs cs da de el es et fr ga gl hu ia lt mr nl pl pt pt_BR ro sk sv tr ug uk zh_CN zh_TW"
22 fi
23
24 LICENSE="|| ( GPL-2 GPL-3 )"
25 SLOT="0"
26 IUSE="debug test +zlib"
27 for MY_LANG in ${MY_LANGS} ; do
28 IUSE="${IUSE} linguas_${MY_LANG}"
29 done
30
31 RDEPEND="
32 >=dev-qt/qtbearer-${QT_REQUIRED}:4
33 >=dev-qt/qtgui-${QT_REQUIRED}:4
34 >=dev-qt/qtsql-${QT_REQUIRED}:4[sqlite]
35 >=dev-qt/qtwebkit-${QT_REQUIRED}:4
36 "
37 DEPEND="${RDEPEND}
38 test? ( >=dev-qt/qttest-${QT_REQUIRED}:4 )
39 zlib? (
40 virtual/pkgconfig
41 sys-libs/zlib
42 )
43 "
44
45 DOCS="README LICENSE"
46
47 src_configure() {
48 local mycmakeargs=(
49 $(cmake-utils_use_with test TESTS)
50 $(cmake-utils_use_with zlib ZLIB)
51 )
52 if [[ ${MY_LANGS} ]]; then
53 rm po/trojita_common_x-test.po
54 for x in po/*.po; do
55 mylang=${x#po/trojita_common_}
56 mylang=${mylang%.po}
57 use linguas_$mylang || rm $x
58 done
59 fi
60
61 # the build system is taking a look at `git describe ... --dirty` and
62 # gentoo's modifications to CMakeLists.txt break these
63 sed -i "s/--dirty//" "${S}/cmake/TrojitaVersion.cmake" || die "Cannot fix the version check"
64
65 cmake-utils_src_configure
66 }
67
68 src_test() {
69 VIRTUALX_COMMAND=cmake-utils_src_test virtualmake
70 }

  ViewVC Help
Powered by ViewVC 1.1.20