summaryrefslogtreecommitdiff
path: root/media-libs/libdovi
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-10 03:03:09 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-10 03:03:09 +0000
commitbe94ae04eee564451203d45977c2ef7c7ace1580 (patch)
tree616ffc0ad9aee18dc7d5e9e62bf62394e8e520ba /media-libs/libdovi
parent2be329ae14bbf99f0fc4de7567e2386bbb529fdc (diff)
gentoo auto-resync : 10:11:2024 - 03:03:09
Diffstat (limited to 'media-libs/libdovi')
-rw-r--r--media-libs/libdovi/Manifest2
-rw-r--r--media-libs/libdovi/libdovi-3.3.1-r1.ebuild (renamed from media-libs/libdovi/libdovi-3.3.1.ebuild)53
2 files changed, 35 insertions, 20 deletions
diff --git a/media-libs/libdovi/Manifest b/media-libs/libdovi/Manifest
index 616ad6adf5af..bb10e1db51a9 100644
--- a/media-libs/libdovi/Manifest
+++ b/media-libs/libdovi/Manifest
@@ -83,5 +83,5 @@ DIST windows_x86_64_gnu-0.52.6.crate 836363 BLAKE2B e2335829155cdbd4a55cc9f9babc
DIST windows_x86_64_gnullvm-0.52.6.crate 435707 BLAKE2B ab77dccd06328cdb00175f41cdbc120594050a9678b7f9820444391fb50aada3911a91ea00f3a6db2b4fa1820fd23bc9a007dfbe65ad41417c26ee1137ef9b96 SHA512 67681f5859e249c56b0183181811f6212cc7008d6471dad78aecc7ebe3d027686b19210b8aa9014c554410f69f913d21ce2aca928eea905eab779bea26464cbd
DIST windows_x86_64_msvc-0.52.6.crate 832564 BLAKE2B 8e9a3044654c6de99a9153e7cacd575474e7a8a3d883c67b02132af5d3fc99d03cd5f7a4dd666a3947451d11218e6acc6eb5e2526f012481106cc13453839719 SHA512 21944cd8e3a481b514509e73ae3f62722fe7ed380d37ea0c25f8fbdeba79174dd52ff65d898838da5df4197894b74e00f45d47489418e978753b4e55c7e623e7
DIST wyz-0.5.1.crate 18790 BLAKE2B 07ac1435a812d2f50309348ef8378ea4955c001f01edaf2ffab108f7d524ee731f06b22fd42c043349a4a2271ec47ea203e89562076e8c7c1719112b0214c89a SHA512 15d86c167145c90e3fbabcefd11754fb1cb835896e32d1bb7f4b027e5b2092f5fdbdca4062c129bc38e655cb87c6a3f4e181747ee25d89db5e01fb1fcac18fe9
-EBUILD libdovi-3.3.1.ebuild 2852 BLAKE2B 46d07bf408d7ec505fef70e097ea5d05dc4929c31ce6047cd285c3ade6390413eaf80024d48a18602b5393a5486e8b5a3f2b4ba83bbcc0ca90bb8b6f086b94e2 SHA512 5c335be563f70bf8f65a015ee6525d8adc5321f59daedcb81cea2f0e9f0e2c04440ea2556fefe8115d8af4b739bce81f8e33d02e9eb8211bf74cde50badd9d45
+EBUILD libdovi-3.3.1-r1.ebuild 3114 BLAKE2B 949b037b6718abd145eafeb7d5590f9acb2b02518ee1148bc6ab75405c60a323a3920ad7e224b0c89822db0dcbb5e2abf13bb52ba747f27adc197269f6451dba SHA512 b0dd154179e1c436dc7f20e8f5884c8f6400247fb85ad6c4fe826cbd022969105801dd6ff2a1b0bcf7aeb60981251e44a023de814639d74830f5b7e4c643e851
MISC metadata.xml 330 BLAKE2B 58eecc5643c7be5713145bff679903a5d34827b4cf976255bf573cfa488a2277ce773538297e3fb728ef8b90eb266a68a8329d80295240ccc2fbe4647c0ff566 SHA512 f083788feca4bafdd0376759f15ba6ff48121abd6ad98fb235142e415a089238efb570c564d0425d0099f3dcf9131cff56eed1e6d605716608cf3ea881ba4487
diff --git a/media-libs/libdovi/libdovi-3.3.1.ebuild b/media-libs/libdovi/libdovi-3.3.1-r1.ebuild
index c8d73ea5f7ba..6a4caf5acf88 100644
--- a/media-libs/libdovi/libdovi-3.3.1.ebuild
+++ b/media-libs/libdovi/libdovi-3.3.1-r1.ebuild
@@ -89,7 +89,8 @@ CRATES="
windows_x86_64_msvc@0.52.6
wyz@0.5.1
"
-inherit cargo edo multilib-minimal rust-toolchain
+RUST_USEDEP='${MULTILIB_USEDEP}'
+inherit multilib-minimal cargo edo rust-toolchain
DESCRIPTION="Dolby Vision metadata parsing and writing"
HOMEPAGE="https://github.com/quietvoid/dovi_tool/"
@@ -116,28 +117,42 @@ src_prepare() {
multilib_copy_sources
}
-multilib_src_configure() {
- local -n cargoargs=${PN}_CARGOARGS_${ABI}
-
- cargoargs=(
- --prefix="${EPREFIX}/usr"
- --libdir="${EPREFIX}/usr/$(get_libdir)"
- --library-type=cdylib
- --target="$(rust_abi)"
- # cargo cbuild --help claims dev is default but (currently) this seems
- # to always use release unless --profile=dev is explicitly passed?
- $(usex debug --profile=dev --release)
- )
+src_configure() {
+ multilib_src_configure() {
+ local -n cargoargs=${PN}_CARGOARGS_${ABI}
+
+ cargoargs=(
+ --prefix="${EPREFIX}/usr"
+ --libdir="${EPREFIX}/usr/$(get_libdir)"
+ --library-type=cdylib
+ --target="$(rust_abi)"
+ # cargo cbuild --help claims dev is default but (currently) seems
+ # to always use release unless --profile=dev is explicitly passed?
+ $(usex debug --profile=dev --release)
+ )
+ }
+
+ multilib-minimal_src_configure
}
-multilib_src_compile() {
- local -n cargoargs=${PN}_CARGOARGS_${ABI}
+src_compile() {
+ multilib_src_compile() {
+ local -n cargoargs=${PN}_CARGOARGS_${ABI}
+
+ edo cargo cbuild "${cargoargs[@]}"
+ }
- edo cargo cbuild "${cargoargs[@]}"
+ multilib-minimal_src_compile
}
-multilib_src_install() {
- local -n cargoargs=${PN}_CARGOARGS_${ABI}
+src_test() { :; } # no tests, and must not run cargo_src_test
+
+src_install() {
+ multilib_src_install() {
+ local -n cargoargs=${PN}_CARGOARGS_${ABI}
+
+ edo cargo cinstall --destdir="${D}" "${cargoargs[@]}"
+ }
- edo cargo cinstall --destdir="${D}" "${cargoargs[@]}"
+ multilib-minimal_src_install
}