summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/codeblocks')
-rw-r--r--dev-util/codeblocks/codeblocks-9999-r1.ebuild70
-rw-r--r--dev-util/codeblocks/files/codeblocks-17.12-nodebug.diff13
-rw-r--r--dev-util/codeblocks/metadata.xml14
3 files changed, 0 insertions, 97 deletions
diff --git a/dev-util/codeblocks/codeblocks-9999-r1.ebuild b/dev-util/codeblocks/codeblocks-9999-r1.ebuild
deleted file mode 100644
index 2e10e4c..0000000
--- a/dev-util/codeblocks/codeblocks-9999-r1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-WX_GTK_VER="3.0-gtk3"
-
-inherit autotools gnome2-utils subversion wxwidgets xdg-utils
-
-DESCRIPTION="The open source, cross platform, free C, C++ and Fortran IDE"
-HOMEPAGE="http://www.codeblocks.org/"
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS=""
-SRC_URI=""
-ESVN_REPO_URI="svn://svn.code.sf.net/p/${PN}/code/trunk"
-
-IUSE="contrib debug pch"
-
-RDEPEND="app-arch/zip
- x11-libs/wxGTK:${WX_GTK_VER}[X]
- contrib? (
- app-admin/gamin
- app-text/hunspell
- dev-libs/boost:=
- )"
-
-DEPEND="${RDEPEND}
- >=dev-libs/tinyxml-2.6.2-r3
- >=dev-util/astyle-3.1-r2:0/3.1
- virtual/pkgconfig"
-
-PATCHES=( "${FILESDIR}"/codeblocks-17.12-nodebug.diff )
-
-src_prepare() {
- default
- # Let's make the autorevision work.
- subversion_wc_info
- CB_LCD=$(LC_ALL=C svn info "${ESVN_WC_PATH}" | grep "^Last Changed Date:" | cut -d" " -f4,5)
- echo "m4_define([SVN_REV], ${ESVN_WC_REVISION})" > revision.m4
- echo "m4_define([SVN_DATE], ${CB_LCD})" >> revision.m4
- eautoreconf
-}
-
-src_configure() {
- setup-wxwidgets
-
- econf \
- --disable-static \
- $(use_enable debug) \
- $(use_enable pch) \
- $(use_with contrib contrib-plugins all)
-}
-
-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
-
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
- gnome2_icon_cache_update
-}
diff --git a/dev-util/codeblocks/files/codeblocks-17.12-nodebug.diff b/dev-util/codeblocks/files/codeblocks-17.12-nodebug.diff
deleted file mode 100644
index 7cbb678..0000000
--- a/dev-util/codeblocks/files/codeblocks-17.12-nodebug.diff
+++ /dev/null
@@ -1,13 +0,0 @@
-# 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
-@@ -91,8 +91,6 @@
- AC_ARG_ENABLE(debug, [AC_HELP_STRING([--enable-debug], [turn on debugging (default is OFF)])],,
- enable_debug=$debug_default)
- if test "x$enable_debug" = "xyes"; then
-- CFLAGS="-g $CFLAGS"
-- CXXFLAGS="-g $CXXFLAGS"
- CPPFLAGS="-DDEBUG -DcbDEBUG $CPPFLAGS"
- AC_MSG_RESULT(yes)
- else
diff --git a/dev-util/codeblocks/metadata.xml b/dev-util/codeblocks/metadata.xml
deleted file mode 100644
index 147e365..0000000
--- a/dev-util/codeblocks/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>wxwidgets@gentoo.org</email>
- <name>Gentoo wxWidgets Project</name>
- </maintainer>
- <use>
- <flag name="contrib">Build additional contrib components</flag>
- </use>
- <upstream>
- <remote-id type="sourceforge">codeblocks</remote-id>
- </upstream>
-</pkgmetadata>