Gentoo Archives: gentoo-commits

From: "Alexey Shvetsov (alexxy)" <alexxy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in kde-base/kdebindings-ruby: ChangeLog kdebindings-ruby-4.5.2.ebuild
Date: Wed, 06 Oct 2010 10:18:26
Message-Id: 20101006091734.3383620057@flycatcher.gentoo.org
1 alexxy 10/10/06 09:17:34
2
3 Modified: ChangeLog
4 Added: kdebindings-ruby-4.5.2.ebuild
5 Log:
6 Add KDE SC 4.5.2 =)
7
8 (Portage version: 2.2_rc88_p115/cvs/Linux x86_64, RepoMan options: --force)
9
10 Revision Changes Path
11 1.22 kde-base/kdebindings-ruby/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kdebindings-ruby/ChangeLog?rev=1.22&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kdebindings-ruby/ChangeLog?rev=1.22&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kdebindings-ruby/ChangeLog?r1=1.21&r2=1.22
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/kde-base/kdebindings-ruby/ChangeLog,v
20 retrieving revision 1.21
21 retrieving revision 1.22
22 diff -u -r1.21 -r1.22
23 --- ChangeLog 15 Sep 2010 09:04:04 -0000 1.21
24 +++ ChangeLog 6 Oct 2010 09:17:34 -0000 1.22
25 @@ -1,6 +1,12 @@
26 # ChangeLog for kde-base/kdebindings-ruby
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebindings-ruby/ChangeLog,v 1.21 2010/09/15 09:04:04 reavertm Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebindings-ruby/ChangeLog,v 1.22 2010/10/06 09:17:34 alexxy Exp $
30 +
31 +*kdebindings-ruby-4.5.2 (05 Oct 2010)
32 +
33 + 05 Oct 2010; Alexey Shvetsov <alexxy@g.o>
34 + +kdebindings-ruby-4.5.2.ebuild:
35 + Version bump KDE SC 4.5.2
36
37 15 Sep 2010; Maciej Mrozowski <reavertm@g.o>
38 kdebindings-ruby-4.4.5.ebuild:
39
40
41
42 1.1 kde-base/kdebindings-ruby/kdebindings-ruby-4.5.2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kdebindings-ruby/kdebindings-ruby-4.5.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/kdebindings-ruby/kdebindings-ruby-4.5.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: kdebindings-ruby-4.5.2.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/kde-base/kdebindings-ruby/kdebindings-ruby-4.5.2.ebuild,v 1.1 2010/10/06 09:17:34 alexxy Exp $
52
53 EAPI="2"
54
55 KMNAME="kdebindings"
56 KMMODULE="ruby"
57 WEBKIT_REQUIRED="optional"
58
59 USE_RUBY="ruby18"
60 # No ruby19 for three reasons:
61 # 1) it does not build (yet) - will likely be solved soon
62 # 2) cmake bails when configuring twice or more - solved with CMAKE_IN_SOURCE_BUILD=1
63 # 3) the ebuild can only be installed for one ruby variant, otherwise the compiled
64 # files with identical path+name will overwrite each other - difficult :(
65
66 inherit kde4-meta ruby-ng
67
68 DESCRIPTION="KDE Ruby bindings"
69 KEYWORDS="~amd64 ~ppc ~x86"
70 IUSE="akonadi debug okular phonon plasma qscintilla qwt semantic-desktop"
71
72 DEPEND="
73 $(add_kdebase_dep smoke 'akonadi?,okular?,phonon?,qscintilla?,qwt?,semantic-desktop?,webkit?')
74 "
75 RDEPEND="${DEPEND}
76 !dev-ruby/qt4-qtruby
77 "
78
79 # Merged with kdebindings-ruby after 4.4.80
80 add_blocker krossruby
81
82 pkg_setup() {
83 ruby-ng_pkg_setup
84 kde4-meta_pkg_setup
85 }
86
87 src_unpack() {
88 kde4-meta_src_unpack
89
90 cd "${WORKDIR}"
91 mkdir all
92 mv ${P} all/ || die "Could not move sources"
93 }
94
95 all_ruby_prepare() {
96 kde4-meta_src_prepare
97
98 sed -i -e "s#smoke/smoke.h#smoke.h#" \
99 ruby/qtruby/src/handlers.cpp \
100 ruby/qtruby/src/marshall.h \
101 ruby/qtruby/src/marshall_types.h \
102 ruby/qtruby/src/Qt.cpp \
103 ruby/qtruby/src/qtruby.cpp \
104 ruby/qtruby/src/qtruby.h \
105 ruby/qtruby/src/smokeruby.h || die
106 }
107
108 each_ruby_configure() {
109 CMAKE_USE_DIR=${S}
110 mycmakeargs=(
111 -DRUBY_LIBRARY=$(ruby_get_libruby)
112 -DRUBY_INCLUDE_PATH=$(ruby_get_hdrdir)
113 -DRUBY_EXECUTABLE=${RUBY}
114 $(cmake-utils_use_with akonadi)
115 $(cmake-utils_use_with akonadi KdepimLibs)
116 $(cmake-utils_use_with okular)
117 $(cmake-utils_use_with phonon)
118 $(cmake-utils_use_with plasma)
119 $(cmake-utils_use_with qscintilla QScintilla)
120 $(cmake-utils_use_with qwt Qwt)
121 $(cmake-utils_use_with semantic-desktop Nepomuk)
122 $(cmake-utils_use_with semantic-desktop Soprano)
123 $(cmake-utils_use_disable webkit QtWebKit)
124 )
125 kde4-meta_src_configure
126 }
127
128 each_ruby_compile() {
129 CMAKE_USE_DIR=${S}
130 kde4-meta_src_compile
131 }
132
133 each_ruby_install() {
134 CMAKE_USE_DIR=${S}
135 kde4-meta_src_install
136 }