1 |
commit: 33ba954a2247e36de35acae4f96da4dceb0bceed |
2 |
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 2 20:37:20 2016 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 2 20:50:17 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33ba954a |
7 |
|
8 |
app-mobilephone/wammu: 0.40 |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
|
12 |
app-mobilephone/wammu/Manifest | 1 + |
13 |
app-mobilephone/wammu/wammu-0.40.ebuild | 64 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 65 insertions(+) |
15 |
|
16 |
diff --git a/app-mobilephone/wammu/Manifest b/app-mobilephone/wammu/Manifest |
17 |
index fd46156..c110d24 100644 |
18 |
--- a/app-mobilephone/wammu/Manifest |
19 |
+++ b/app-mobilephone/wammu/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST wammu-0.35.tar.bz2 572550 SHA256 fba70bb0a067f20bb5da5f16061e6cc70a49761ca11f49a897af678271666d7a SHA512 c9c24a170d0a1b1507799f77719d544a04b0c894172e0158efc782f25ec894eaa65e2a89b53db431a96b5f88ccadf4dddc5025ba84ac09d54aa5d37b2e658461 WHIRLPOOL 8b6b4edc77c46f20b449077f198d4e51ad81edd6846c69a4945ebf207ae01431a3cb31541e8f07c1b8c90fa37c2034acec771e5d563e0bf756aba1f175f93a9f |
22 |
DIST wammu-0.36.tar.bz2 581781 SHA256 8107d69438adc5c9c24565f455cac31ecd5b9ef754f26a6b5ebab03b49131696 SHA512 08caaeb7ade5877b441baad2f3f1f653ed1c25c3fab213e093213525fe326f09ee8ccda4db834f82b00a9d7e9b2cb235da7be7f328c091b6067543d9cdbfb14c WHIRLPOOL 6b4b8aff5363bbf39bb9b67765c9373600642592bc910d3b4d83d09d88d5b5ad4945d4f27f2c75c383ae55f66cc71e21756fcd93e1adee3dfeeef5a766f449c8 |
23 |
+DIST wammu-0.40.tar.bz2 687062 SHA256 cffd4fc6cc7b9433b3f589d51671a5ac5e188abbf676ebe0ce94011933fdb2ff SHA512 2ed5d5cdd63b3731808c5fa8cc36caf394c4ccf714eb4ef39a25f1e7967d8ccf8b69db5aeff37ff0d1bbf7cefec51fe070a5f0b90d0cb8271f1a3d243eaf06fd WHIRLPOOL b05dac88593c5ae3c01f63984824690991a347e4efff2bf3595b1088d9903843e018690845391ab48f62ab7d17f11d0b3a801103a1c408822b1c9afdd88f7150 |
24 |
|
25 |
diff --git a/app-mobilephone/wammu/wammu-0.40.ebuild b/app-mobilephone/wammu/wammu-0.40.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..6707609 |
28 |
--- /dev/null |
29 |
+++ b/app-mobilephone/wammu/wammu-0.40.ebuild |
30 |
@@ -0,0 +1,64 @@ |
31 |
+# Copyright 1999-2016 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=5 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python2_7 ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Front-end for gammu to access mobile phones easily" |
42 |
+HOMEPAGE="http://www.wammu.eu/" |
43 |
+SRC_URI="http://dl.cihar.com/wammu/v0/${P}.tar.bz2" |
44 |
+ |
45 |
+LICENSE="GPL-2" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="bluetooth gnome" |
49 |
+ |
50 |
+RDEPEND="|| ( ( >=app-mobilephone/gammu-1.36 dev-python/python-gammu ) |
51 |
+ >=app-mobilephone/gammu-1.25.0[python] ) |
52 |
+ >=dev-python/wxpython-2.8:*[${PYTHON_USEDEP}] |
53 |
+ bluetooth? ( dev-python/pybluez[${PYTHON_USEDEP}] |
54 |
+ gnome? ( net-wireless/gnome-bluetooth ) |
55 |
+ )" |
56 |
+DEPEND="${RDEPEND}" |
57 |
+ |
58 |
+# Supported languages and translated documentation |
59 |
+# Be sure all languages are prefixed with a single space! |
60 |
+MY_AVAILABLE_LINGUAS=" af ar bg bn ca cs da de el en_GB es et fi fr gl he hu id it ko nl pl pt_BR ro ru sk sv sw tr uk zh_CN zh_TW" |
61 |
+IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}" |
62 |
+ |
63 |
+# Required to source locale content out of the box |
64 |
+DISTUTILS_IN_SOURCE_BUILD=1 |
65 |
+ |
66 |
+src_prepare() { |
67 |
+ local lang support_linguas=no |
68 |
+ for lang in ${MY_AVAILABLE_LINGUAS} ; do |
69 |
+ if use linguas_${lang} ; then |
70 |
+ support_linguas=yes |
71 |
+ break |
72 |
+ fi |
73 |
+ done |
74 |
+ # install all languages when all selected LINGUAS aren't supported |
75 |
+ if [ "${support_linguas}" = "yes" ]; then |
76 |
+ for lang in ${MY_AVAILABLE_LINGUAS} ; do |
77 |
+ if ! use linguas_${lang} ; then |
78 |
+ rm -r locale/${lang} || die |
79 |
+ fi |
80 |
+ done |
81 |
+ fi |
82 |
+ |
83 |
+ distutils-r1_src_prepare |
84 |
+} |
85 |
+ |
86 |
+src_compile() { |
87 |
+ # SKIPWXCHECK: else 'import wx' results in |
88 |
+ # Xlib: connection to ":0.0" refused by server |
89 |
+ SKIPWXCHECK=yes distutils-r1_src_compile |
90 |
+} |
91 |
+ |
92 |
+src_install() { |
93 |
+ SKIPWXCHECK=yes distutils-r1_src_install |
94 |
+} |