summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Holm <dholm@gentoo.org>2004-12-28 10:53:39 +0000
committerDavid Holm <dholm@gentoo.org>2004-12-28 10:53:39 +0000
commit34fdfe98f635a450f8a4940a035d47fb1c8b8a60 (patch)
treeb4003f9974993dca0ff383f62c58ead1b15639c2 /dev-ada
parentheader fix (Manifest recommit) (diff)
downloadgentoo-2-34fdfe98f635a450f8a4940a035d47fb1c8b8a60.tar.gz
gentoo-2-34fdfe98f635a450f8a4940a035d47fb1c8b8a60.tar.bz2
gentoo-2-34fdfe98f635a450f8a4940a035d47fb1c8b8a60.zip
Version bump. Ebuild submitted by Bobby D. Bryant <bdbryant (at) mail (dot) utexas (dot) edu>
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/gtkada/ChangeLog8
-rw-r--r--dev-ada/gtkada/Manifest8
-rw-r--r--dev-ada/gtkada/files/digest-gtkada-2.4.01
-rw-r--r--dev-ada/gtkada/gtkada-2.4.0.ebuild81
4 files changed, 94 insertions, 4 deletions
diff --git a/dev-ada/gtkada/ChangeLog b/dev-ada/gtkada/ChangeLog
index 648204a026e4..f18f6ca506a4 100644
--- a/dev-ada/gtkada/ChangeLog
+++ b/dev-ada/gtkada/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ada/gtkada
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ada/gtkada/ChangeLog,v 1.11 2004/10/02 15:25:00 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/gtkada/ChangeLog,v 1.12 2004/12/28 10:53:39 dholm Exp $
+
+*gtkada-2.4.0 (28 Dec 2004)
+
+ 28 Dec 2004; David Holm <dholm@gentoo.org> +gtkada-2.4.0.ebuild:
+ Version bump. Ebuild submitted by Bobby D. Bryant <bdbryant (at) mail (dot)
+ utexas (dot) edu>
*gtkada-2.2.1-r1 (02 Aug 2004)
diff --git a/dev-ada/gtkada/Manifest b/dev-ada/gtkada/Manifest
index 1595b4dcb471..62464c3dd450 100644
--- a/dev-ada/gtkada/Manifest
+++ b/dev-ada/gtkada/Manifest
@@ -1,10 +1,12 @@
+MD5 9692eea49b0592288a663903cf37de26 ChangeLog 2073
MD5 cb1aaa57310fd8484e86d797ded51fb2 gtkada-2.2.0-r1.ebuild 2462
MD5 f8800a78e807f9419af74a24e884d307 gtkada-2.2.1.ebuild 2466
-MD5 a35cc83ec2783ee568b3d1dff4e8db5c ChangeLog 1878
MD5 406df42dba8304e0bfa98dd1a79452b7 metadata.xml 556
MD5 341467623f022fe03d2bc872308207f3 gtkada-2.2.1-r1.ebuild 2462
-MD5 3272d807414b7bee90c1c4dc64971103 files/gtkada-2.2.0-gentoo.patch 541
-MD5 67a1b0d6cd1202e37a89427fbdecb948 files/digest-gtkada-2.2.1 62
+MD5 e2bbd7e2d9ff109542b9cca212570177 gtkada-2.4.0.ebuild 2391
MD5 27c6dd96e1ff25f77f4f3a50b4961a24 files/digest-gtkada-2.2.0-r1 62
+MD5 67a1b0d6cd1202e37a89427fbdecb948 files/digest-gtkada-2.2.1 62
+MD5 3272d807414b7bee90c1c4dc64971103 files/gtkada-2.2.0-gentoo.patch 541
MD5 67a1b0d6cd1202e37a89427fbdecb948 files/digest-gtkada-2.2.1-r1 62
MD5 19a7546682940bfcc7e516a523963a1a files/gtkada-2.2.1-gentoo.patch 5568
+MD5 580460b67415373c0212e8f788319b64 files/digest-gtkada-2.4.0 62
diff --git a/dev-ada/gtkada/files/digest-gtkada-2.4.0 b/dev-ada/gtkada/files/digest-gtkada-2.4.0
new file mode 100644
index 000000000000..0afca8eea816
--- /dev/null
+++ b/dev-ada/gtkada/files/digest-gtkada-2.4.0
@@ -0,0 +1 @@
+MD5 31232d695ca40c3fb346fb34bc93ed3d GtkAda-2.4.0.tgz 3235169
diff --git a/dev-ada/gtkada/gtkada-2.4.0.ebuild b/dev-ada/gtkada/gtkada-2.4.0.ebuild
new file mode 100644
index 000000000000..caf48ff2b976
--- /dev/null
+++ b/dev-ada/gtkada/gtkada-2.4.0.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/gtkada/gtkada-2.4.0.ebuild,v 1.1 2004/12/28 10:53:39 dholm Exp $
+
+inherit gnat eutils
+
+Name="GtkAda"
+DESCRIPTION="Gtk+ bindings to the Ada language"
+HOMEPAGE="http://libre.act-europe.fr/GtkAda"
+SRC_URI="http://libre.act-europe.fr/${Name}/${Name}-${PV}.tgz"
+
+LICENSE="GMGPL"
+SLOT="1"
+KEYWORDS="~x86 ~ppc"
+IUSE="nls opengl"
+
+DEPEND=">=dev-lang/gnat-3.14p
+ >=x11-libs/gtk+-2.2.0
+ >=sys-apps/sed-4"
+RDEPEND=""
+
+S="${WORKDIR}/${Name}-${PV}"
+
+src_compile() {
+ local myconf
+ myconf=""
+
+ use nls || myconf="${myconf} --disable-nls"
+ use opengl && myconf="${myconf} --with-GL=auto"
+
+ sed -i -e "s|-I\$prefix/include|-I/usr/lib/ada/adainclude|" \
+ src/gtkada-config.in
+ sed -i -e "s|-L\$prefix/include|-L/usr/lib/ada/adalib|" \
+ src/gtkada-config.in
+
+ # Avoid compilation problems during upgrades/reinstalls:
+ unset ADA_INCLUDE_PATH
+ unset ADA_OBJECTS_PATH
+
+ econf ${myconf} || die "./configure failed"
+
+ make GNATFLAGS="${ADACFLAGS}" || die
+}
+
+src_install() {
+ make prefix=${D}/usr \
+ incdir=${D}/usr/lib/ada/adainclude/gtkada \
+ libdir=${D}/usr/lib/ada/adalib/gtkada \
+ alidir=${D}/usr/lib/ada/adalib/gtkada install \
+ || die
+
+ dosym /usr/lib/ada/adalib/gtkada/libgtkada_glade-2.4.so.1 /usr/lib
+ dosym /usr/lib/ada/adalib/gtkada/libgtkada_gl-2.4.so.1 /usr/lib
+ dosym /usr/lib/ada/adalib/gtkada/libgnomeada-2.4.so.1 /usr/lib
+ dosym /usr/lib/ada/adalib/gtkada/libgtkada-2.4.so.1 /usr/lib
+ dosym /usr/lib/ada/adalib/gtkada/libgtkada_glade.so /usr/lib
+ dosym /usr/lib/ada/adalib/gtkada/libgtkada_gl.so /usr/lib
+ dosym /usr/lib/ada/adalib/gtkada/libgnomeada.so /usr/lib
+ dosym /usr/lib/ada/adalib/gtkada/libgtkada.so /usr/lib
+
+ #arrange docs properly
+ dodoc ANNOUNCE AUTHORS COPYING README
+ cd ${D}/usr
+ mv doc/${Name}/* share/${PN}/examples/ share/doc/${PF}
+ rm -rf doc/ share/${PN}/
+ cd ${S} #in case need to add anything afterwards
+
+ #set up environment
+ dodir /etc/env.d
+ echo "ADA_OBJECTS_PATH=/usr/lib/ada/adalib/${PN}" \
+ > ${D}/etc/env.d/55gtkada
+ echo "ADA_INCLUDE_PATH=/usr/lib/ada/adainclude/${PN}" \
+ >> ${D}/etc/env.d/55gtkada
+}
+
+pkg_postinst() {
+ einfo "The environment has been set up to make gnat automatically find files for"
+ einfo "GtkAda. In order to immediately activate these settings please do:"
+ einfo " env-update && source /etc/profile"
+ einfo "Otherwise the settings will become active next time you login"
+}