blob: 7ff1b6d58850eec3c4cc87c1fde746ed95612cf0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$(eval $(call import.MODULE.defs,ZIMG,zimg))
$(eval $(call import.CONTRIB.defs,ZIMG))
ZIMG.FETCH.url = https://github.com/HandBrake/HandBrake-contribs/releases/download/contribs/zimg-3.0.1.tar.gz
ZIMG.FETCH.url += https://github.com/sekrit-twc/zimg/archive/release-3.0.1.tar.gz
ZIMG.FETCH.sha256 = c50a0922f4adac4efad77427d13520ed89b8366eef0ef2fa379572951afcc73f
ZIMG.EXTRACT.tarbase = zimg-release-3.0.1
ZIMG.CONFIGURE.bootstrap = rm -fr aclocal.m4 autom4te.cache configure; autoreconf -fiv;
ZIMG.CONFIGURE.extra += --enable-static --disable-shared
ifeq (darwin,$(HOST.system))
ifneq ($(HOST.machine),$(BUILD.machine))
ZIMG.CONFIGURE.args.host = --host=$(HOST.machine:arm64=aarch64)-$(HOST.vendor)-$(HOST.system)
ZIMG.CONFIGURE.args.build = --build=$(BUILD.machine:arm64=aarch64)-$(BUILD.vendor)-$(BUILD.system)
endif
endif
|