-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integration of ebuilds of codelite >= 2.10 (taken from bgo-overlay, k…
…udos goes to their author)
- Loading branch information
1 parent
f747e80
commit cba6d5d
Showing
5 changed files
with
174 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Copyright 1999-2006 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Header: $ | ||
|
||
EAPI="2" | ||
|
||
WX_GTK_VER="2.8" | ||
|
||
inherit eutils wxwidgets | ||
|
||
DESCRIPTION="A Cross Platform Open Source C/C++ IDE" | ||
HOMEPAGE="http://www.codelite.org/" | ||
SRC_URI="http://surfnet.dl.sourceforge.net/project/codelite/Releases/codelite-2.10/codelite-${PV}.tar.gz http://softlayer.dl.sourceforge.net/project/codelite/Releases/codelite-2.10/codelite-${PV}.tar.gz" | ||
|
||
LICENSE="GPL-2" | ||
SLOT="0" | ||
KEYWORDS="~x86 ~amd64" | ||
IUSE="subversion" | ||
|
||
RDEPEND="" | ||
|
||
DEPEND="${RDEPEND} | ||
x11-libs/wxGTK:2.8[X] | ||
net-misc/curl | ||
>=sys-devel/gdb-7.1 | ||
subversion? ( dev-vcs/subversion )" | ||
|
||
src_configure() { | ||
./configure --prefix=/usr || die "configure failed" | ||
} | ||
|
||
src_install() { | ||
emake -j1 DESTDIR="${D}" install || die "install failed" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Copyright 1999-2011 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Header: $ | ||
|
||
EAPI="2" | ||
|
||
WX_GTK_VER="2.8" | ||
|
||
inherit eutils wxwidgets | ||
|
||
DESCRIPTION="open-source, cross platform IDE for the C/C++ programming languages" | ||
HOMEPAGE="http://www.codelite.org/" | ||
SRC_URI="mirror://sourceforge/codelite/Releases/codelite-3.0/${P}.tar.gz" | ||
|
||
LICENSE="GPL-2" | ||
SLOT="0" | ||
KEYWORDS="~amd64 x86 ~arm ~alpha ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x86-solaris" | ||
IUSE="debug mysql postgres subversion" | ||
|
||
DEPEND=">=x11-libs/wxGTK-2.8[X] | ||
mysql? ( virtual/mysql ) | ||
postgres? ( dev-db/postgresql-base ) | ||
subversion? ( dev-vcs/subversion ) | ||
net-misc/curl | ||
>=sys-devel/gdb-7.1" | ||
|
||
RDEPEND="${DEPEND}" | ||
|
||
src_configure() { | ||
econf \ | ||
$(use_enable debug) \ | ||
$(use_enable mysql) \ | ||
$(use_enable postgres) || die "configure failed" | ||
} | ||
|
||
src_install() { | ||
emake -j1 DESTDIR="${D}" install || die "Install failed" | ||
dodoc AUTHORS COPYING LICENSE | ||
|
||
# reverting the makefiles 666 chmod for this file | ||
chmod 0644 "${D}"/usr/share/codelite/codelite-icons.zip | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Copyright 1999-2013 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Header: $ | ||
|
||
EAPI=5 | ||
|
||
WX_GTK_VER="2.9" | ||
|
||
inherit base eutils wxwidgets | ||
|
||
DESCRIPTION="Cross platform IDE for the C/C++ programming languages" | ||
HOMEPAGE="http://www.codelite.org/" | ||
SRC_URI="mirror://sourceforge/${PN}/${P}-gtk.src.tar.gz" | ||
LICENSE="GPL-2" | ||
|
||
SLOT="0" | ||
KEYWORDS="-* ~amd64 ~x86" | ||
IUSE="debug mysql pch postgres" | ||
|
||
DEPEND="debug? ( x11-libs/wxGTK:${WX_GTK_VER}[debug] ) | ||
mysql? ( virtual/mysql ) | ||
postgres? ( dev-db/postgresql-base )" | ||
RDEPEND="x11-libs/wxGTK:${WX_GTK_VER}[X]" | ||
|
||
PATCHES=( | ||
"${FILESDIR}/${P}_configure.patch" | ||
) | ||
|
||
src_configure() { | ||
econf --without-clang \ | ||
$(use_enable debug) \ | ||
$(use_enable mysql) \ | ||
$(use_enable pch) \ | ||
$(use_enable postgres) | ||
} | ||
|
||
src_install() { | ||
emake -j1 DESTDIR="${D}" install || die "emake install failed" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- a/configure | ||
+++ b/configure | ||
@@ -149,7 +149,7 @@ createVariables() | ||
configuration="Release_gcc_unicode" | ||
ext=u | ||
debug_flag="" | ||
- optimization=" -O3 -DREGEXP_UNICODE " | ||
+ optimization=" -DREGEXP_UNICODE ${CFLAGS} " | ||
# In release builds, unless otherwise instructed, tell wx to disable asserts | ||
asserts="-DNDEBUG" | ||
if [ "$asserts_specified" = "on" ]; then | ||
@@ -353,7 +353,7 @@ createCodeLiteCppcheckMakefile () | ||
else | ||
configuration="Release" | ||
debug_flag="" | ||
- optimization=" -O2 " | ||
+ optimization="${CFLAGS}" | ||
# In release builds, unless otherwise instructed, tell wx to disable asserts | ||
asserts="-DNDEBUG" | ||
if [ "$asserts_specified" = "on" ]; then | ||
@@ -448,7 +448,7 @@ createCodeLiteClangMakefile() | ||
else | ||
configuration="Release" | ||
debug_flag="" | ||
- optimization=" -O2 " | ||
+ optimization="${CFLAGS}" | ||
# In release builds, unless otherwise instructed, tell wx to disable asserts | ||
asserts="-DNDEBUG" | ||
if [ "$asserts_specified" = "on" ]; then | ||
@@ -559,7 +559,7 @@ createCodeLiteGCCMakefile () | ||
else | ||
configuration="Release" | ||
debug_flag="" | ||
- optimization=" -O2 " | ||
+ optimization="${CFLAGS}" | ||
# In release builds, unless otherwise instructed, tell wx to disable asserts | ||
asserts="-DNDEBUG" | ||
if [ "$asserts_specified" = "on" ]; then | ||
@@ -672,7 +672,7 @@ createCodeLiteIndexerMakefile () | ||
else | ||
configuration="Release" | ||
debug_flag="" | ||
- optimization=" -O2 " | ||
+ optimization="${CFLAGS}" | ||
# In release builds, unless otherwise instructed, tell wx to disable asserts | ||
asserts="-DNDEBUG" | ||
if [ "$asserts_specified" = "on" ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- configure_orig 2008-09-17 19:04:19.000000000 +0200 | ||
+++ configure 2008-09-17 19:04:30.000000000 +0200 | ||
@@ -56,7 +56,6 @@ | ||
echo "EXT=${ext}" >> Makefile | ||
echo "OUTPUT_DIR=lib" >> Makefile | ||
echo "WXCFG=${wxcfg}" >> Makefile | ||
- echo "DESTDIR=" >> Makefile | ||
echo "" >> Makefile | ||
echo "CCFLAGS= -Wall \$(shell wx-config --cxxflags \$(WXCFG)) -fno-strict-aliasing -DASTYLE_LIB -DYY_NEVER_INTERACTIVE=1 -DGTK -DSCI_LEXER -DLINK_LEXERS -D__WX__ " >> Makefile | ||
echo "LINK_FLAGS = -L${base_dir}/\$(OUTPUT_DIR) -lplugin\$(EXT) -lcodelite\$(EXT) -lwxsqlite3\$(EXT) \\" >> Makefile |