Gentoo Archives: gentoo-commits

From: "Christian Faulhammer (fauli)" <fauli@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-mobilephone/gammu: ChangeLog gammu-1.27.0.ebuild
Date: Mon, 01 Feb 2010 21:46:26
Message-Id: E1Nc469-0008Tp-A9@stork.gentoo.org
1 fauli 10/02/01 21:46:21
2
3 Modified: ChangeLog
4 Added: gammu-1.27.0.ebuild
5 Log:
6 version bump for bug 298020
7 (Portage version: 2.1.7.16/cvs/Linux i686)
8
9 Revision Changes Path
10 1.79 app-mobilephone/gammu/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gammu/ChangeLog?rev=1.79&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gammu/ChangeLog?rev=1.79&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gammu/ChangeLog?r1=1.78&r2=1.79
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/ChangeLog,v
19 retrieving revision 1.78
20 retrieving revision 1.79
21 diff -u -r1.78 -r1.79
22 --- ChangeLog 24 Oct 2009 11:02:16 -0000 1.78
23 +++ ChangeLog 1 Feb 2010 21:46:20 -0000 1.79
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-mobilephone/gammu
26 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/ChangeLog,v 1.78 2009/10/24 11:02:16 nixnut Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/ChangeLog,v 1.79 2010/02/01 21:46:20 fauli Exp $
30 +
31 +*gammu-1.27.0 (01 Feb 2010)
32 +
33 + 01 Feb 2010; Christian Faulhammer <fauli@g.o> +gammu-1.27.0.ebuild:
34 + version bump for bug 298020
35
36 24 Oct 2009; nixnut <nixnut@g.o> gammu-1.25.0-r1.ebuild:
37 ppc stable #283672
38
39
40
41 1.1 app-mobilephone/gammu/gammu-1.27.0.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gammu/gammu-1.27.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gammu/gammu-1.27.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: gammu-1.27.0.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/gammu-1.27.0.ebuild,v 1.1 2010/02/01 21:46:20 fauli Exp $
51
52 EAPI="2"
53
54 inherit cmake-utils distutils
55
56 DESCRIPTION="a fork of the gnokii project, a tool to handle your cellular phone"
57 HOMEPAGE="http://www.gammu.org"
58 SRC_URI="http://dl.cihar.com/gammu/releases/${P}.tar.bz2"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~ppc ~x86"
63 IUSE="curl debug bluetooth irda mysql postgres dbi nls python usb"
64
65 RDEPEND="bluetooth? ( || ( net-wireless/bluez net-wireless/bluez-libs ) )
66 curl? ( net-misc/curl )
67 usb? ( dev-libs/libusb:1 )
68 mysql? ( virtual/mysql )
69 postgres? ( virtual/postgresql-server )
70 dbi? ( >=dev-db/libdbi-0.8.3 )
71 dev-util/dialog
72 dev-lang/python
73 !dev-python/python-gammu" # needs to be removed from the tree
74 DEPEND="${RDEPEND}
75 irda? ( virtual/os-headers )
76 nls? ( sys-devel/gettext )
77 dev-util/cmake"
78
79 # sys-devel/gettext is needed for creating .mo files
80 # Supported languages and translated documentation
81 # Be sure all languages are prefixed with a single space!
82 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 sw zh_CN zh_TW"
83 IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}"
84
85 src_prepare() {
86 epatch "${FILESDIR}"/${PN}-skip-locktest.patch
87
88 local lang support_linguas=no
89 for lang in ${MY_AVAILABLE_LINGUAS} ; do
90 if use linguas_${lang} ; then
91 support_linguas=yes
92 break
93 fi
94 done
95 # install all languages when all selected LINGUAS aren't supported
96 if [ "${support_linguas}" = "yes" ]; then
97 for lang in ${MY_AVAILABLE_LINGUAS} ; do
98 if ! use linguas_${lang} ; then
99 rm -rf locale/${lang} || die
100 fi
101 done
102 fi
103 }
104
105 src_configure() {
106 # debug flag is used inside cmake-utils.eclass
107 local mycmakeargs="$(cmake-utils_use_with bluetooth Bluez) \
108 $(cmake-utils_use_with irda IRDA) \
109 $(cmake-utils_use_with curl CURL) \
110 $(cmake-utils_use_with usb USB) \
111 $(cmake-utils_use_with python PYTHON) \
112 $(cmake-utils_use_with mysql MySQL) \
113 $(cmake-utils_use_with postgres Postgres) \
114 $(cmake-utils_use_with dbi LibDBI) \
115 $(cmake-utils_use_with nls GettextLibs) \
116 $(cmake-utils_use_with nls Iconv) \
117 -DBUILD_SHARED_LIBS=ON -DINSTALL_DOC_DIR=share/doc/${PF}"
118 if use python; then
119 mycmakeargs="${mycmakeargs} -DBUILD_PYTHON=/usr/bin/python"
120 fi
121 cmake-utils_src_configure
122 }
123
124 src_compile() {
125 cmake-utils_src_compile
126 }
127
128 src_test() {
129 LD_LIBRARY_PATH="${WORKDIR}"/${PN}_build/common cmake-utils_src_test
130 }
131
132 src_install() {
133 cmake-utils_src_install
134 }