summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-10-26 23:56:18 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-10-26 23:56:18 +0000
commitdf54c565c52ae59f940984206d4373eb2dc805ff (patch)
tree67863306ab22fa2f86ed8c9631f3a6ecda3d006f /dev-lang/lazarus
parentVersion bump to 4.1.0; dropped Python 2.7 support as it fails on it for now a... (diff)
downloadgentoo-2-df54c565c52ae59f940984206d4373eb2dc805ff.tar.gz
gentoo-2-df54c565c52ae59f940984206d4373eb2dc805ff.tar.bz2
gentoo-2-df54c565c52ae59f940984206d4373eb2dc805ff.zip
add minimal useflag wrt #349674
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'dev-lang/lazarus')
-rw-r--r--dev-lang/lazarus/ChangeLog6
-rw-r--r--dev-lang/lazarus/lazarus-1.0.12.ebuild11
-rw-r--r--dev-lang/lazarus/metadata.xml11
3 files changed, 20 insertions, 8 deletions
diff --git a/dev-lang/lazarus/ChangeLog b/dev-lang/lazarus/ChangeLog
index 92a3e910eac8..7c2f1f933843 100644
--- a/dev-lang/lazarus/ChangeLog
+++ b/dev-lang/lazarus/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/lazarus
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/ChangeLog,v 1.38 2013/09/27 05:17:09 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/ChangeLog,v 1.39 2013/10/26 23:56:18 hasufell Exp $
+
+ 26 Oct 2013; Julian Ospald <hasufell@gentoo.org> lazarus-1.0.12.ebuild,
+ metadata.xml:
+ add minimal useflag wrt #349674
27 Sep 2013; Tim Harder <radhermit@gentoo.org> -lazarus-0.9.26-r4.ebuild,
-lazarus-0.9.28.2-r1.ebuild, -lazarus-1.0.4.ebuild,
diff --git a/dev-lang/lazarus/lazarus-1.0.12.ebuild b/dev-lang/lazarus/lazarus-1.0.12.ebuild
index 29f550513271..ad4adbff2e80 100644
--- a/dev-lang/lazarus/lazarus-1.0.12.ebuild
+++ b/dev-lang/lazarus/lazarus-1.0.12.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/lazarus-1.0.12.ebuild,v 1.1 2013/09/13 07:08:54 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/lazarus-1.0.12.ebuild,v 1.2 2013/10/26 23:56:18 hasufell Exp $
EAPI=5
@@ -15,7 +15,7 @@ LICENSE="GPL-2 LGPL-2.1-with-linking-exception"
KEYWORDS="~amd64 ~ppc ~x86"
DESCRIPTION="Lazarus IDE is a feature rich visual programming environment emulating Delphi."
HOMEPAGE="http://www.lazarus.freepascal.org/"
-IUSE=""
+IUSE="minimal"
SRC_URI="http://downloads.sourceforge.net/project/${PN}/Lazarus%20Zip%20_%20GZip/Lazarus%20${PV}/${PN}-${PV}-0.tar.gz"
DEPEND=">=dev-lang/fpc-${FPCVER}[source]
@@ -42,7 +42,9 @@ src_prepare() {
}
src_compile() {
- LCL_PLATFORM=gtk2 emake -j1 || die "make failed!"
+ LCL_PLATFORM=gtk2 emake \
+ $(usex minimal "" "bigide") \
+ -j1
}
src_install() {
@@ -61,12 +63,13 @@ src_install() {
--exclude="killme*" --exclude=".gdb_hist*" \
--exclude="debian" --exclude="COPYING*" \
--exclude="*.app" \
- "${S}" "${D}"usr/share \
+ "${S}" "${ED%/}"/usr/share \
|| die "Unable to copy files!"
dosym ../share/lazarus/startlazarus /usr/bin/startlazarus
dosym ../share/lazarus/startlazarus /usr/bin/lazarus
dosym ../share/lazarus/lazbuild /usr/bin/lazbuild
+ use minimal || dosym ../share/lazarus/components/chmhelp/lhelp/lhelp /usr/bin/lhelp
dosym ../lazarus/images/ide_icon48x48.png /usr/share/pixmaps/lazarus.png
make_desktop_entry startlazarus "Lazarus IDE" "lazarus" || die "Failed making desktop entry!"
diff --git a/dev-lang/lazarus/metadata.xml b/dev-lang/lazarus/metadata.xml
index d1da8bb036c8..c12176fb07a3 100644
--- a/dev-lang/lazarus/metadata.xml
+++ b/dev-lang/lazarus/metadata.xml
@@ -2,8 +2,13 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>lang-misc</herd>
-<longdescription lang="en">
-A Borland Delphi lookalike for linux. Uses the free pascal compiler.
-</longdescription>
+ <longdescription lang="en">
+ A Borland Delphi lookalike for linux.
+ Uses the free pascal compiler.
+ </longdescription>
+ <use>
+ <flag name='minimal'>Don't build extra packages from the
+ bigide component</flag>
+ </use>
</pkgmetadata>