def METHOD_NAME(self):
    self.requires("zlib/1.2.13")
    if self.options.with_png:
        self.requires("libpng/1.6.39")
        if is_msvc(self):
            self.requires("getopt-for-visual-studio/20200201")
    if self.options.with_jpeg:
        self.requires("libjpeg/9e")
    if self.options.with_tiff:
        self.requires("libtiff/4.4.0")
    if self.options.with_freetype:
        self.requires("freetype/2.12.1")