<commit_before># Supported extra options:
#
class SFML < StandardCMakeDep
  def initialize(args)
    super('SFML', 'SFML', args)

    self.HandleStandardCMakeOptions

    @RepoURL ||= 'https://github.com/SFML/SFML.git'
  end

  def depsList
    os = getLinuxOS

    if os == 'fedora' || os == 'centos' || os == 'rhel'
      return [
        'xcb-util-image-devel', 'systemd-devel', 'libjpeg-devel', 'libvorbis-devel',
        'flac-devel', 'openal-soft-devel', 'mesa-libGL-devel'
      ]
    end

    if os == 'ubuntu'
      return [
        'libxcb-image0-dev', 'libsystemd-dev', 'libjpeg9-dev', 'libvorbis-dev',
        'libflac-dev', 'libopenal-dev', 'libgl1-mesa-dev'
      ]
    end

    onError "#{@name} unknown packages for os: #{os}"
  end

  def installPrerequisites
    installDepsList depsList
  end

  def DoClone
    runSystemSafe('git', 'clone', @RepoURL) == 0<commit_msg>Added freetype dependency for sfml<commit_after># Supported extra options:
#
class SFML < StandardCMakeDep
  def initialize(args)
    super('SFML', 'SFML', args)

    self.HandleStandardCMakeOptions

    @RepoURL ||= 'https://github.com/SFML/SFML.git'
  end

  def depsList
    os = getLinuxOS

    if os == 'fedora' || os == 'centos' || os == 'rhel'
      return [
        'xcb-util-image-devel', 'systemd-devel', 'libjpeg-devel', 'libvorbis-devel',
        'flac-devel', 'openal-soft-devel', 'mesa-libGL-devel', 'freetype-devel'
      ]
    end

    if os == 'ubuntu'
      return [
        'libxcb-image0-dev', 'libsystemd-dev', 'libjpeg9-dev', 'libvorbis-dev',
        'libflac-dev', 'libopenal-dev', 'libgl1-mesa-dev', 'libfreetype-dev'
      ]
    end

    onError "#{@name} unknown packages for os: #{os}"
  end

  def installPrerequisites
    installDepsList depsList
  end

  def DoClone
    runSystemSafe('git', 'clone', @RepoURL) == 0
{'fraction_non_alphanumeric': 0.1539301310043668, 'fraction_numerical': 0.004366812227074236, 'mean_word_length': 2.908315565031983, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3356234', 'n_tokens_mistral': 706, 'n_tokens_neox': 670, 'n_words': 139}