summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2021-12-30 18:32:25 +0100
committerAlfredo Tupone <tupone@gentoo.org>2021-12-30 18:32:25 +0100
commitaeff0849269f28a12f5ffd4a59ce33f91807e67f (patch)
tree26f1d82ebb32141cf78c9a9cb90fa2613e8907cf /dev-ada/ada_libfswatch
parentsci-electronics/voacapl: Drop reference to ${D} in src_compile (diff)
downloadgentoo-aeff0849269f28a12f5ffd4a59ce33f91807e67f.tar.gz
gentoo-aeff0849269f28a12f5ffd4a59ce33f91807e67f.tar.bz2
gentoo-aeff0849269f28a12f5ffd4a59ce33f91807e67f.zip
dev-ada/ada_libfswatch: fix ObsoleteUri
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ada/ada_libfswatch')
-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>