Gentoo Archives: gentoo-commits

From: "Maciej Mrozowski (reavertm)" <reavertm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/liblastfm: ChangeLog liblastfm-0.3.0.ebuild
Date: Mon, 05 Apr 2010 11:35:23
Message-Id: 20100405113521.237AB2C04A@corvid.gentoo.org
1 reavertm 10/04/05 11:35:20
2
3 Modified: ChangeLog liblastfm-0.3.0.ebuild
4 Log:
5 Fixed, bug 287906 - support for ruby-1.9
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.9 media-libs/liblastfm/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/liblastfm/ChangeLog?rev=1.9&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/liblastfm/ChangeLog?rev=1.9&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/liblastfm/ChangeLog?r1=1.8&r2=1.9
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/media-libs/liblastfm/ChangeLog,v
18 retrieving revision 1.8
19 retrieving revision 1.9
20 diff -u -r1.8 -r1.9
21 --- ChangeLog 5 Apr 2010 07:03:54 -0000 1.8
22 +++ ChangeLog 5 Apr 2010 11:35:20 -0000 1.9
23 @@ -1,6 +1,10 @@
24 # ChangeLog for media-libs/liblastfm
25 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/media-libs/liblastfm/ChangeLog,v 1.8 2010/04/05 07:03:54 reavertm Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/media-libs/liblastfm/ChangeLog,v 1.9 2010/04/05 11:35:20 reavertm Exp $
28 +
29 + 05 Apr 2010; Maciej Mrozowski <reavertm@g.o>
30 + liblastfm-0.3.0.ebuild:
31 + Fixed, bug 287906 - support for ruby-1.9
32
33 05 Apr 2010; Maciej Mrozowski <reavertm@g.o>
34 liblastfm-0.3.0.ebuild:
35
36
37
38 1.10 media-libs/liblastfm/liblastfm-0.3.0.ebuild
39
40 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/liblastfm/liblastfm-0.3.0.ebuild?rev=1.10&view=markup
41 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/liblastfm/liblastfm-0.3.0.ebuild?rev=1.10&content-type=text/plain
42 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/liblastfm/liblastfm-0.3.0.ebuild?r1=1.9&r2=1.10
43
44 Index: liblastfm-0.3.0.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/media-libs/liblastfm/liblastfm-0.3.0.ebuild,v
47 retrieving revision 1.9
48 retrieving revision 1.10
49 diff -u -r1.9 -r1.10
50 --- liblastfm-0.3.0.ebuild 5 Apr 2010 07:03:54 -0000 1.9
51 +++ liblastfm-0.3.0.ebuild 5 Apr 2010 11:35:20 -0000 1.10
52 @@ -1,6 +1,6 @@
53 # Copyright 1999-2010 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/media-libs/liblastfm/liblastfm-0.3.0.ebuild,v 1.9 2010/04/05 07:03:54 reavertm Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/media-libs/liblastfm/liblastfm-0.3.0.ebuild,v 1.10 2010/04/05 11:35:20 reavertm Exp $
57
58 EAPI="2"
59
60 @@ -21,9 +21,8 @@
61 >=x11-libs/qt-core-4.5:4
62 >=x11-libs/qt-sql-4.5:4
63 "
64 -# Unrestrict Ruby depend for next release!
65 DEPEND="${COMMON_DEPEND}
66 - =dev-lang/ruby-1.8*
67 + dev-lang/ruby
68 >=x11-libs/qt-test-4.5:4
69 "
70 RDEPEND="${COMMON_DEPEND}
71 @@ -34,6 +33,12 @@
72 # Fix multilib paths
73 find . -name *.pro -exec sed -i -e "/target.path/s/lib/$(get_libdir)/g" {} + \
74 || die "failed to fix multilib paths"
75 +
76 + # >=1.9 ruby compatibility
77 + case `ruby -e 'puts RUBY_VERSION'` in
78 + 1.8.*) ;;
79 + *) sed -e "s/require 'ftools'//g" -i admin/* || die ;;
80 + esac
81 }
82
83 src_configure() {
84 @@ -42,5 +47,6 @@
85
86 src_install() {
87 emake DESTDIR="${D}${ROOT}" install || die "emake install failed"
88 +
89 dodoc README || die "dodoc failed"
90 }