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.28.0.ebuild
Date: Sat, 09 Oct 2010 20:04:15
Message-Id: 20101009192944.CBA652004C@flycatcher.gentoo.org
1 fauli 10/10/09 19:29:44
2
3 Modified: ChangeLog
4 Added: gammu-1.28.0.ebuild
5 Log:
6 version bump for bug 328003, fixes test failures reported in bug 318145
7 (Portage version: 2.1.8.3/cvs/Linux i686)
8
9 Revision Changes Path
10 1.84 app-mobilephone/gammu/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-mobilephone/gammu/ChangeLog?rev=1.84&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-mobilephone/gammu/ChangeLog?rev=1.84&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-mobilephone/gammu/ChangeLog?r1=1.83&r2=1.84
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/ChangeLog,v
19 retrieving revision 1.83
20 retrieving revision 1.84
21 diff -u -r1.83 -r1.84
22 --- ChangeLog 17 Jun 2010 21:26:09 -0000 1.83
23 +++ ChangeLog 9 Oct 2010 19:29:44 -0000 1.84
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-mobilephone/gammu
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/ChangeLog,v 1.83 2010/06/17 21:26:09 patrick Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/ChangeLog,v 1.84 2010/10/09 19:29:44 fauli Exp $
29 +
30 +*gammu-1.28.0 (09 Oct 2010)
31 +
32 + 09 Oct 2010; Christian Faulhammer <fauli@g.o> +gammu-1.28.0.ebuild:
33 + version bump for bug 328003, fixes test failures reported in bug 318145
34
35 17 Jun 2010; Patrick Lauer <patrick@g.o> gammu-1.25.0-r1.ebuild,
36 gammu-1.26.1-r1.ebuild, gammu-1.27.0.ebuild:
37
38
39
40 1.1 app-mobilephone/gammu/gammu-1.28.0.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-mobilephone/gammu/gammu-1.28.0.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-mobilephone/gammu/gammu-1.28.0.ebuild?rev=1.1&content-type=text/plain
44
45 Index: gammu-1.28.0.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/gammu-1.28.0.ebuild,v 1.1 2010/10/09 19:29:44 fauli Exp $
50
51 EAPI="2"
52
53 PYTHON_DEPEND="python? 2"
54
55 inherit eutils cmake-utils distutils
56
57 DESCRIPTION="A tool to handle your cellular phone"
58 HOMEPAGE="http://www.wammu.eu/"
59 SRC_URI="http://dl.cihar.com/gammu/releases/${P}.tar.bz2"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~x86"
64 IUSE="curl debug bluetooth irda mysql postgres dbi nls python usb"
65
66 RDEPEND="bluetooth? ( net-wireless/bluez )
67 curl? ( net-misc/curl )
68 usb? ( dev-libs/libusb:1 )
69 mysql? ( virtual/mysql )
70 postgres? ( dev-db/postgresql-server )
71 dbi? ( >=dev-db/libdbi-0.8.3 )
72 dev-util/dialog
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 pkg_setup() {
86 python_set_active_version 2
87 }
88
89 src_prepare() {
90 epatch "${FILESDIR}"/${PN}-skip-locktest.patch
91
92 local lang support_linguas=no
93 for lang in ${MY_AVAILABLE_LINGUAS} ; do
94 if use linguas_${lang} ; then
95 support_linguas=yes
96 break
97 fi
98 done
99 # install all languages when all selected LINGUAS aren't supported
100 if [ "${support_linguas}" = "yes" ]; then
101 for lang in ${MY_AVAILABLE_LINGUAS} ; do
102 if ! use linguas_${lang} ; then
103 rm -rf locale/${lang} || die
104 fi
105 done
106 fi
107 }
108
109 src_configure() {
110 # debug flag is used inside cmake-utils.eclass
111 local mycmakeargs="$(cmake-utils_use_with bluetooth Bluez) \
112 $(cmake-utils_use_with irda IRDA) \
113 $(cmake-utils_use_with curl CURL) \
114 $(cmake-utils_use_with usb USB) \
115 $(cmake-utils_use_with python PYTHON) \
116 $(cmake-utils_use_with mysql MySQL) \
117 $(cmake-utils_use_with postgres Postgres) \
118 $(cmake-utils_use_with dbi LibDBI) \
119 $(cmake-utils_use_with nls GettextLibs) \
120 $(cmake-utils_use_with nls Iconv) \
121 -DBUILD_SHARED_LIBS=ON -DINSTALL_DOC_DIR=share/doc/${PF}"
122 if use python; then
123 mycmakeargs="${mycmakeargs} -DBUILD_PYTHON=$(PYTHON -a)"
124 fi
125 cmake-utils_src_configure
126 }
127
128 src_compile() {
129 cmake-utils_src_compile
130 }
131
132 src_test() {
133 LD_LIBRARY_PATH="${WORKDIR}"/${PN}_build/common cmake-utils_src_test
134 }
135
136 src_install() {
137 cmake-utils_src_install
138 }