From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-util/codeblocks/Manifest | 6 +++ dev-util/codeblocks/codeblocks-16.01.ebuild | 43 +++++++++++++++++++++ dev-util/codeblocks/codeblocks-9999.ebuild | 60 +++++++++++++++++++++++++++++ dev-util/codeblocks/metadata.xml | 14 +++++++ 4 files changed, 123 insertions(+) create mode 100644 dev-util/codeblocks/Manifest create mode 100644 dev-util/codeblocks/codeblocks-16.01.ebuild create mode 100644 dev-util/codeblocks/codeblocks-9999.ebuild create mode 100644 dev-util/codeblocks/metadata.xml (limited to 'dev-util/codeblocks') diff --git a/dev-util/codeblocks/Manifest b/dev-util/codeblocks/Manifest new file mode 100644 index 000000000000..03d721d27006 --- /dev/null +++ b/dev-util/codeblocks/Manifest @@ -0,0 +1,6 @@ +DIST codeblocks_16.01.tar.gz 20250097 SHA256 30fb9d206df4ab3c2e2fec2451a0a7c9723bfed9a673cc9be71e881c529d5a03 SHA512 496ff2dbcf9a8248fa9f1060d50567d1fc6480cc9d8fc9f7d2cd532c82f4344deafe9b43f2b17d2510c74851e21acf2ca90d5cc7b61237d69a17e78e9907a63a WHIRLPOOL b908c7af182d37fc3ab0f2640f4b6033169cdc7964e276df9e57627806b156ba7acba25c43983ecfe2a0aeb3ef7e66652e4f2600e978599116b4d1c472866126 +EBUILD codeblocks-16.01.ebuild 960 SHA256 03fd7dfbfb7559c2d7129050db1cba8eae870343d2973ac1827f200097970ca9 SHA512 78c459024b8d132ffc44de86445162561a6cf2201758c1a429a9f72bf510833d6974e3964a1070ae801243934d29f9ea4006b5b8b887979032b9ea3268ed6228 WHIRLPOOL b3db5d49d0edfadfb27d8f9464cf1812b67a2955217be27d6130075cfff0e7bea5792879bd38e49854a3c913a483a6af2fad28c77ee2fcbc580c5d2bb0390fe1 +EBUILD codeblocks-9999.ebuild 1249 SHA256 851444715408e398eb845ee48c77a064e31b57dfaf80addb54060b126da6799d SHA512 a0a9d87c06df9f1dccd43fb009c4ac4261dcfcc99138193b3836d9a0e6ebeb4ef38180a3388774ffd84c17abacde95589c35e0febc425b07cbc75dbac9f9b3e6 WHIRLPOOL 910c4b65a561289c7922402c0a2b0eee767cbeaf24a7ff33372a757fd1c2a9717325f74d75c03961bae354658b0c28b4a92585bca2904272d551229b1cc34c69 +MISC ChangeLog 4050 SHA256 10b150dd49d36d1065c1d14456347faec173e394e3fc290425e0ca5996d30c8e SHA512 f9c38fee137797e39274758543185babadf14d67078f4743fd5c98a00588ff595712fb91e45eef65ef4601ecc7d4427f8b6e4931d5a4d2082b8d8199a0b37574 WHIRLPOOL d6a4aa47a5fa6a83e159671f4c0e0c067cf2a007df173833254719870f4ceff6b6e1717e41f8eb93b496bc3eac7d4178101113b10468b2d18d61203dfb0c75ea +MISC ChangeLog-2015 5636 SHA256 91e52fe02cc790ac280b7b1ae94d1673880498601c207b81c3312db6ff8529c6 SHA512 f32ee0fee615aa806a365b4802949ac568ee4a5265b3527f4875c59b69f66a1fa0cbc0b9112cffd1e257ccba9816beaf09d4e1aed3d02384bf535911eb086d45 WHIRLPOOL 015d72817b3bfa3664c1569d054ddf93a44f7a556516819472214201a97e5b338678e5c80430ea421daae7e3c2a3bd8179717943780db66c2649cafabfbdbaa1 +MISC metadata.xml 436 SHA256 8c68d9ee3a91a392a178ddffdf03de7013adf5020e2cc448bef3aeedcb164c48 SHA512 0ff3a17264a93d46efe1455778188ebd9f8bba8c9c0d7b5d6457d6c69d43db343d70f9b1f9ccfddb187ff3e827f4de05b1b632b3aafa4541b1f1f1bc20768aae WHIRLPOOL bf05d43564b0036680296cd6af1732a53b51cfbf1386f7d10d9568762b451ef86fbdcf8f6082ca0ba21ef33482e10e6975a7e58618bd5a4949bbc1a8da1fab04 diff --git a/dev-util/codeblocks/codeblocks-16.01.ebuild b/dev-util/codeblocks/codeblocks-16.01.ebuild new file mode 100644 index 000000000000..047fa0975850 --- /dev/null +++ b/dev-util/codeblocks/codeblocks-16.01.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +WX_GTK_VER="2.8" + +inherit eutils flag-o-matic wxwidgets + +DESCRIPTION="The open source, cross platform, free C++ IDE" +HOMEPAGE="http://www.codeblocks.org/" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd" +SRC_URI="mirror://sourceforge/codeblocks/${P/-/_}.tar.gz" + +IUSE="contrib debug pch static-libs" + +S="${WORKDIR}/${P}.release" + +RDEPEND="app-arch/zip + x11-libs/wxGTK:${WX_GTK_VER}[X] + contrib? ( + app-text/hunspell + dev-libs/boost:= + dev-libs/libgamin + )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_configure() { + touch "${S}"/revision.m4 -r "${S}"/acinclude.m4 + setup-wxwidgets + + append-cxxflags $(test-flags-CXX -fno-delete-null-pointer-checks) + + econf \ + --with-wx-config="${WX_CONFIG}" \ + $(use_enable debug) \ + $(use_enable pch) \ + $(use_enable static-libs static) \ + $(use_with contrib contrib-plugins all) +} diff --git a/dev-util/codeblocks/codeblocks-9999.ebuild b/dev-util/codeblocks/codeblocks-9999.ebuild new file mode 100644 index 000000000000..4592ffeead9c --- /dev/null +++ b/dev-util/codeblocks/codeblocks-9999.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +WX_GTK_VER="2.8" + +inherit autotools eutils subversion wxwidgets + +DESCRIPTION="The open source, cross platform, free C++ 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 static-libs" + +RDEPEND="app-arch/zip + x11-libs/wxGTK:${WX_GTK_VER}[X] + contrib? ( + app-text/hunspell + dev-libs/boost:= + dev-libs/libgamin + )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_unpack() { + subversion_src_unpack +} + +src_prepare() { + # 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() { + need-wxwidgets unicode + econf \ + --with-wx-config="${WX_CONFIG}" \ + $(use_enable debug) \ + $(use_enable pch) \ + $(use_enable static-libs static) \ + $(use_with contrib contrib-plugins all) +} + +src_compile() { + emake clean-zipfiles + emake +} + +src_install() { + default + prune_libtool_files +} diff --git a/dev-util/codeblocks/metadata.xml b/dev-util/codeblocks/metadata.xml new file mode 100644 index 000000000000..147e365467fc --- /dev/null +++ b/dev-util/codeblocks/metadata.xml @@ -0,0 +1,14 @@ + + + + + wxwidgets@gentoo.org + Gentoo wxWidgets Project + + + Build additional contrib components + + + codeblocks + + -- cgit v1.2.3