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.9.0.ebuild
Date: Wed, 01 Aug 2012 22:29:46
Message-Id: 20120801221711.DA56120061@flycatcher.gentoo.org
1 johu 12/08/01 22:17:11
2
3 Modified: ChangeLog
4 Added: qtruby-4.9.0.ebuild
5 Log:
6 Version bump KDE SC 4.9.0
7
8 (Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.114 kde-base/qtruby/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/qtruby/ChangeLog?rev=1.114&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/qtruby/ChangeLog?rev=1.114&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/qtruby/ChangeLog?r1=1.113&r2=1.114
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/kde-base/qtruby/ChangeLog,v
20 retrieving revision 1.113
21 retrieving revision 1.114
22 diff -u -r1.113 -r1.114
23 --- ChangeLog 21 Jun 2012 21:54:46 -0000 1.113
24 +++ ChangeLog 1 Aug 2012 22:17:11 -0000 1.114
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.113 2012/06/21 21:54:46 dilfridge Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/kde-base/qtruby/ChangeLog,v 1.114 2012/08/01 22:17:11 johu Exp $
30 +
31 +*qtruby-4.9.0 (01 Aug 2012)
32 +
33 + 01 Aug 2012; Johannes Huber <johu@g.o> +qtruby-4.9.0.ebuild:
34 + Version bump KDE SC 4.9.0
35
36 *qtruby-4.8.4 (21 Jun 2012)
37
38
39
40
41 1.1 kde-base/qtruby/qtruby-4.9.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/qtruby/qtruby-4.9.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/qtruby/qtruby-4.9.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: qtruby-4.9.0.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.0.ebuild,v 1.1 2012/08/01 22:17:11 johu 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 ~amd64-linux ~x86-linux"
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 "
77
78 # Split from kdebindings-ruby in 4.7
79 add_blocker kdebindings-ruby
80
81 pkg_setup() {
82 ruby-ng_pkg_setup
83 kde4-base_pkg_setup
84 }
85
86 src_unpack() {
87 local S="${WORKDIR}/${P}"
88 kde4-base_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-base_src_prepare
97 }
98
99 each_ruby_configure() {
100 local CMAKE_USE_DIR=${S}
101 mycmakeargs=(
102 -DRUBY_LIBRARY=$(ruby_get_libruby)
103 -DRUBY_INCLUDE_PATH=$(ruby_get_hdrdir)
104 -DRUBY_EXECUTABLE=${RUBY}
105 $(cmake-utils_use_disable declarative QtDeclarative)
106 $(cmake-utils_use_with phonon)
107 $(cmake-utils_use_with qscintilla QScintilla)
108 $(cmake-utils_use_with qwt Qwt5)
109 $(cmake-utils_use_disable webkit QtWebKit)
110 )
111 kde4-base_src_configure
112 }
113
114 each_ruby_compile() {
115 local CMAKE_USE_DIR=${S}
116 kde4-base_src_compile
117 }
118
119 each_ruby_install() {
120 local CMAKE_USE_DIR=${S}
121 kde4-base_src_install
122 }