summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2007-05-28 07:23:55 +0000
committerGeorge Shapovalov <george@gentoo.org>2007-05-28 07:23:55 +0000
commit27d9a3662e322327f8d39642614bb81e025c688f (patch)
tree0d7990f8b670c28dd414d7448bc08b798f5e96a7 /dev-ada
parentadded new version (diff)
downloadgentoo-2-27d9a3662e322327f8d39642614bb81e025c688f.tar.gz
gentoo-2-27d9a3662e322327f8d39642614bb81e025c688f.tar.bz2
gentoo-2-27d9a3662e322327f8d39642614bb81e025c688f.zip
backported some enhancements from 2.10.0
(Portage version: 2.1.2.7)
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/gtkada/ChangeLog5
-rw-r--r--dev-ada/gtkada/gtkada-2.8.0.ebuild15
2 files changed, 13 insertions, 7 deletions
diff --git a/dev-ada/gtkada/ChangeLog b/dev-ada/gtkada/ChangeLog
index 64fa064bc23f..48fd2e80c4c3 100644
--- a/dev-ada/gtkada/ChangeLog
+++ b/dev-ada/gtkada/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ada/gtkada
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ada/gtkada/ChangeLog,v 1.25 2007/05/28 07:18:23 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/gtkada/ChangeLog,v 1.26 2007/05/28 07:23:55 george Exp $
+
+ 28 May 2007; George Shapovalov <george@gentoo.org> gtkada-2.8.0.ebuild:
+ backported some enhancements from 2.10.0
*gtkada-2.10.0 (28 May 2007)
diff --git a/dev-ada/gtkada/gtkada-2.8.0.ebuild b/dev-ada/gtkada/gtkada-2.8.0.ebuild
index f239a428ce4a..475d45eead2d 100644
--- a/dev-ada/gtkada/gtkada-2.8.0.ebuild
+++ b/dev-ada/gtkada/gtkada-2.8.0.ebuild
@@ -1,10 +1,11 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ada/gtkada/gtkada-2.8.0.ebuild,v 1.4 2007/05/28 07:18:23 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ada/gtkada/gtkada-2.8.0.ebuild,v 1.5 2007/05/28 07:23:55 george Exp $
-inherit eutils gnat
+inherit eutils gnat versionator
Name="GtkAda-gpl"
+MajorPV=$(get_version_component_range 1-2)
DESCRIPTION="Gtk+ bindings to the Ada language"
HOMEPAGE="https://libre2.adacore.com/GtkAda/"
SRC_URI="http://dev.gentoo.org/~george/src/${Name}-${PV}.tgz"
@@ -27,7 +28,7 @@ S="${WORKDIR}/${Name}-${PV}"
# only needed for gcc-3.x based gnat profiles, but matching them individually
# would be insane
-QA_EXECSTACK="${AdalibLibTop:1}/*/gtkada/libgtkada-2.8.so.0"
+QA_EXECSTACK="${AdalibLibTop:1}/*/gtkada/libgtkada-${MajorPV}.so.0"
src_unpack() {
gnat_src_unpack
@@ -75,16 +76,18 @@ src_install() {
gnat_src_install
- cd ${S}
#specs
+ cd ${S}/src
dodir "${AdalibSpecsDir}/${PN}"
insinto "${AdalibSpecsDir}/${PN}"
- doins src/*.ad?
+ doins *.ad? glade/*.ad? gnome/*.ad? opengl/*.{ad?,c,h}
#docs
+ cd ${S}
dodoc ANNOUNCE AUTHORS COPYING README
cp -dPr examples/ testgtk/ "${D}/usr/share/doc/${PF}"
- cd docs
+ cd ${S}/docs
+ doinfo gtkada_ug/gtkada_ug.info
ps2pdf gtkada_ug/gtkada_ug.ps
ps2pdf gtkada_rm/gtkada_rm.ps
cp gtkada_ug.pdf gtkada_rm.pdf "${D}/usr/share/doc/${PF}"