Skip to content

Commit

Permalink
x264_jll build 2020.7.14+2
Browse files Browse the repository at this point in the history
  • Loading branch information
jlbuild committed Oct 10, 2020
1 parent 297568f commit 622ea80
Show file tree
Hide file tree
Showing 19 changed files with 246 additions and 1,070 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
override/
5 changes: 4 additions & 1 deletion Project.toml
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"
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# `x264_jll.jl` (v2020.7.14+1)
# `x264_jll.jl` (v2020.7.14+2)

This is an autogenerated package constructed using [`BinaryBuilder.jl`](https://github.com/JuliaPackaging/BinaryBuilder.jl). The originating [`build_tarballs.jl`](https://github.com/JuliaPackaging/Yggdrasil/blob/97798e8067dcd81d67873ec1d70fb33dd395c76a/X/x264/build_tarballs.jl) script can be found on [`Yggdrasil`](https://github.com/JuliaPackaging/Yggdrasil/), the community build tree.
This is an autogenerated package constructed using [`BinaryBuilder.jl`](https://github.com/JuliaPackaging/BinaryBuilder.jl). The originating [`build_tarballs.jl`](https://github.com/JuliaPackaging/Yggdrasil/blob/cf47110667f12603f6d89993a1a2eca4950ad784/X/x264/build_tarballs.jl) script can be found on [`Yggdrasil`](https://github.com/JuliaPackaging/Yggdrasil/), the community build tree. If you have any issue, please report it to the Yggdrasil [bug tracker](https://github.com/JuliaPackaging/Yggdrasil/issues).

For more details about JLL packages and how to use them, see `BinaryBuilder.jl` [documentation](https://juliapackaging.github.io/BinaryBuilder.jl/dev/jll/).

Expand All @@ -14,19 +14,19 @@ The tarballs for `x264_jll.jl` have been built from these sources:

`x264_jll.jl` is available for the following platforms:

* `Linux(:aarch64, libc=:glibc)` (`aarch64-linux-gnu`)
* `Linux(:aarch64, libc=:musl)` (`aarch64-linux-musl`)
* `Linux(:armv7l, libc=:glibc, call_abi=:eabihf)` (`armv7l-linux-gnueabihf`)
* `Linux(:armv7l, libc=:musl, call_abi=:eabihf)` (`armv7l-linux-musleabihf`)
* `Linux(:i686, libc=:glibc)` (`i686-linux-gnu`)
* `Linux(:i686, libc=:musl)` (`i686-linux-musl`)
* `Windows(:i686)` (`i686-w64-mingw32`)
* `Linux(:powerpc64le, libc=:glibc)` (`powerpc64le-linux-gnu`)
* `MacOS(:x86_64)` (`x86_64-apple-darwin14`)
* `Linux(:x86_64, libc=:glibc)` (`x86_64-linux-gnu`)
* `Linux(:x86_64, libc=:musl)` (`x86_64-linux-musl`)
* `FreeBSD(:x86_64)` (`x86_64-unknown-freebsd11.1`)
* `Windows(:x86_64)` (`x86_64-w64-mingw32`)
* `Linux aarch64 {libc=glibc}` (`aarch64-linux-gnu`)
* `Linux aarch64 {libc=musl}` (`aarch64-linux-musl`)
* `Linux armv7l {call_abi=eabihf, libc=glibc}` (`armv7l-linux-gnueabihf`)
* `Linux armv7l {call_abi=eabihf, libc=musl}` (`armv7l-linux-musleabihf`)
* `Linux i686 {libc=glibc}` (`i686-linux-gnu`)
* `Linux i686 {libc=musl}` (`i686-linux-musl`)
* `Windows i686` (`i686-w64-mingw32`)
* `Linux powerpc64le {libc=glibc}` (`powerpc64le-linux-gnu`)
* `macOS x86_64` (`x86_64-apple-darwin`)
* `Linux x86_64 {libc=glibc}` (`x86_64-linux-gnu`)
* `Linux x86_64 {libc=musl}` (`x86_64-linux-musl`)
* `FreeBSD x86_64` (`x86_64-unknown-freebsd`)
* `Windows x86_64` (`x86_64-w64-mingw32`)

## Products

Expand Down
92 changes: 16 additions & 76 deletions src/wrappers/aarch64-linux-gnu.jl
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__()

92 changes: 16 additions & 76 deletions src/wrappers/aarch64-linux-musl.jl
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__()

92 changes: 16 additions & 76 deletions src/wrappers/armv7l-linux-gnueabihf.jl
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__()

Loading

0 comments on commit 622ea80

Please sign in to comment.