Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-mobilephone/gnokii/
Date: Sun, 30 Apr 2017 11:53:20
Message-Id: 1493553187.8cdc25559e48994fef35ef125a37822b6a948097.kensington@gentoo
1 commit: 8cdc25559e48994fef35ef125a37822b6a948097
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 30 11:52:07 2017 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 30 11:53:07 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cdc2555
7
8 app-mobilephone/gnokii: remove 0.6.31-r0
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 app-mobilephone/gnokii/gnokii-0.6.31.ebuild | 126 ----------------------------
13 1 file changed, 126 deletions(-)
14
15 diff --git a/app-mobilephone/gnokii/gnokii-0.6.31.ebuild b/app-mobilephone/gnokii/gnokii-0.6.31.ebuild
16 deleted file mode 100644
17 index 71b4f6b4676..00000000000
18 --- a/app-mobilephone/gnokii/gnokii-0.6.31.ebuild
19 +++ /dev/null
20 @@ -1,126 +0,0 @@
21 -# Copyright 1999-2014 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=4
25 -
26 -inherit eutils linux-info autotools
27 -
28 -HOMEPAGE="http://www.gnokii.org/"
29 -if [ "$PV" != "9999" ]; then
30 - SRC_URI="http://www.gnokii.org/download/${PN}/${P}.tar.bz2"
31 - KEYWORDS="amd64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
32 -else
33 - SRC_URI=""
34 - KEYWORDS="hppa sparc"
35 - EGIT_REPO_URI="git://git.savannah.nongnu.org/${PN}.git
36 - http://git.savannah.gnu.org/r/${PN}.git"
37 - inherit git-2
38 -fi
39 -DESCRIPTION="user space driver and tools for use with mobile phones"
40 -
41 -LICENSE="GPL-2"
42 -SLOT="0"
43 -IUSE="nls bluetooth ical irda sms postgres mysql usb X debug +pcsc-lite"
44 -
45 -RDEPEND="!app-mobilephone/smstools
46 - pcsc-lite? ( sys-apps/pcsc-lite )
47 - X? ( x11-libs/gtk+:2 )
48 - bluetooth? ( kernel_linux? ( net-wireless/bluez ) )
49 - sms? (
50 - !app-mobilephone/smstools
51 - dev-libs/glib:2
52 - postgres? ( >=dev-db/postgresql-8.0 )
53 - mysql? ( >=virtual/mysql-4.1 )
54 - )
55 - ical? ( dev-libs/libical )
56 - usb? ( =virtual/libusb-0* )"
57 -DEPEND="${RDEPEND}
58 - irda? ( virtual/os-headers )
59 - nls? ( sys-devel/gettext )
60 - dev-util/intltool"
61 -
62 -CONFIG_CHECK="~UNIX98_PTYS"
63 -
64 -S="${WORKDIR}/${PN}-${PV%.1}"
65 -
66 -# Supported languages and translated documentation
67 -# Be sure all languages are prefixed with a single space!
68 -MY_AVAILABLE_LINGUAS=" cs de et fi fr it nl pl pt sk sl sv zh_CN"
69 -IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}"
70 -
71 -src_prepare() {
72 - if [ "$PV" != "9999" ]; then
73 - epatch "${FILESDIR}"/${P}-fix_xgnokii_inclusion.patch
74 - else
75 - epatch "${FILESDIR}"/${P}-icon.patch
76 - epatch "${FILESDIR}"/${P}-translations.patch
77 - intltoolize --force --copy --automake || die "intltoolize error"
78 - fi
79 -
80 - eautoreconf
81 -}
82 -
83 -src_configure() {
84 - strip-linguas ${MY_AVAILABLE_LINGUAS}
85 -
86 - local config_xdebug="--disable-xdebug"
87 - use X && use debug && config_xdebug="--enable-xdebug"
88 -
89 - econf \
90 - $(use_enable nls) \
91 - $(use_enable ical libical) \
92 - $(use_enable usb libusb) \
93 - $(use_enable irda) \
94 - $(use_enable bluetooth) \
95 - $(use_with X x) \
96 - $(use_enable sms smsd) \
97 - $(use_enable mysql) \
98 - $(use_enable postgres) \
99 - $(use_enable debug fulldebug) \
100 - ${config_xdebug} \
101 - $(use_enable debug rlpdebug) \
102 - --enable-security \
103 - --disable-unix98test \
104 - $(use_enable pcsc-lite libpcsclite)
105 -}
106 -
107 -src_install() {
108 - default
109 -
110 - insinto /etc
111 - doins Docs/sample/gnokiirc
112 - sed -i -e 's:/usr/local:'"${EPREFIX}"'/usr:' "${ED}/etc/gnokiirc"
113 -
114 - # only one file needs suid root to make a pseudo device
115 - fperms 4755 /usr/sbin/mgnokiidev
116 -
117 - if use X; then
118 - newicon Docs/sample/logo/gnokii.xpm xgnokii.xpm
119 - fi
120 -
121 - if use sms; then
122 - pushd "${S}/smsd"
123 - insinto /usr/share/doc/${PN}/smsd
124 - use mysql && doins sms.tables.mysql.sql README.MySQL
125 - use postgres && doins sms.tables.pq.sql
126 - doins README ChangeLog README.Tru64 action
127 - popd
128 - fi
129 -}
130 -
131 -src_test() {
132 - echo common/phones/fake.c >> "${S}"/po/POTFILES.in
133 - default
134 -}
135 -
136 -pkg_postinst() {
137 - elog "Make sure the user that runs gnokii has read/write access to the device"
138 - elog "which your phone is connected to."
139 - elog "The simple way of doing that is to add your user to the uucp group."
140 - if [ "$PV" == "9999" ]; then
141 - elog "This is the GIT version of ${PN}. It is experimental but may have important bug fixes."
142 - elog "You can keep track of the most recent commits at:"
143 - elog " http://git.savannah.gnu.org/cgit/gnokii.git/"
144 - elog "Whenever there is a change you are interested in, you can re-emerge ${P}."
145 - fi
146 -}