mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-07 18:07:08 -08:00
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>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user