Gentoo Archives: gentoo-commits

From: "Michael Palimaka (kensington)" <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-mobilephone/ganyremote: ganyremote-6.3.3.ebuild ChangeLog ganyremote-6.1.ebuild
Date: Wed, 04 Mar 2015 10:43:39
Message-Id: 20150304104332.C049A1303D@oystercatcher.gentoo.org
1 kensington 15/03/04 10:43:32
2
3 Modified: ChangeLog
4 Added: ganyremote-6.3.3.ebuild
5 Removed: ganyremote-6.1.ebuild
6 Log:
7 Version bump. Remove old.
8
9 (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key 0x06B1F38DCA45A1EC!)
10
11 Revision Changes Path
12 1.29 app-mobilephone/ganyremote/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-mobilephone/ganyremote/ChangeLog?rev=1.29&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-mobilephone/ganyremote/ChangeLog?rev=1.29&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-mobilephone/ganyremote/ChangeLog?r1=1.28&r2=1.29
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-mobilephone/ganyremote/ChangeLog,v
21 retrieving revision 1.28
22 retrieving revision 1.29
23 diff -u -r1.28 -r1.29
24 --- ChangeLog 4 Mar 2015 10:27:46 -0000 1.28
25 +++ ChangeLog 4 Mar 2015 10:43:32 -0000 1.29
26 @@ -1,6 +1,12 @@
27 # ChangeLog for app-mobilephone/ganyremote
28 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/ganyremote/ChangeLog,v 1.28 2015/03/04 10:27:46 kensington Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/ganyremote/ChangeLog,v 1.29 2015/03/04 10:43:32 kensington Exp $
31 +
32 +*ganyremote-6.3.3 (04 Mar 2015)
33 +
34 + 04 Mar 2015; Michael Palimaka <kensington@g.o>
35 + +ganyremote-6.3.3.ebuild, -ganyremote-6.1.ebuild:
36 + Version bump. Remove old.
37
38 04 Mar 2015; Michael Palimaka <kensington@g.o> metadata.xml:
39 Add upstream metadata.
40
41
42
43 1.1 app-mobilephone/ganyremote/ganyremote-6.3.3.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-mobilephone/ganyremote/ganyremote-6.3.3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-mobilephone/ganyremote/ganyremote-6.3.3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: ganyremote-6.3.3.ebuild
49 ===================================================================
50 # Copyright 1999-2015 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/app-mobilephone/ganyremote/ganyremote-6.3.3.ebuild,v 1.1 2015/03/04 10:43:32 kensington Exp $
53
54 EAPI=5
55
56 PYTHON_COMPAT=( python2_7 )
57 inherit autotools python-r1
58
59 DESCRIPTION="Gnome frontend to Anyremote"
60 HOMEPAGE="http://anyremote.sourceforge.net/"
61 SRC_URI="mirror://sourceforge/anyremote/${P}.tar.gz"
62
63 LICENSE="GPL-2+"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86"
66 IUSE="bluetooth"
67
68 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
69
70 RDEPEND="${PYTHON_DEPS}
71 >=app-mobilephone/anyremote-6.5[bluetooth=]
72 dev-python/pygtk[${PYTHON_USEDEP}]
73 bluetooth? ( dev-python/pybluez[${PYTHON_USEDEP}] )
74 "
75 DEPEND="${RDEPEND}
76 sys-devel/gettext
77 "
78
79 DOCS=( AUTHORS ChangeLog NEWS README )
80
81 src_prepare() {
82 # using gettextize no-interactive example from dev-util/bless package
83 cp $(type -p gettextize) "${T}"/ || die
84 sed -i -e 's:read dummy < /dev/tty::' "${T}/gettextize" || die
85 "${T}"/gettextize -f --no-changelog > /dev/null || die
86
87 # remove deprecated entry
88 sed -e "/Encoding=UTF-8/d" \
89 -i ganyremote.desktop || die "fixing .desktop file failed"
90
91 # fix documentation directory wrt bug #316087
92 sed -i "s/doc\/${PN}/doc\/${PF}/g" Makefile.am || die
93 eautoreconf
94
95 # disable bluetooth check to avoid errors
96 if ! use bluetooth ; then
97 sed -e "s/usepybluez = True/usepybluez = False/" -i ganyremote || die
98 fi
99 }
100
101 src_install() {
102 default
103
104 python_replicate_script "${D}"/usr/bin/ganyremote
105 }