summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Torokhov <torokhov-s-a@yandex.ru>2022-05-09 01:38:59 +0300
committerSam James <sam@gentoo.org>2022-05-13 20:03:56 +0000
commit174a1c6156dc5d6502bd944900b745f7f80959d1 (patch)
tree76cd6a8962ad26106bb3f1a338df3e7a9237a731 /dev-util/codeblocks
parentdev-util/codeblocks: cleanup old 17.12-r*, <=20.03-r3 (diff)
downloadgentoo-174a1c6156dc5d6502bd944900b745f7f80959d1.tar.gz
gentoo-174a1c6156dc5d6502bd944900b745f7f80959d1.tar.bz2
gentoo-174a1c6156dc5d6502bd944900b745f7f80959d1.zip
dev-util/codeblocks: update 9999.ebuild
The USE-flag "pch" isn't droped this time due to https://sourceforge.net/p/codeblocks/tickets/1266/ Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru> Closes: https://github.com/gentoo/gentoo/pull/25393 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/codeblocks')
-rw-r--r--dev-util/codeblocks/codeblocks-9999.ebuild11
-rw-r--r--dev-util/codeblocks/files/codeblocks-9999-nodebug.diff (renamed from dev-util/codeblocks/files/codeblocks-17.12-nodebug.diff)4
2 files changed, 7 insertions, 8 deletions
diff --git a/dev-util/codeblocks/codeblocks-9999.ebuild b/dev-util/codeblocks/codeblocks-9999.ebuild
index 580a1b03b545..3ce6e1a69d71 100644
--- a/dev-util/codeblocks/codeblocks-9999.ebuild
+++ b/dev-util/codeblocks/codeblocks-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
WX_GTK_VER="3.0-gtk3"
@@ -15,6 +15,7 @@ KEYWORDS=""
SRC_URI=""
ESVN_REPO_URI="svn://svn.code.sf.net/p/${PN}/code/trunk"
ESVN_FETCH_CMD="svn checkout --ignore-externals"
+ESVN_UPDATE_CMD="svn update --ignore-externals"
IUSE="contrib debug pch"
@@ -32,7 +33,7 @@ RDEPEND="app-arch/zip
DEPEND="${RDEPEND}"
-PATCHES=( "${FILESDIR}"/codeblocks-17.12-nodebug.diff )
+PATCHES=( "${FILESDIR}/${P}-nodebug.diff" )
src_prepare() {
default
@@ -49,15 +50,13 @@ src_configure() {
econf \
--disable-static \
+ $(use_with contrib boost-libdir "${ESYSROOT}/usr/$(get_libdir)") \
$(use_enable debug) \
$(use_enable pch) \
$(use_with contrib contrib-plugins all)
}
pkg_postinst() {
- elog "The Symbols Browser is disabled due to it causing crashes."
- elog "For more information see https://sourceforge.net/p/codeblocks/tickets/225/"
-
xdg_pkg_postinst
}
diff --git a/dev-util/codeblocks/files/codeblocks-17.12-nodebug.diff b/dev-util/codeblocks/files/codeblocks-9999-nodebug.diff
index 7cbb678dda6a..1187f53539fc 100644
--- a/dev-util/codeblocks/files/codeblocks-17.12-nodebug.diff
+++ b/dev-util/codeblocks/files/codeblocks-9999-nodebug.diff
@@ -1,7 +1,7 @@
# Remove adding of "-g" to CFLAGS and CXXFLAGS if "./configure --enable-debug"
diff -Naur old/m4/acinclude.m4 new/m4/acinclude.m4
---- old/m4/acinclude.m4 2017-11-01 02:32:37.000000000 +0300
-+++ new/m4/acinclude.m4 2018-05-04 11:08:33.000000000 +0300
+--- old/m4/acinclude.m4
++++ new/m4/acinclude.m4
@@ -91,8 +91,6 @@
AC_ARG_ENABLE(debug, [AC_HELP_STRING([--enable-debug], [turn on debugging (default is OFF)])],,
enable_debug=$debug_default)