summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Torokhov <torokhov-s-a@yandex.ru>2020-01-11 16:10:02 +0300
committerMart Raudsepp <leio@gentoo.org>2020-01-20 12:09:58 +0200
commit8a11bf42abe8a4c21620f3f5f2c60fb8c4b8bd30 (patch)
treec7d4cfec0242df1276e47513f90fdaef676b4465 /dev-util
parenttexlive-common.eclass: fix a typo (diff)
downloadgentoo-8a11bf42abe8a4c21620f3f5f2c60fb8c4b8bd30.tar.gz
gentoo-8a11bf42abe8a4c21620f3f5f2c60fb8c4b8bd30.tar.bz2
gentoo-8a11bf42abe8a4c21620f3f5f2c60fb8c4b8bd30.zip
dev-util/codeblocks: update live-ebuild with switch to WXGTK-3.0-gtk3
Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru> Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/codeblocks/codeblocks-9999.ebuild28
1 files changed, 14 insertions, 14 deletions
diff --git a/dev-util/codeblocks/codeblocks-9999.ebuild b/dev-util/codeblocks/codeblocks-9999.ebuild
index 1763fdfc078..5350bd29d7c 100644
--- a/dev-util/codeblocks/codeblocks-9999.ebuild
+++ b/dev-util/codeblocks/codeblocks-9999.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-WX_GTK_VER="3.0"
+WX_GTK_VER="3.0-gtk3"
-inherit autotools gnome2-utils subversion wxwidgets xdg-utils
+inherit autotools subversion wxwidgets xdg-utils
DESCRIPTION="The open source, cross platform, free C, C++ and Fortran IDE"
HOMEPAGE="http://www.codeblocks.org/"
@@ -14,10 +14,15 @@ SLOT="0"
KEYWORDS=""
SRC_URI=""
ESVN_REPO_URI="svn://svn.code.sf.net/p/${PN}/code/trunk"
+ESVN_FETCH_CMD="svn checkout --ignore-externals"
IUSE="contrib debug pch"
+BDEPEND="virtual/pkgconfig"
+
RDEPEND="app-arch/zip
+ >=dev-libs/tinyxml-2.6.2-r3
+ >=dev-util/astyle-3.1-r2:0/3.1
x11-libs/wxGTK:${WX_GTK_VER}[X]
contrib? (
app-admin/gamin
@@ -25,10 +30,7 @@ RDEPEND="app-arch/zip
dev-libs/boost:=
)"
-DEPEND="${RDEPEND}
- >=dev-libs/tinyxml-2.6.2-r3
- >=dev-util/astyle-3.1-r2:0/3.1
- virtual/pkgconfig"
+DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}"/codeblocks-17.12-nodebug.diff )
@@ -53,18 +55,16 @@ src_configure() {
}
pkg_postinst() {
- if [[ ${WX_GTK_VER} == "3.0" || ${WX_GTK_VER} == "3.0-gtk3" ]]; then
- elog "The symbols browser is disabled due to it causing crashes."
- elog "For more information see https://sourceforge.net/p/codeblocks/tickets/225/"
- fi
+ elog "The Symbols Browser is disabled due to it causing crashes."
+ elog "For more information see https://sourceforge.net/p/codeblocks/tickets/225/"
xdg_desktop_database_update
+ xdg_icon_cache_update
xdg_mimeinfo_database_update
- gnome2_icon_cache_update
}
pkg_postrm() {
xdg_desktop_database_update
+ xdg_icon_cache_update
xdg_mimeinfo_database_update
- gnome2_icon_cache_update
}