summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-02-10 05:57:20 +0000
committerSam James <sam@gentoo.org>2023-02-10 05:57:20 +0000
commit280fa250e6073532b4103048ffaf783c0de9a254 (patch)
treec06dc165f71a55e91c15e0e75d56f26b73928991 /app-arch
parentapp-arch/zstd: unkeyword 1.5.4-r1 (diff)
downloadgentoo-280fa250e6073532b4103048ffaf783c0de9a254.tar.gz
gentoo-280fa250e6073532b4103048ffaf783c0de9a254.tar.bz2
gentoo-280fa250e6073532b4103048ffaf783c0de9a254.zip
app-arch/zstd: wire up split-usr
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/zstd/zstd-1.5.4-r1.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/app-arch/zstd/zstd-1.5.4-r1.ebuild b/app-arch/zstd/zstd-1.5.4-r1.ebuild
index 416acf5d69ca..924a52a9985b 100644
--- a/app-arch/zstd/zstd-1.5.4-r1.ebuild
+++ b/app-arch/zstd/zstd-1.5.4-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit meson-multilib toolchain-funcs usr-ldscript
+inherit meson-multilib usr-ldscript
DESCRIPTION="zstd fast compression library"
HOMEPAGE="https://facebook.github.io/zstd/"
@@ -14,6 +14,7 @@ S="${WORKDIR}"/${P}/build/meson
LICENSE="|| ( BSD GPL-2 )"
SLOT="0/1"
+# TODO: wire up static-libs
#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="+lzma lz4 static-libs test zlib"
RESTRICT="!test? ( test )"
@@ -56,3 +57,9 @@ multilib_src_configure() {
meson_src_configure
}
+
+multilib_src_install() {
+ meson_src_install
+
+ multilib_is_native_abi && gen_usr_ldscript -a zstd
+}