Gentoo Archives: gentoo-commits

From: "Manuel Rueger (mrueg)" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in kde-base/qtruby: qtruby-4.14.3-r1.ebuild ChangeLog
Date: Tue, 02 Dec 2014 13:05:24
Message-Id: 20141202130519.7655EB5B2@oystercatcher.gentoo.org
1 mrueg 14/12/02 13:05:19
2
3 Modified: ChangeLog
4 Added: qtruby-4.14.3-r1.ebuild
5 Log:
6 Revision bump to default to ruby20.
7
8 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key )
9
10 Revision Changes Path
11 1.225 kde-base/qtruby/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/qtruby/ChangeLog?rev=1.225&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/qtruby/ChangeLog?rev=1.225&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/qtruby/ChangeLog?r1=1.224&r2=1.225
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/kde-base/qtruby/ChangeLog,v
20 retrieving revision 1.224
21 retrieving revision 1.225
22 diff -u -r1.224 -r1.225
23 --- ChangeLog 16 Nov 2014 12:21:31 -0000 1.224
24 +++ ChangeLog 2 Dec 2014 13:05:19 -0000 1.225
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.224 2014/11/16 12:21:31 alexxy Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/kde-base/qtruby/ChangeLog,v 1.225 2014/12/02 13:05:19 mrueg Exp $
30 +
31 +*qtruby-4.14.3-r1 (02 Dec 2014)
32 +
33 + 02 Dec 2014; Manuel RĂ¼ger <mrueg@g.o> +qtruby-4.14.3-r1.ebuild:
34 + Revision bump to default to ruby20.
35
36 *qtruby-4.14.3 (16 Nov 2014)
37
38
39
40
41 1.1 kde-base/qtruby/qtruby-4.14.3-r1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/qtruby/qtruby-4.14.3-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/qtruby/qtruby-4.14.3-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: qtruby-4.14.3-r1.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.14.3-r1.ebuild,v 1.1 2014/12/02 13:05:19 mrueg Exp $
51
52 EAPI=5
53
54 OPENGL_REQUIRED="always"
55 DECLARATIVE_REQUIRED="optional"
56 KDE_REQUIRED="never"
57 USE_RUBY="ruby20"
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 local 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 }