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