gem-config: add opus-ruby (#59084)
This commit is contained in:
parent
10a1c39a89
commit
af44cf8bc5
1 changed files with 10 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
|||
, cmake, libssh2, openssl, mysql, darwin, git, perl, pcre, gecode_3, curl
|
||||
, msgpack, qt59, libsodium, snappy, libossp_uuid, lxc, libpcap, xorg, gtk2, buildRubyGem
|
||||
, cairo, re2, rake, gobject-introspection, gdk_pixbuf, zeromq, czmq, graphicsmagick, libcxx
|
||||
, file, libvirt, glib, vips, taglib
|
||||
, file, libvirt, glib, vips, taglib, libopus
|
||||
, libselinux ? null, libsepol ? null
|
||||
}@args:
|
||||
|
||||
|
@ -275,6 +275,15 @@ in
|
|||
] ++ lib.optional stdenv.isDarwin "--with-iconv-dir=${libiconv}";
|
||||
};
|
||||
|
||||
opus-ruby = attrs: {
|
||||
dontBuild = false;
|
||||
postPatch = ''
|
||||
substituteInPlace lib/opus-ruby.rb \
|
||||
--replace "ffi_lib 'opus'" \
|
||||
"ffi_lib '${libopus}/lib/libopus${stdenv.hostPlatform.extensions.sharedLibrary}'"
|
||||
'';
|
||||
};
|
||||
|
||||
ovirt-engine-sdk = attrs: {
|
||||
buildInputs = [ curl libxml2 ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue