diff options
author | George Shapovalov <george@gentoo.org> | 2008-08-23 20:13:40 +0000 |
---|---|---|
committer | George Shapovalov <george@gentoo.org> | 2008-08-23 20:13:40 +0000 |
commit | fc82a434f1c00f9637cba155e06790bb64919177 (patch) | |
tree | 2f1e799817bba9266e375ce662416ac39c788ffd /dev-ada | |
parent | Version bump (diff) | |
download | historical-fc82a434f1c00f9637cba155e06790bb64919177.tar.gz historical-fc82a434f1c00f9637cba155e06790bb64919177.tar.bz2 historical-fc82a434f1c00f9637cba155e06790bb64919177.zip |
added new version, only builds with gnat-gpl-2007, as 1.0.3
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.25-gentoo-r4 x86_64
Diffstat (limited to 'dev-ada')
-rw-r--r-- | dev-ada/asis-gpl/Manifest | 2 | ||||
-rw-r--r-- | dev-ada/qtada/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ada/qtada/Manifest | 4 | ||||
-rw-r--r-- | dev-ada/qtada/qtada-1.0.4.ebuild | 85 |
4 files changed, 96 insertions, 3 deletions
diff --git a/dev-ada/asis-gpl/Manifest b/dev-ada/asis-gpl/Manifest index 2c070ca3cdcd..606a4c293053 100644 --- a/dev-ada/asis-gpl/Manifest +++ b/dev-ada/asis-gpl/Manifest @@ -5,6 +5,6 @@ EBUILD asis-gpl-3.4.6.2006.ebuild 3147 RMD160 3b7fd8a04a0764583f7d78f51c6dddabc2 EBUILD asis-gpl-4.1.3.2007-r1.ebuild 3436 RMD160 508d4d07691be4650ffdfc338ef4ac3dc1722e8c SHA1 69b44cad32b3d64fa9fe11a27352be8635da3258 SHA256 02da5036f2ddca5cbf174e92f340eff8f6962e7cf64e57367de70384359dedf6 EBUILD asis-gpl-4.1.3.2007-r2.ebuild 3481 RMD160 0677559faeadba7c91327c51b992d1d97f09251d SHA1 ce249f45c076ab456be2870241d50cc6f41c6554 SHA256 5ae74e54ed4eee3625be06b580105c3ce6149acbde5d48218e530bb55952ca4c EBUILD asis-gpl-4.1.3.2008-r1.ebuild 3600 RMD160 089483393acffa35f49743b42fbcdaa4ccd61b89 SHA1 55d98c2d8797bd2b52bc8c16ea46ac2b6691e6e8 SHA256 f607d85975bdc6393c54d8c1c613be60b32f88fef14681cbf89a67233493d5db -EBUILD asis-gpl-4.1.3.2008.ebuild 3486 RMD160 9ffba6d0b4147460cf5b2bdaf1131c90d76ac6d2 SHA1 89dd29f050b80ca42cd6a06da348f18122a33c66 SHA256 9ba3125ae6331878fa063bddb31f4b50d29932fb6de635020b49a8f4e1e4c60e +EBUILD asis-gpl-4.1.3.2008.ebuild 3468 RMD160 5b04b940af60f0d44d5d0322af06110c90d4a8a8 SHA1 6d4b848c9c00e0ed645f9f9d8a3a20d6f128a161 SHA256 42caf2c868ba1e010c72e1d97918e6e99bd933cad4dacebb54e7acd58293263f MISC ChangeLog 1808 RMD160 761983ae5bb4c4f79d1710d499bbad740c6f2a46 SHA1 91351db751fbdce0b0ba1920e504c2761dfa229a SHA256 5c3881d56973ed3e16679d76c813ace9ebb385cd4988daf4f93a011d72732f15 MISC metadata.xml 637 RMD160 6df3899e69c0810ca05efcbcff060061a15a73ac SHA1 e1a007ec0c698ac861bea0644ade8d8b959beecb SHA256 308a2c7d3860cb42a0227e831e43c12da9c1e914696e3fc38013b31dc2896863 diff --git a/dev-ada/qtada/ChangeLog b/dev-ada/qtada/ChangeLog index 5b1de8a9db44..6f9decc38d27 100644 --- a/dev-ada/qtada/ChangeLog +++ b/dev-ada/qtada/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ada/qtada # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ada/qtada/ChangeLog,v 1.1 2008/05/20 09:32:07 george Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ada/qtada/ChangeLog,v 1.2 2008/08/23 20:13:40 george Exp $ + +*qtada-1.0.4 (23 Aug 2008) + + 23 Aug 2008; George Shapovalov <george@gentoo.org> +qtada-1.0.4.ebuild: + added new version, only builds with gnat-gpl-2007, as 1.0.3 (might be Ok + with -2008 on x86 only) *qtada-1.0.3 (20 May 2008) diff --git a/dev-ada/qtada/Manifest b/dev-ada/qtada/Manifest index 872bfdb5d36b..83b49fa51e69 100644 --- a/dev-ada/qtada/Manifest +++ b/dev-ada/qtada/Manifest @@ -1,4 +1,6 @@ DIST qtada-gpl-1.0.3.tar.gz 1618503 RMD160 01999348a0adae324f9102ed25cdc15172c7211d SHA1 8a5cde5bc74c1526456daadc279c988458c468df SHA256 01f283b388d050415dcad773b91e6486e4f376e87c70f1fd28e9a388d682060e +DIST qtada-gpl-1.0.4.tar.gz 1624466 RMD160 04a50e855d4c3d63213853d90bd2fa625547294e SHA1 9e71bfb47958793c324822ce9b03de308f397800 SHA256 e39b8f459361d8cf142527771b179d2aba77e7849359803042ed45e9129a9789 EBUILD qtada-1.0.3.ebuild 2787 RMD160 39b282827a48365ebf138762dd3352df16d82eb0 SHA1 d31aeaa2792bd8e6c4f178caac34725b021310a0 SHA256 ce3e758005e97f19f30da978effc51963ae167545d6014baf38e784b61c1c7f4 -MISC ChangeLog 410 RMD160 094936e98df18eaf3449c8c5a47e1e617faa0552 SHA1 6b2428db66a6f2578c3f791f35ef57f4498b34cb SHA256 a6253611b1a48e971d09d6e41dc93e31ebf48ab5bb6288c96ccfc6b51d7784ed +EBUILD qtada-1.0.4.ebuild 2831 RMD160 ed5caf863c830f8372be5ece6c73af3eef8522bd SHA1 5955fcff817ecafb2e77300f5203ee0b1b4b1e22 SHA256 7c51c1266878770227b9a46ef56f592ab182249e99cff3064be7e42fbfcd403f +MISC ChangeLog 614 RMD160 665718a4add537e00dbc755d4c3a517ec623932c SHA1 4fc3a86127add4581b8bf7efacfe3d66ea6420a6 SHA256 83a47e20cacef76c6d4ff4f47372d6e88a85a2498df86d196b784390e65508bb MISC metadata.xml 938 RMD160 d56fe21a5d0e3476dea7db8c325618f6ec007502 SHA1 47efe6a2dbcf0f11b04f1bd9d144e018ace7579d SHA256 2f009a0f62b8fc89cc7188d5bedfcd8cea774d70456f69454ad2ec6cd544a377 diff --git a/dev-ada/qtada/qtada-1.0.4.ebuild b/dev-ada/qtada/qtada-1.0.4.ebuild new file mode 100644 index 000000000000..31e2e955d09a --- /dev/null +++ b/dev-ada/qtada/qtada-1.0.4.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ada/qtada/qtada-1.0.4.ebuild,v 1.1 2008/08/23 20:13:40 george Exp $ + +# We only need gnat.eclass for a few vars and helper functions. +# We will not use src_* functions though. +inherit eutils multilib gnat + +IUSE="" + +DESCRIPTION="Ada bindings for Qt library" +HOMEPAGE="http://www.qtada.com/" +SRC_URI="http://download.qtada.com/${PN}-gpl-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" + +# qtada is quite picky atm. For example this version will only compile with +# the specified gnat, not even gnat-gcc-4.3.0 for example. +RDEPEND="=dev-lang/gnat-gpl-4.1.3.2007* + dev-ada/asis-gpl + >=x11-libs/qt-core-4.4.1 + >=x11-libs/qt-gui-4.4.1" + +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${PN}-gpl-${PV}" + +#LIBDIR=/usr/lib/ada/i686-pc-linux-gnu-gnat-gpl-4.1/qtada + +pkg_setup() { + local ActiveGnat=$(get_active_profile) + if [[ ! ${ActiveGnat:((-12))} == "gnat-gpl-4.1" ]]; then + ewarn "This version of qtada can only be compiled with gnat-gpl-4.1" + die "Please switch to gnat-gpl-4.1 and try again" + fi +# if ! built_with_use ">=x11-libs/qt-4.0" accessibility ; then +# die "Rebuild qt-4 with USE=accessibility" +# fi +} + +# As this version of qtada only compiles with gnat-gpl-4.1 and we already +# verified that it is active, we do not switch profiles or do any majic here. +# We simplt run build once, just need to set some path appropriately. +src_compile() { + econf --datadir=${AdalibDataDir}/${PN} \ + --includedir=${AdalibSpecsDir}/${PN} \ + --libdir=${AdalibLibTop}/$(get_active_profile)/${PN} || die "econf failed" + emake || die "make failed" +} + +src_install() { + # set common part of the path + local InstTop=${AdalibLibTop}/$(get_active_profile) + + # run upstream setup + einstall \ + libdir=${D}/${InstTop}/${PN} \ + bindir=${D}/${InstTop}/bin \ + includedir=${D}/${AdalibSpecsDir} || die "install failed" + + # move .ali file together with .so's + mv "${D}"/${InstTop}/${PN}/${PN}/*.ali "${D}"/${InstTop}/${PN}/ + rmdir "${D}"/${InstTop}/${PN}/${PN}/ + + # arrange and fix gpr files + mv "${D}"/${InstTop}/${PN}/gnat "${D}"/${InstTop}/gpr + sed -i -e "s:/usr/include:${AdalibSpecsDir}:" \ + -e "s:/usr/lib:${InstTop}/${PN}:" \ + -e "s:${PN}/${PN}:${PN}" "${D}"/${InstTop}/gpr/*.gpr + + # Create an environment file + local SpecFile="${D}/usr/share/gnat/eselect/${PN}/$(get_active_profile)" + dodir /usr/share/gnat/eselect/${PN}/ + echo "PATH=${InstTop}/bin" > "${SpecFile}" + echo "ADA_INCLUDE_PATH=${AdalibSpecsDir}/${PN}/core" >> "${SpecFile}" + echo "ADA_OBJECTS_PATH=${InstTop}/${PN}" >> "${SpecFile}" + echo "ADA_PROJECT_PATH=${InstTop}/gpr" >> "${SpecFile}" + + # install docs + dodoc AUTHORS NEWS README + mv "${D}"/usr/examples/${PN} "${D}"/usr/share/doc/${PF}/examples + rmdir "${D}"/usr/examples/ +} |