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