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/qtruby: ChangeLog qtruby-4.7.1.ebuild
Date: Wed, 07 Sep 2011 20:26:59
Message-Id: 20110907201353.0ED6920054@flycatcher.gentoo.org
1 alexxy 11/09/07 20:13:53
2
3 Modified: ChangeLog
4 Added: qtruby-4.7.1.ebuild
5 Log:
6 [kde-base] Add KDE SC 4.7.1
7
8 (Portage version: 2.2.0_alpha54/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.87 kde-base/qtruby/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/qtruby/ChangeLog?rev=1.87&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/qtruby/ChangeLog?rev=1.87&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/qtruby/ChangeLog?r1=1.86&r2=1.87
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/kde-base/qtruby/ChangeLog,v
20 retrieving revision 1.86
21 retrieving revision 1.87
22 diff -u -r1.86 -r1.87
23 --- ChangeLog 27 Jul 2011 14:04:31 -0000 1.86
24 +++ ChangeLog 7 Sep 2011 20:13:52 -0000 1.87
25 @@ -1,6 +1,11 @@
26 # ChangeLog for kde-base/qtruby
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/kde-base/qtruby/ChangeLog,v 1.86 2011/07/27 14:04:31 alexxy Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/kde-base/qtruby/ChangeLog,v 1.87 2011/09/07 20:13:52 alexxy Exp $
30 +
31 +*qtruby-4.7.1 (07 Sep 2011)
32 +
33 + 07 Sep 2011; Alexey Shvetsov <alexxy@g.o> +qtruby-4.7.1.ebuild:
34 + Version bump KDE SC 4.7.1
35
36 *qtruby-4.7.0 (27 Jul 2011)
37
38
39
40
41 1.1 kde-base/qtruby/qtruby-4.7.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/qtruby/qtruby-4.7.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/qtruby/qtruby-4.7.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: qtruby-4.7.1.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/kde-base/qtruby/qtruby-4.7.1.ebuild,v 1.1 2011/09/07 20:13:52 alexxy Exp $
51
52 EAPI=4
53
54 OPENGL_REQUIRED="always"
55 DECLARATIVE_REQUIRED="optional"
56 KDE_REQUIRED="never"
57 KDE_SCM="git"
58 USE_RUBY="ruby18"
59 # No ruby19 for three reasons:
60 # 1) it does not build (yet) - will likely be solved soon
61 # 2) cmake bails when configuring twice or more - solved with CMAKE_IN_SOURCE_BUILD=1
62 # 3) the ebuild can only be installed for one ruby variant, otherwise the compiled
63 # files with identical path+name will overwrite each other - difficult :(
64
65 inherit kde4-base ruby-ng
66
67 DESCRIPTION="Qt Ruby bindings"
68 KEYWORDS="~amd64 ~x86"
69 IUSE="debug phonon qscintilla qwt webkit"
70
71 DEPEND="
72 $(add_kdebase_dep smokeqt 'declarative?,opengl,phonon?,qscintilla?,qwt?,webkit?')
73 "
74
75 RDEPEND="${DEPEND}
76 !dev-ruby/qt4-qtruby
77 "
78
79 # Split from kdebindings-ruby in 4.7
80 add_blocker kdebindings-ruby
81
82 pkg_setup() {
83 ruby-ng_pkg_setup
84 kde4-base_pkg_setup
85 }
86
87 src_unpack() {
88 local S="${WORKDIR}/${P}"
89 kde4-base_src_unpack
90
91 cd "${WORKDIR}"
92 mkdir all
93 mv ${P} all/ || die "Could not move sources"
94 }
95
96 all_ruby_prepare() {
97 kde4-base_src_prepare
98 }
99
100 each_ruby_configure() {
101 local CMAKE_USE_DIR=${S}
102 mycmakeargs=(
103 -DRUBY_LIBRARY=$(ruby_get_libruby)
104 -DRUBY_INCLUDE_PATH=$(ruby_get_hdrdir)
105 -DRUBY_EXECUTABLE=${RUBY}
106 $(cmake-utils_use_disable declarative QtDeclarative)
107 $(cmake-utils_use_with phonon)
108 $(cmake-utils_use_with qscintilla QScintilla)
109 $(cmake-utils_use_with qwt Qwt5)
110 $(cmake-utils_use_disable webkit QtWebKit)
111 )
112 kde4-base_src_configure
113 }
114
115 each_ruby_compile() {
116 local CMAKE_USE_DIR=${S}
117 kde4-base_src_compile
118 }
119
120 each_ruby_install() {
121 local CMAKE_USE_DIR=${S}
122 kde4-base_src_install
123 }