$(eval $(call import.MODULE.defs,LIBTHEORA,libtheora,LIBOGG LIBVORBIS)) $(eval $(call import.CONTRIB.defs,LIBTHEORA)) LIBTHEORA.FETCH.url = https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/libtheora-1.1.1.tar.bz2 LIBTHEORA.FETCH.url += https://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.bz2 LIBTHEORA.FETCH.sha256 = b6ae1ee2fa3d42ac489287d3ec34c5885730b1296f0801ae577a35193d3affbc LIBTHEORA.CONFIGURE.bootstrap = rm -fr aclocal.m4 autom4te.cache configure; autoreconf -I m4 -fiv; LIBTHEORA.CONFIGURE.extra = \ --disable-examples \ --disable-oggtest \ --disable-sdltest \ --disable-vorbistest \ --disable-spec \ --with-ogg=$(call fn.ABSOLUTE,$(CONTRIB.build/)) \ --with-vorbis=$(call fn.ABSOLUTE,$(CONTRIB.build/)) \ HAVE_PKG_CONFIG=no ifeq (1-msys,$(HOST.cross)-$(BUILD.system)) LIBTHEORA.CONFIGURE.args.build = --build=$(BUILD.machine)-unknown-linux-gnu endif ifeq (darwin,$(HOST.system)) ifneq ($(HOST.machine),$(BUILD.machine)) LIBTHEORA.CONFIGURE.args.host = --host=$(HOST.machine:arm64=aarch64)-$(HOST.vendor)-$(HOST.system) LIBTHEORA.CONFIGURE.args.build = --build=$(BUILD.machine:arm64=aarch64)-$(BUILD.vendor)-$(BUILD.system) endif endif