summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ada/ada_libfswatch/ada_libfswatch-20201105.ebuild8
-rw-r--r--dev-ada/ada_libfswatch/metadata.xml3
2 files changed, 7 insertions, 4 deletions
diff --git a/dev-ada/ada_libfswatch/ada_libfswatch-20201105.ebuild b/dev-ada/ada_libfswatch/ada_libfswatch-20201105.ebuild
index fdc6149a32ce..14f182fcc31f 100644
--- a/dev-ada/ada_libfswatch/ada_libfswatch-20201105.ebuild
+++ b/dev-ada/ada_libfswatch/ada_libfswatch-20201105.ebuild
@@ -10,7 +10,7 @@ commitId=94c0a5f137b88113a791a148b60e5e7d019d6fa1
DESCRIPTION="Ada binding to the libfswatch library"
HOMEPAGE="https://github.com/AdaCore/ada_libfswatch"
-SRC_URI="https://github.com/AdaCore/${PN}/tarball/${commitId}
+SRC_URI="https://github.com/AdaCore/${PN}/archive/${commitId}.tar.gz
-> ${P}.tar.gz"
LICENSE="GPL-3 gcc-runtime-library-exception-3.1"
@@ -18,7 +18,7 @@ SLOT="0"
KEYWORDS="~amd64"
RDEPEND="${ADA_DEPS}
- dev-ada/gnatcoll-core[${ADA_USEDEP}]
+ dev-ada/gnatcoll-core[${ADA_USEDEP},shared]
sys-fs/fswatch"
DEPEND="${RDEPEND}"
BDEPEND="dev-ada/gprbuild[${ADA_USEDEP}]"
@@ -42,13 +42,13 @@ src_prepare() {
}
src_compile() {
- gprbuild -p -v -P ada_libfswatch -XLIBRARY_TYPE=static \
+ gprbuild -p -v -P ada_libfswatch -XLIBRARY_TYPE=relocatable \
-cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} \
|| die
}
src_install() {
- gprinstall -v -r -p -P ada_libfswatch -XLIBRARY_TYPE=static \
+ gprinstall -v -r -p -P ada_libfswatch -XLIBRARY_TYPE=relocatable \
--prefix="${D}"/usr || die
einstalldocs
}
diff --git a/dev-ada/ada_libfswatch/metadata.xml b/dev-ada/ada_libfswatch/metadata.xml
index 91e8ad9f5e33..11c22246babd 100644
--- a/dev-ada/ada_libfswatch/metadata.xml
+++ b/dev-ada/ada_libfswatch/metadata.xml
@@ -4,4 +4,7 @@
<maintainer type="project">
<email>ada@gentoo.org</email>
</maintainer>
+ <upstream>
+ <remote-id type="github">AdaCore/ada_libfswatch</remote-id>
+ </upstream>
</pkgmetadata>