Skip to content

Commit

Permalink
media-plugins/obs-livesplit-one: fix target path of built library
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperTux88 committed Nov 14, 2024
1 parent b961524 commit 55679c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -384,10 +384,10 @@ src_compile() {
# obs-livesplit-one uses libobs.so, but the metadata of media-video/obs-studio only provide libobs.so.0
# (but libobs.so is available too, but not in metadata)
# This prevents the "QA Notice: Unresolved soname dependencies" warning
patchelf --replace-needed libobs.so libobs.so.0 "${S}/target/release/libobs_livesplit_one.so"
patchelf --replace-needed libobs.so libobs.so.0 "${S}/$(cargo_target_dir)/libobs_livesplit_one.so"
}

src_install() {
insinto /usr/lib64/obs-plugins
doins "${S}/target/release/libobs_livesplit_one.so"
doins "${S}/$(cargo_target_dir)/libobs_livesplit_one.so"
}
Loading

0 comments on commit 55679c9

Please sign in to comment.