-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
246 additions
and
1,070 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
override/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
name = "x264_jll" | ||
uuid = "1270edf5-f2f9-52d2-97e9-ab00b5d0237a" | ||
version = "2020.7.14+1" | ||
version = "2020.7.14+2" | ||
|
||
[deps] | ||
JLLWrappers = "692b3bcd-3c85-4b1f-b108-f13ce0eb3210" | ||
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" | ||
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb" | ||
Artifacts = "56f22d72-fd6d-98f1-02f0-08ddc0907c33" | ||
|
||
[compat] | ||
JLLWrappers = "1.1.0" | ||
julia = "1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,81 +1,21 @@ | ||
# Autogenerated wrapper script for x264_jll for aarch64-linux-gnu | ||
export libx264, x264 | ||
|
||
## Global variables | ||
PATH = "" | ||
LIBPATH = "" | ||
LIBPATH_env = "LD_LIBRARY_PATH" | ||
LIBPATH_default = "" | ||
|
||
# Relative path to `libx264` | ||
const libx264_splitpath = ["lib", "libx264.so"] | ||
|
||
# This will be filled out by __init__() for all products, as it must be done at runtime | ||
libx264_path = "" | ||
|
||
# libx264-specific global declaration | ||
# This will be filled out by __init__() | ||
libx264_handle = C_NULL | ||
|
||
# This must be `const` so that we can use it with `ccall()` | ||
const libx264 = "libx264.so.161" | ||
|
||
|
||
# Relative path to `x264` | ||
const x264_splitpath = ["bin", "x264"] | ||
|
||
# This will be filled out by __init__() for all products, as it must be done at runtime | ||
x264_path = "" | ||
|
||
# x264-specific global declaration | ||
function x264(f::Function; adjust_PATH::Bool = true, adjust_LIBPATH::Bool = true) | ||
global PATH, LIBPATH | ||
env_mapping = Dict{String,String}() | ||
if adjust_PATH | ||
if !isempty(get(ENV, "PATH", "")) | ||
env_mapping["PATH"] = string(PATH, ':', ENV["PATH"]) | ||
else | ||
env_mapping["PATH"] = PATH | ||
end | ||
end | ||
if adjust_LIBPATH | ||
LIBPATH_base = get(ENV, LIBPATH_env, expanduser(LIBPATH_default)) | ||
if !isempty(LIBPATH_base) | ||
env_mapping[LIBPATH_env] = string(LIBPATH, ':', LIBPATH_base) | ||
else | ||
env_mapping[LIBPATH_env] = LIBPATH | ||
end | ||
end | ||
withenv(env_mapping...) do | ||
f(x264_path) | ||
end | ||
end | ||
|
||
|
||
""" | ||
Open all libraries | ||
""" | ||
JLLWrappers.@generate_wrapper_header("x264") | ||
JLLWrappers.@declare_library_product(libx264, "libx264.so.161") | ||
JLLWrappers.@declare_executable_product(x264) | ||
function __init__() | ||
global artifact_dir = abspath(artifact"x264") | ||
|
||
# Initialize PATH and LIBPATH environment variable listings | ||
global PATH_list, LIBPATH_list | ||
global libx264_path = normpath(joinpath(artifact_dir, libx264_splitpath...)) | ||
|
||
# Manually `dlopen()` this right now so that future invocations | ||
# of `ccall` with its `SONAME` will find this path immediately. | ||
global libx264_handle = dlopen(libx264_path) | ||
push!(LIBPATH_list, dirname(libx264_path)) | ||
|
||
global x264_path = normpath(joinpath(artifact_dir, x264_splitpath...)) | ||
|
||
push!(PATH_list, dirname(x264_path)) | ||
# Filter out duplicate and empty entries in our PATH and LIBPATH entries | ||
filter!(!isempty, unique!(PATH_list)) | ||
filter!(!isempty, unique!(LIBPATH_list)) | ||
global PATH = join(PATH_list, ':') | ||
global LIBPATH = join(vcat(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]), ':') | ||
|
||
|
||
JLLWrappers.@generate_init_header() | ||
JLLWrappers.@init_library_product( | ||
libx264, | ||
"lib/libx264.so", | ||
RTLD_LAZY | RTLD_DEEPBIND, | ||
) | ||
|
||
JLLWrappers.@init_executable_product( | ||
x264, | ||
"bin/x264", | ||
) | ||
|
||
JLLWrappers.@generate_init_footer() | ||
end # __init__() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,81 +1,21 @@ | ||
# Autogenerated wrapper script for x264_jll for aarch64-linux-musl | ||
export libx264, x264 | ||
|
||
## Global variables | ||
PATH = "" | ||
LIBPATH = "" | ||
LIBPATH_env = "LD_LIBRARY_PATH" | ||
LIBPATH_default = "" | ||
|
||
# Relative path to `libx264` | ||
const libx264_splitpath = ["lib", "libx264.so"] | ||
|
||
# This will be filled out by __init__() for all products, as it must be done at runtime | ||
libx264_path = "" | ||
|
||
# libx264-specific global declaration | ||
# This will be filled out by __init__() | ||
libx264_handle = C_NULL | ||
|
||
# This must be `const` so that we can use it with `ccall()` | ||
const libx264 = "libx264.so.161" | ||
|
||
|
||
# Relative path to `x264` | ||
const x264_splitpath = ["bin", "x264"] | ||
|
||
# This will be filled out by __init__() for all products, as it must be done at runtime | ||
x264_path = "" | ||
|
||
# x264-specific global declaration | ||
function x264(f::Function; adjust_PATH::Bool = true, adjust_LIBPATH::Bool = true) | ||
global PATH, LIBPATH | ||
env_mapping = Dict{String,String}() | ||
if adjust_PATH | ||
if !isempty(get(ENV, "PATH", "")) | ||
env_mapping["PATH"] = string(PATH, ':', ENV["PATH"]) | ||
else | ||
env_mapping["PATH"] = PATH | ||
end | ||
end | ||
if adjust_LIBPATH | ||
LIBPATH_base = get(ENV, LIBPATH_env, expanduser(LIBPATH_default)) | ||
if !isempty(LIBPATH_base) | ||
env_mapping[LIBPATH_env] = string(LIBPATH, ':', LIBPATH_base) | ||
else | ||
env_mapping[LIBPATH_env] = LIBPATH | ||
end | ||
end | ||
withenv(env_mapping...) do | ||
f(x264_path) | ||
end | ||
end | ||
|
||
|
||
""" | ||
Open all libraries | ||
""" | ||
JLLWrappers.@generate_wrapper_header("x264") | ||
JLLWrappers.@declare_library_product(libx264, "libx264.so.161") | ||
JLLWrappers.@declare_executable_product(x264) | ||
function __init__() | ||
global artifact_dir = abspath(artifact"x264") | ||
|
||
# Initialize PATH and LIBPATH environment variable listings | ||
global PATH_list, LIBPATH_list | ||
global libx264_path = normpath(joinpath(artifact_dir, libx264_splitpath...)) | ||
|
||
# Manually `dlopen()` this right now so that future invocations | ||
# of `ccall` with its `SONAME` will find this path immediately. | ||
global libx264_handle = dlopen(libx264_path) | ||
push!(LIBPATH_list, dirname(libx264_path)) | ||
|
||
global x264_path = normpath(joinpath(artifact_dir, x264_splitpath...)) | ||
|
||
push!(PATH_list, dirname(x264_path)) | ||
# Filter out duplicate and empty entries in our PATH and LIBPATH entries | ||
filter!(!isempty, unique!(PATH_list)) | ||
filter!(!isempty, unique!(LIBPATH_list)) | ||
global PATH = join(PATH_list, ':') | ||
global LIBPATH = join(vcat(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]), ':') | ||
|
||
|
||
JLLWrappers.@generate_init_header() | ||
JLLWrappers.@init_library_product( | ||
libx264, | ||
"lib/libx264.so", | ||
RTLD_LAZY | RTLD_DEEPBIND, | ||
) | ||
|
||
JLLWrappers.@init_executable_product( | ||
x264, | ||
"bin/x264", | ||
) | ||
|
||
JLLWrappers.@generate_init_footer() | ||
end # __init__() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,81 +1,21 @@ | ||
# Autogenerated wrapper script for x264_jll for armv7l-linux-gnueabihf | ||
export libx264, x264 | ||
|
||
## Global variables | ||
PATH = "" | ||
LIBPATH = "" | ||
LIBPATH_env = "LD_LIBRARY_PATH" | ||
LIBPATH_default = "" | ||
|
||
# Relative path to `libx264` | ||
const libx264_splitpath = ["lib", "libx264.so"] | ||
|
||
# This will be filled out by __init__() for all products, as it must be done at runtime | ||
libx264_path = "" | ||
|
||
# libx264-specific global declaration | ||
# This will be filled out by __init__() | ||
libx264_handle = C_NULL | ||
|
||
# This must be `const` so that we can use it with `ccall()` | ||
const libx264 = "libx264.so.161" | ||
|
||
|
||
# Relative path to `x264` | ||
const x264_splitpath = ["bin", "x264"] | ||
|
||
# This will be filled out by __init__() for all products, as it must be done at runtime | ||
x264_path = "" | ||
|
||
# x264-specific global declaration | ||
function x264(f::Function; adjust_PATH::Bool = true, adjust_LIBPATH::Bool = true) | ||
global PATH, LIBPATH | ||
env_mapping = Dict{String,String}() | ||
if adjust_PATH | ||
if !isempty(get(ENV, "PATH", "")) | ||
env_mapping["PATH"] = string(PATH, ':', ENV["PATH"]) | ||
else | ||
env_mapping["PATH"] = PATH | ||
end | ||
end | ||
if adjust_LIBPATH | ||
LIBPATH_base = get(ENV, LIBPATH_env, expanduser(LIBPATH_default)) | ||
if !isempty(LIBPATH_base) | ||
env_mapping[LIBPATH_env] = string(LIBPATH, ':', LIBPATH_base) | ||
else | ||
env_mapping[LIBPATH_env] = LIBPATH | ||
end | ||
end | ||
withenv(env_mapping...) do | ||
f(x264_path) | ||
end | ||
end | ||
|
||
|
||
""" | ||
Open all libraries | ||
""" | ||
JLLWrappers.@generate_wrapper_header("x264") | ||
JLLWrappers.@declare_library_product(libx264, "libx264.so.161") | ||
JLLWrappers.@declare_executable_product(x264) | ||
function __init__() | ||
global artifact_dir = abspath(artifact"x264") | ||
|
||
# Initialize PATH and LIBPATH environment variable listings | ||
global PATH_list, LIBPATH_list | ||
global libx264_path = normpath(joinpath(artifact_dir, libx264_splitpath...)) | ||
|
||
# Manually `dlopen()` this right now so that future invocations | ||
# of `ccall` with its `SONAME` will find this path immediately. | ||
global libx264_handle = dlopen(libx264_path) | ||
push!(LIBPATH_list, dirname(libx264_path)) | ||
|
||
global x264_path = normpath(joinpath(artifact_dir, x264_splitpath...)) | ||
|
||
push!(PATH_list, dirname(x264_path)) | ||
# Filter out duplicate and empty entries in our PATH and LIBPATH entries | ||
filter!(!isempty, unique!(PATH_list)) | ||
filter!(!isempty, unique!(LIBPATH_list)) | ||
global PATH = join(PATH_list, ':') | ||
global LIBPATH = join(vcat(LIBPATH_list, [joinpath(Sys.BINDIR, Base.LIBDIR, "julia"), joinpath(Sys.BINDIR, Base.LIBDIR)]), ':') | ||
|
||
|
||
JLLWrappers.@generate_init_header() | ||
JLLWrappers.@init_library_product( | ||
libx264, | ||
"lib/libx264.so", | ||
RTLD_LAZY | RTLD_DEEPBIND, | ||
) | ||
|
||
JLLWrappers.@init_executable_product( | ||
x264, | ||
"bin/x264", | ||
) | ||
|
||
JLLWrappers.@generate_init_footer() | ||
end # __init__() | ||
|
Oops, something went wrong.