net-libs/libuplink: add 1.10.1-r1

Remove upstream Go linker stripping flags to avoid installing
pre-stripped objects.

Closes: https://bugs.gentoo.org/975463

Signed-off-by: David Reed <david-gentoo@reedfam.email>
This commit is contained in:
David Reed committed 2026-05-19 15:28:35 -07:00
1 parent f322bd776a
commit 9667b88b12
2 files changed
+11 -2

No files matched your search

@@ -11,7 +11,7 @@ MY_PN="uplink-c"
SRC_URI="
https://github.com/storj/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/david-gentoo/uplink-c/releases/download/v${PVR}/${MY_PN}-${PVR}-vendor.tar.xz
https://github.com/david-gentoo/uplink-c/releases/download/v${PV}/${MY_PN}-${PV}-vendor.tar.xz
"
S="${WORKDIR}/${MY_PN}-${PV}"
@@ -28,6 +28,15 @@ BDEPEND="
virtual/pkgconfig
"
src_prepare() {
default
# remove upstream's pre-stripped flags
sed -i \
-e 's/[[:space:]]*-ldflags="-s -w"//' \
scripts/build-lib || die
}
src_compile() {
emake build
}
+1 -1
View File
@@ -15,6 +15,6 @@
<upstream>
<remote-id type="github">storj/uplink-c</remote-id>
<bugs-to>https://github.com/storj/uplink-c/issues</bugs-to>
<doc>https://docs.storj.io/</doc>
<doc>https://storj.dev/</doc>
</upstream>
</pkgmetadata>