$(eval $(call import.MODULE.defs,LIBBLURAY,libbluray,PKGCONFIG LIBXML2 FREETYPE)) $(eval $(call import.CONTRIB.defs,LIBBLURAY)) LIBBLURAY.FETCH.url = https://download.handbrake.fr/handbrake/contrib/libbluray-1.0.1.tar.bz2 LIBBLURAY.FETCH.url += https://download.videolan.org/pub/videolan/libbluray/1.0.1/libbluray-1.0.1.tar.bz2 LIBBLURAY.FETCH.sha256 = 0f9f9a1db2f48cafc70ed2596ff3594b597e2027408f5f2be6191c245d67853a ifeq (none,$(LIBBLURAY.GCC.O)) LIBBLURAY.CONFIGURE.extra += --disable-optimizations endif LIBBLURAY.CONFIGURE.extra += --disable-doxygen-doc --disable-examples --disable-bdjava-jar --without-freetype --without-fontconfig ifeq (1,$(FEATURE.local_pkgconfig)) LIBBLURAY.CONFIGURE.env += PATH="$(call fn.ABSOLUTE,$(CONTRIB.build/)bin):$(PATH)" LIBBLURAY.BUILD.env += PATH="$(call fn.ABSOLUTE,$(CONTRIB.build/)bin):$(PATH)" endif ifeq (mingw,$(BUILD.system)) LIBBLURAY.GCC.D += MINGW_HAS_SECURE_API=1 endif ifeq (freebsd,$(BUILD.system)) LIBBLURAY.GCC.D += _XOPEN_SOURCE=700 endif