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