# ChangeLog for dev-lang/lazarus
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/ChangeLog,v 1.8 2006/09/28 20:37:39 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/ChangeLog,v 1.9 2006/11/17 13:31:23 hanno Exp $
+
+*lazarus-0.9.20 (17 Nov 2006)
+
+ 17 Nov 2006; Hanno Boeck <hanno@gentoo.org> +lazarus-0.9.20.ebuild:
+ Bump and preliminary gtk2 support.
28 Sep 2006; Gustavo Zacarias <gustavoz@gentoo.org> lazarus-0.9.16.ebuild:
Moved built_with_use to pkg_setup since it's a moot point to use lazarus
DIST lazarus-0.9.10-0.tar.gz 7248444
DIST lazarus-0.9.12-0.tar.gz 9216628
DIST lazarus-0.9.16-0.tar.gz 9655279 RMD160 88328fbe07077bed33e69afe739c7a2c850ca0ca SHA1 c509f624e704b725aec8bdb7bec117e9289ebf4d SHA256 e2f920f7af0549a76d6a5ae5b68542c11b4f350e1f05e4dccc81fc3872c63b00
+DIST lazarus-0.9.20-0.tar.gz 10241274 RMD160 5a2c061e42306008858cf8b3a51ecaa1aa3f0bca SHA1 6f72cda6ed67d4855118c9147d46ff575232bed1 SHA256 c3416c557e510c9fcca5de59f128854eb5605f69fc7472cea11fc09ed5f8285e
EBUILD lazarus-0.9.10.ebuild 2056 RMD160 b16da6b2e981f4066ce859026b6614e5fd22df44 SHA1 1a7890cb97a50f361b5d7fcabdf6a67acae8f75c SHA256 b9466c2982c561d107115e49ee5db6bf1b5bf8fee13c7e7fa9b150dda97e6b35
MD5 18fafbb8dbbb226c1f7a7fbe95d6a8bc lazarus-0.9.10.ebuild 2056
RMD160 b16da6b2e981f4066ce859026b6614e5fd22df44 lazarus-0.9.10.ebuild 2056
MD5 da516e656b3471191807fa652596d05e lazarus-0.9.16.ebuild 1831
RMD160 486ff5e08d1e5ab59a3c2bc30acb412203b2fa2d lazarus-0.9.16.ebuild 1831
SHA256 0cc848b3ecdf97dda79da6cd206b5c035feb89db73fbae85aec10e9c7697fcad lazarus-0.9.16.ebuild 1831
-MISC ChangeLog 1380 RMD160 a0b15029da2002ee5dd37cc095c0034effb16d62 SHA1 8189596b3527e2fdd5a355b765add97ba3addadc SHA256 30b2f3b8f71717d2d037f06f0c78cef5ce47587032940161aeb1e1fa512b2bc3
-MD5 3a7e4630b9632550794c4b4ba61df799 ChangeLog 1380
-RMD160 a0b15029da2002ee5dd37cc095c0034effb16d62 ChangeLog 1380
-SHA256 30b2f3b8f71717d2d037f06f0c78cef5ce47587032940161aeb1e1fa512b2bc3 ChangeLog 1380
+EBUILD lazarus-0.9.20.ebuild 1794 RMD160 fd237201da64d1ee27dcba35a30187888f11bfa1 SHA1 4fd6ac332ca335916d6b095c065ddf550afdf928 SHA256 c3d58487eb4ab990f2b59793051fd176417b6cb1adbc0abf20bc5122343b3f22
+MD5 1a63c3d96e741228d8469eb6e887113e lazarus-0.9.20.ebuild 1794
+RMD160 fd237201da64d1ee27dcba35a30187888f11bfa1 lazarus-0.9.20.ebuild 1794
+SHA256 c3d58487eb4ab990f2b59793051fd176417b6cb1adbc0abf20bc5122343b3f22 lazarus-0.9.20.ebuild 1794
+MISC ChangeLog 1516 RMD160 9b0999e490355d2c72200b26a285c1fb01bd5552 SHA1 56c453a2df277c681a202706753569836081c5a7 SHA256 4c4c8c958ad88a4d204f973caf5cf4944b89b96046dfaa7380dea10b9e3dc45e
+MD5 8caff67b93f217e60c582f22014406f1 ChangeLog 1516
+RMD160 9b0999e490355d2c72200b26a285c1fb01bd5552 ChangeLog 1516
+SHA256 4c4c8c958ad88a4d204f973caf5cf4944b89b96046dfaa7380dea10b9e3dc45e ChangeLog 1516
MISC metadata.xml 281 RMD160 423ab877620b713044c2d08753af1fa18a3adce4 SHA1 c861318fcfa3725a45dd0deb55fbfc26a49245b6 SHA256 d0d50fc65f6bc2ce65700e4ea995148f15c4e7a0eca5d0f86e3f4b9a73a4aae6
MD5 8773813255798a06aad7b06e083a1a55 metadata.xml 281
RMD160 423ab877620b713044c2d08753af1fa18a3adce4 metadata.xml 281
MD5 e12ba6658fa9527f3c5190ff6a0af977 files/digest-lazarus-0.9.16 253
RMD160 9ff54d0eac7b2dc595c12db6c21d3c4f7ba8f613 files/digest-lazarus-0.9.16 253
SHA256 691ea8eacb2a3b2eaf34d1f047e6860c31743a119b6ea2365eb68480dafad52d files/digest-lazarus-0.9.16 253
+MD5 84c87b76f87fa0bdfc738b94b819489e files/digest-lazarus-0.9.20 256
+RMD160 e9a791d6655e4d9143e7e71a20dc3b226a99f744 files/digest-lazarus-0.9.20 256
+SHA256 49f58ce799154ff503040c5f74a333cbf4e2b2eac6005a1516a466aa8f597c96 files/digest-lazarus-0.9.20 256
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5-ecc0.1.6 (GNU/Linux)
+Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFFHDKkKRy60XGEcJIRAiIUAJ0ekP5/uUBwtOk/vZaKpo7rdmBn+QCeNLqj
-mxxjRHmDak7cD67BpbxofcM=
-=F1Iw
+iD8DBQFFXbqbr2QksT29OyARAumBAJ4ocIaD+3LlDTAC8WCvvkesE7xVGwCfbyAN
+eaJ8kgFlrdhj1kwGK6Zk4PA=
+=TDBR
-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/lazarus-0.9.20.ebuild,v 1.1 2006/11/17 13:31:23 hanno Exp $
+
+inherit eutils
+
+SLOT="0" # Note: Slotting Lazarus needs slotting fpc, see DEPEND.
+LICENSE="GPL-2 LGPL-2.1 LGPL-2.1-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=""
+SRC_URI="mirror://sourceforge/lazarus/${P}-0.tar.gz"
+
+DEPEND="~dev-lang/fpc-2.0.4
+ net-misc/rsync
+ >=x11-libs/gtk+-2.0"
+
+S=${WORKDIR}/lazarus
+
+pkg_setup() {
+ if ! built_with_use "dev-lang/fpc" source; then
+ eerror "You need to build dev-lang/fpc with the 'source' USE flag"
+ eerror "in order for lazarus to work properly."
+ die "lazarus needs fpc built with the 'source' USE to work."
+ fi
+}
+
+src_compile() {
+ LCL_PLATFORM=gtk2 emake -j1 || die "make failed!"
+}
+
+src_install() {
+ diropts -m0755
+ dodir /usr/share
+ # Using rsync to avoid unnecessary copies and cleaning...
+ # Note: *.o and *.ppu are needed
+ rsync -a \
+ --exclude="CVS" --exclude=".cvsignore" \
+ --exclude="*.ppw" --exclude="*.ppl" \
+ --exclude="*.ow" --exclude="*.a"\
+ --exclude="*.rst" --exclude=".#*" \
+ --exclude="*.~*" --exclude="*.bak" \
+ --exclude="*.orig" --exclude="*.rej" \
+ --exclude=".xvpics" --exclude="*.compiled" \
+ --exclude="killme*" --exclude=".gdb_hist*" \
+ "${S}" "${D}"usr/share \
+ || die "Unable to copy files!"
+
+ dosym ../share/lazarus/startlazarus /usr/bin/startlazarus
+ dosym ../lazarus/images/mainicon.xpm /usr/share/pixmaps/lazarus.xpm
+
+ make_desktop_entry startlazarus "Lazarus IDE" "lazarus.xpm" || die "Failed making desktop entry!"
+}