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/korundum: korundum-4.9.2.ebuild ChangeLog
Date: Tue, 02 Oct 2012 18:21:46
Message-Id: 20121002181155.47F0F21603@flycatcher.gentoo.org
1 johu 12/10/02 18:11:55
2
3 Modified: ChangeLog
4 Added: korundum-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.127 kde-base/korundum/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/korundum/ChangeLog?rev=1.127&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/korundum/ChangeLog?rev=1.127&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/korundum/ChangeLog?r1=1.126&r2=1.127
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/kde-base/korundum/ChangeLog,v
20 retrieving revision 1.126
21 retrieving revision 1.127
22 diff -u -r1.126 -r1.127
23 --- ChangeLog 21 Sep 2012 09:32:37 -0000 1.126
24 +++ ChangeLog 2 Oct 2012 18:11:55 -0000 1.127
25 @@ -1,6 +1,11 @@
26 # ChangeLog for kde-base/korundum
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/kde-base/korundum/ChangeLog,v 1.126 2012/09/21 09:32:37 johu Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/kde-base/korundum/ChangeLog,v 1.127 2012/10/02 18:11:55 johu Exp $
30 +
31 +*korundum-4.9.2 (02 Oct 2012)
32 +
33 + 02 Oct 2012; Johannes Huber <johu@g.o> +korundum-4.9.2.ebuild:
34 + Version bump KDE SC 4.9.2
35
36 21 Sep 2012; Johannes Huber <johu@g.o> -korundum-4.9.0.ebuild:
37 Remove KDE SC 4.9.0
38
39
40
41 1.1 kde-base/korundum/korundum-4.9.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/korundum/korundum-4.9.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-base/korundum/korundum-4.9.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: korundum-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/korundum/korundum-4.9.2.ebuild,v 1.1 2012/10/02 18:11:55 johu Exp $
51
52 EAPI=4
53
54 OPENGL_REQUIRED="always"
55
56 USE_RUBY="ruby18"
57 # No ruby19 for three reasons:
58 # 1) it does not build (yet) - will likely be solved soon
59 # 2) cmake bails when configuring twice or more - solved with CMAKE_IN_SOURCE_BUILD=1
60 # 3) 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="KDE Ruby bindings"
66 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
67 IUSE="akonadi debug kate okular"
68
69 # unfortunately single modules cannot be disabled with cmake defines
70 # possible more useflags have no effect... does anyone actually build this stuff?
71 # may need some hacking, for now semantic-desktop just becomes a hard dependency
72
73 DEPEND="
74 $(add_kdebase_dep qtruby)
75 $(add_kdebase_dep smokekde 'kate?,okular?,semantic-desktop')
76 $(add_kdebase_dep smokeqt)
77 "
78 RDEPEND="${DEPEND}
79 "
80
81 # Split from kdebindings-ruby in 4.7
82 add_blocker kdebindings-ruby
83
84 pkg_setup() {
85 ruby-ng_pkg_setup
86 kde4-base_pkg_setup
87 }
88
89 src_unpack() {
90 local S="${WORKDIR}/${P}"
91 kde4-base_src_unpack
92
93 cd "${WORKDIR}"
94 mkdir all
95 mv ${P} all/ || die "Could not move sources"
96 }
97
98 all_ruby_prepare() {
99 kde4-base_src_prepare
100 }
101
102 each_ruby_configure() {
103 CMAKE_USE_DIR=${S}
104 mycmakeargs=(
105 -DRUBY_LIBRARY=$(ruby_get_libruby)
106 -DRUBY_INCLUDE_PATH=$(ruby_get_hdrdir)
107 -DRUBY_EXECUTABLE=${RUBY}
108 $(cmake-utils_use_with akonadi)
109 $(cmake-utils_use_with akonadi KdepimLibs)
110 $(cmake-utils_use_disable kate)
111 $(cmake-utils_use_with okular)
112 )
113 kde4-base_src_configure
114 }
115
116 each_ruby_compile() {
117 CMAKE_USE_DIR=${S}
118 kde4-base_src_compile
119 }
120
121 each_ruby_install() {
122 CMAKE_USE_DIR=${S}
123 kde4-base_src_install
124 }