Gentoo Archives: gentoo-commits

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