Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/codeblocks/
Date: Mon, 20 Jan 2020 10:10:40
Message-Id: 1579514998.8a11bf42abe8a4c21620f3f5f2c60fb8c4b8bd30.leio@gentoo
1 commit: 8a11bf42abe8a4c21620f3f5f2c60fb8c4b8bd30
2 Author: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
3 AuthorDate: Sat Jan 11 13:10:02 2020 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 20 10:09:58 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a11bf42
7
8 dev-util/codeblocks: update live-ebuild with switch to WXGTK-3.0-gtk3
9
10 Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 dev-util/codeblocks/codeblocks-9999.ebuild | 28 ++++++++++++++--------------
14 1 file changed, 14 insertions(+), 14 deletions(-)
15
16 diff --git a/dev-util/codeblocks/codeblocks-9999.ebuild b/dev-util/codeblocks/codeblocks-9999.ebuild
17 index 1763fdfc078..5350bd29d7c 100644
18 --- a/dev-util/codeblocks/codeblocks-9999.ebuild
19 +++ b/dev-util/codeblocks/codeblocks-9999.ebuild
20 @@ -1,11 +1,11 @@
21 -# Copyright 1999-2018 Gentoo Foundation
22 +# Copyright 1999-2020 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=6
26 +EAPI=7
27
28 -WX_GTK_VER="3.0"
29 +WX_GTK_VER="3.0-gtk3"
30
31 -inherit autotools gnome2-utils subversion wxwidgets xdg-utils
32 +inherit autotools subversion wxwidgets xdg-utils
33
34 DESCRIPTION="The open source, cross platform, free C, C++ and Fortran IDE"
35 HOMEPAGE="http://www.codeblocks.org/"
36 @@ -14,10 +14,15 @@ SLOT="0"
37 KEYWORDS=""
38 SRC_URI=""
39 ESVN_REPO_URI="svn://svn.code.sf.net/p/${PN}/code/trunk"
40 +ESVN_FETCH_CMD="svn checkout --ignore-externals"
41
42 IUSE="contrib debug pch"
43
44 +BDEPEND="virtual/pkgconfig"
45 +
46 RDEPEND="app-arch/zip
47 + >=dev-libs/tinyxml-2.6.2-r3
48 + >=dev-util/astyle-3.1-r2:0/3.1
49 x11-libs/wxGTK:${WX_GTK_VER}[X]
50 contrib? (
51 app-admin/gamin
52 @@ -25,10 +30,7 @@ RDEPEND="app-arch/zip
53 dev-libs/boost:=
54 )"
55
56 -DEPEND="${RDEPEND}
57 - >=dev-libs/tinyxml-2.6.2-r3
58 - >=dev-util/astyle-3.1-r2:0/3.1
59 - virtual/pkgconfig"
60 +DEPEND="${RDEPEND}"
61
62 PATCHES=( "${FILESDIR}"/codeblocks-17.12-nodebug.diff )
63
64 @@ -53,18 +55,16 @@ src_configure() {
65 }
66
67 pkg_postinst() {
68 - if [[ ${WX_GTK_VER} == "3.0" || ${WX_GTK_VER} == "3.0-gtk3" ]]; then
69 - elog "The symbols browser is disabled due to it causing crashes."
70 - elog "For more information see https://sourceforge.net/p/codeblocks/tickets/225/"
71 - fi
72 + elog "The Symbols Browser is disabled due to it causing crashes."
73 + elog "For more information see https://sourceforge.net/p/codeblocks/tickets/225/"
74
75 xdg_desktop_database_update
76 + xdg_icon_cache_update
77 xdg_mimeinfo_database_update
78 - gnome2_icon_cache_update
79 }
80
81 pkg_postrm() {
82 xdg_desktop_database_update
83 + xdg_icon_cache_update
84 xdg_mimeinfo_database_update
85 - gnome2_icon_cache_update
86 }