From d263efd03d3d528a8dc4ca0f8b74863a2bd9ff05 Mon Sep 17 00:00:00 2001 From: haberdashpi Date: Tue, 22 Oct 2019 17:12:27 -0400 Subject: [PATCH 1/2] added libfdk --- L/libfdk/build_tarballs.jl | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 L/libfdk/build_tarballs.jl diff --git a/L/libfdk/build_tarballs.jl b/L/libfdk/build_tarballs.jl new file mode 100644 index 00000000000..64b31830a8b --- /dev/null +++ b/L/libfdk/build_tarballs.jl @@ -0,0 +1,37 @@ +# Note that this script can accept some limited command-line arguments, run +# `julia build_tarballs.jl --help` to see a usage message. +using BinaryBuilder + +name = "libfdk_aac" +version = v"0.1.6" + +# Collection of sources required to build libfdk +sources = [ + "https://downloads.sourceforge.net/opencore-amr/fdk-aac-$(version).tar.gz" => + "aab61b42ac6b5953e94924c73c194f08a86172d63d39c5717f526ca016bed3ad", + +] + +# Bash recipe for building across all platforms +script = raw""" +cd $WORKSPACE/srcdir/fdk-aac-* +./configure --prefix=$prefix --host=$target +make -j${nproc} +make install +""" + +# These are the platforms we will build for by default, unless further +# platforms are passed in on the command line +platforms = supported_platforms() + +# The products that we will ensure are always built +products = [ + LibraryProduct("libfdk-aac", :libfdk) +] + +# Dependencies that must be installed before this package can be built +dependencies = [ +] + +# Build the tarballs, and possibly a `build.jl` as well. +build_tarballs(ARGS, name, version, sources, script, platforms, products, dependencies) From d1a407543622c6118c6d144da2e998fd2c00cf1f Mon Sep 17 00:00:00 2001 From: haberdashpi Date: Wed, 23 Oct 2019 08:26:25 -0400 Subject: [PATCH 2/2] Moved libfdk to libfdk_aac --- L/{libfdk => libfdk_aac}/build_tarballs.jl | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename L/{libfdk => libfdk_aac}/build_tarballs.jl (100%) diff --git a/L/libfdk/build_tarballs.jl b/L/libfdk_aac/build_tarballs.jl similarity index 100% rename from L/libfdk/build_tarballs.jl rename to L/libfdk_aac/build_tarballs.jl