dev-ada/gps-bin: use only (gnat)gcc-4.9.4
authorTupone Alfredo <tupone@gentoo.org>
Wed, 22 Nov 2017 18:25:51 +0000 (18:25 +0000)
committerTupone Alfredo <tupone@gentoo.org>
Wed, 22 Nov 2017 18:26:14 +0000 (18:26 +0000)
Package-Manager: Portage-2.3.13, Repoman-2.3.3

dev-ada/gps-bin/Manifest
dev-ada/gps-bin/gps-bin-2016.ebuild
dev-ada/gps-bin/metadata.xml

index 70e439d44a0af6210664f7e9d93514fb413b0983..7def8be9a44d2fff8d171c576f81a55dbd79001c 100644 (file)
@@ -1 +1 @@
-DIST gnat-gpl-2016-x86_64-linux-bin.tar.gz 372813330 SHA256 d083c01e054d0aeda7c67967306cfa5a8df12268664f9098a2d9b331aa24dfe7 SHA512 5115ac3be0badc5125ee048a98230f18363d72107da3325ce602c0e618cee2e3646a0decc00a2388f14bc61bfed51dd0622f365f5f7ee8b0cec2187ebcf8e075 WHIRLPOOL 7802a81533e5faad9c6913a2feae4e57fa4ce54ad7b561b23fbb64fdd9fa4bf3753e3c89e8d8fe15dce7a1294def8a5a4252f6aa66b4aef98d5669c2d08e0dd5
+DIST gnat-gpl-2016-x86_64-linux-bin.tar.gz 372813330 BLAKE2B a0374ad730ae275aaedcf5663c30f8e0221af32f14391fe87a3ce0630d4498a1e90671c02830d62f78857571a5a521af91f6db409a7b3c367c7b0f059571eefd SHA512 5115ac3be0badc5125ee048a98230f18363d72107da3325ce602c0e618cee2e3646a0decc00a2388f14bc61bfed51dd0622f365f5f7ee8b0cec2187ebcf8e075
index 25fd9b69678965306f93f8ef7f14621faea11311..c8fcc1c78b710e4eb94ecc9ed0913bb4ee763b84 100644 (file)
@@ -17,10 +17,7 @@ IUSE=""
 
 DEPEND=""
 RDEPEND="${DEPEND}
-       dev-ada/gnatcoll[iconv,postgresql,projects,readline,sqlite]
-       dev-ada/gprbuild[shared]
-       dev-db/sqlite
-       dev-lang/gnat-gpl
+       dev-ada/gnatcoll[gnat_2016,iconv,postgresql,projects,readline,sqlite]
        dev-libs/atk
        dev-libs/glib
        dev-libs/gobject-introspection
@@ -38,24 +35,16 @@ RDEPEND="${DEPEND}
 
 S="${WORKDIR}"/${MY_P}
 
-pkg_setup() {
-       GCC=${ADA:-$(tc-getCC)}
-       GNATLS="${GCC/gcc/gnatls}"
-       GNAT="${GCC/gcc/gnat}"
-       GNATMAKE="${GCC/gcc/gnatmake}"
-       if [[ -z "$(type ${GNATLS} 2>/dev/null)" ]] ; then
-               eerror "You need a gcc compiler that provides the Ada Compiler:"
-               eerror "1) use gcc-config to select the right compiler or"
-               eerror "2) set ADA=gcc-4.9.4 in make.conf"
-               die "ada compiler not available"
-       fi
-}
-
 src_compile() {
        :
 }
 
 src_install() {
+       GCC_PV=4.9.4
+       GCC=gcc-${GCC_PV}
+       GNATLS=gnatls-${GCC_PV}
+       GNAT=gnatt-${GCC_PV}
+       GNATMAKE=gnatmake-${GCC_PV}
        into /opt/${P}
        dobin bin/gps_exe
        dobin bin/gps_cli
index ebe9a3559c566d422765172c6e45e699abb268fd..5c70b5a1629a3b3f16e0558e61d31fdf115eaf8e 100644 (file)
@@ -6,8 +6,17 @@
                <name>Tupone Alfredo</name>
        </maintainer>
        <longdescription lang="en">
-                GPS, the GNAT Programming Studio, is a cutting-edge Free Software IDE that streamlines the interaction between developers and their software. With its intuitive interface, GPS is easy to use, simplifying source navigation and highlighting the fundamental ideas in the program.
+               GPS, the GNAT Programming Studio, is a cutting-edge Free Software IDE
+               that streamlines the interaction between developers and their software.
+               With its intuitive interface, GPS is easy to use, simplifying source
+               navigation and highlighting the fundamental ideas in the program.
 
-By displaying core application structures, such as call graphs, program entity graphs, and project dependencies, GPS facilitates the development of systems. GPS helps construct reliable code while providing the same interface and behavior across a variety of platforms. Designed by programmers for programmers, GPS is a new kind of IDE that offers the experience of designing software in a uniquely comfortable environment.
+               By displaying core application structures, such as call graphs, program
+               entity graphs, and project dependencies, GPS facilitates the
+               development of systems. GPS helps construct reliable code while
+               providing the same interface and behavior across a variety of
+               platforms. Designed by programmers for programmers, GPS is a new kind
+               of IDE that offers the experience of designing software in a uniquely
+               comfortable environment.
        </longdescription>
 </pkgmetadata>