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: qtruby-4.9.2.ebuild ChangeLog
Date: Tue, 02 Oct 2012 18:32:22
Message-Id: 20121002181154.0122121607@flycatcher.gentoo.org
1 johu 12/10/02 18:11:53
2
3 Modified: ChangeLog
4 Added: qtruby-4.9.2.ebuild
5 Log:
6 Version bump KDE SC 4.9.2
7
8 (Portage version: 2.2.0_alpha134/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.124 kde-base/qtruby/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/qtruby/ChangeLog?rev=1.124&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/qtruby/ChangeLog?rev=1.124&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/qtruby/ChangeLog?r1=1.123&r2=1.124
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/kde-base/qtruby/ChangeLog,v
20 retrieving revision 1.123
21 retrieving revision 1.124
22 diff -u -r1.123 -r1.124
23 --- ChangeLog 21 Sep 2012 09:32:44 -0000 1.123
24 +++ ChangeLog 2 Oct 2012 18:11:53 -0000 1.124
25 @@ -1,6 +1,11 @@
26 # ChangeLog for kde-base/qtruby
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/kde-base/qtruby/ChangeLog,v 1.123 2012/09/21 09:32:44 johu Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/kde-base/qtruby/ChangeLog,v 1.124 2012/10/02 18:11:53 johu Exp $
30 +
31 +*qtruby-4.9.2 (02 Oct 2012)
32 +
33 + 02 Oct 2012; Johannes Huber <johu@g.o> +qtruby-4.9.2.ebuild:
34 + Version bump KDE SC 4.9.2
35
36 21 Sep 2012; Johannes Huber <johu@g.o> -qtruby-4.9.0.ebuild:
37 Remove KDE SC 4.9.0
38
39
40
41 1.1 kde-base/qtruby/qtruby-4.9.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/qtruby/qtruby-4.9.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/qtruby/qtruby-4.9.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: qtruby-4.9.2.ebuild
47 ===================================================================
48 # Copyright 1999-2012 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.9.2.ebuild,v 1.1 2012/10/02 18:11:53 johu Exp $
51
52 EAPI=4
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 ~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 }